Re: SableVM on Familiar - Installation Issues

Stephen Compall <[email protected]> Mon, 25 Jul 2005 22:25:20 -0500
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
On Mon, 2005-07-25 at 12:54 -0700, Vinod wrote:
> How do i configure my classpath,bootclasspath e.t.c
> e.t.c?

SableVM knows where to find classpath.  Use javac-sablevm instead of
jikes for compilation, which also sets the classpath appropriately.

If you have some jars you want to add to the classpath, put them in the
CLASSPATH environment variable, colon-separated.

> All i have done so far is include these directories on
> my PATH. 
> but..
> #sablevm
> sablevm: error while loading shared libraries:
> libltdl.so.3: cannot open shared
> object file: No such file or directory
> 
> #jikes
> jikes: error while loading shared libraries:
> libstdc++.so.6: cannot open shared
> object file: No such file or directory

PATH is only used for finding programs to execute, not loading shared
libraries.

> Do i need to do somethign with LD_LIBRARY_PATH?I am
> not even sure how to use it.

You've got it.  Ideally, assuming /media/card is always available to the
system, you could edit /etc/ld.so.conf, adding a new line with
just /media/card/usr/lib on it, then run ldconfig as root.
Alternatively, LD_LIBRARY_PATH is a colon-separated list of directories,
so you could put

export LD_LIBRARY_PATH=/media/card/usr/lib

in, say, ~/.bashrc if you use bash.

-- 
Stephen Compall

_______________________________________________
SableVM-user mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-user
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBC5a0fYWjD35Pp0wIRAgqvAJ9TOVswKXLuwPEn5c5ezOisPnJgLQCdH/qw
ABd5uV8EgyV7pZAKi/zbSQo=
=av2S
-----END PGP SIGNATURE-----