Re: executing the binaries
"Grzegorz B. Prokopski" <[email protected]> Tue, 05 Apr 2005 14:37:16 -0400
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Organization | SableVM - LGPL'ed Free Java VM http://sablevm.org |
| Message-ID | <[email protected]> |
On Mon, 2005-04-04 at 16:50 +0000, mourad el badaoui wrote: > hi > well, i've just compiled sablevm under Red Hat 9 without any problemes > but when i tried to execute the binaries i got the following error: > #################################################### > sablevm error while loading shared libraries : libffi.so.4: connot > open shared object file: No such file or directory > #################################################### > i coud not understood what's the matter so i am waiting for your > suggestions and thx This sounds strange, indeed. In particular if there was no libffi.so, then the compilation should not succeed. Did you compile libffi yourself from libffi-sable*.tar.gz ? If so, then you need to set LD_LIBRARY_PATH variable to point to the directory with *so* files from libffi, see http://sablevm.org/wiki/LibFFI Alternatively you could: a) install libffi-sable with --prefix=/usr/local and it usually is picked up automatically. If not, you can add /usr/local/lib directory to /etc/ld.so.conf). b) add directory with libffi*so* to /etc/ld.so.conf Remember to run 'ldconfig' as root if you modify /etc/ld.so.conf. If you did not compile libffi-sable yourself, show us the output of ls -l /usr/lib/libffi* Cheers, Grzegorz B. Prokopski -- Grzegorz B. Prokopski <[email protected]> SableVM - Free, LGPL'ed Java VM http://sablevm.org Why SableVM ?!? http://sablevm.org/wiki/Features Debian GNU/Linux - the Free OS http://www.debian.org