[Sablevm-user] Re: SableVM/SablePath
Brought to you by:
egagnon
From: Etienne M. G. <eg...@j-...> - 2000-06-18 20:07:07
|
Hi Mark, Here's a better solution to the library detection problem, which is not dependent on setting environment variables. It is apparently the correct Linux/*nix way of installing libraries. Mark Wielaard wrote: > When compiling sablevm it couldn't find ffi.h which is located in > /usr/local/include so I added a -I/usr/local/include to the libsablevm > Makefile. ... The correct way to solve this problem is to let your machine know that you have libraries in /usr/local/lib. You do so using the "ldconfig" program. Here's how: 1- you login as root. 2- you add the line: /usr/local/lib at the top of /etc/ld.conf 3- you run the command: ldconfig 4- you logout;-) and you are done! You won't need to repeat this when you install new libraries in /usr/local/lib. Have fun! Etienne -- ---------------------------------------------------------------------- Etienne M. Gagnon, M.Sc. e-mail: eg...@j-... Author of SableVM: http://www.sablevm.org/ ---------------------------------------------------------------------- |