All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-java] rpath problem for llvm libs?
@ 2011-12-02  9:46 Koen Kooi
  2011-12-03 15:42 ` Tom Rini
  0 siblings, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2011-12-02  9:46 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I installed openjdk + openjdk-shark on my target and I get:

root@beaglebone:~# java
dl failure on line 696Error: failed
/usr/lib/jvm/java-6-openjdk/jre/lib/arm/shark/libjvm.so, because
libLLVMARMCodeGen.so: cannot open shared object file: No such file or directory

The 'fix' I used:

root@beaglebone:~# for i in /usr/lib/llvm2.9/libLLVM*.so ; do ln -sf $i
/usr/lib ; done

root@beaglebone:~# java
Usage: java [-options] class [args...]
           (to execute a class)

I came up with a number of workarounds, but I'm not sure which is best:

1) do the for ; ln thing in a postinst
2) have llvm install into ${libdir} instead of ${libdir}${LLVM_RELEASE}
3) Use u-a for the libs
4) add rpaths
5) convince people java is evil and have them switch to C

I have a preference for 5), but I suspect Henning would like a different
solution :)

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk7YnmQACgkQMkyGM64RGpHTCwCdGfG86k7u/9QRKqN8KQIT6D1F
Vq8An0Q/rjJ4C/oDX1OA/xzm8cop7/rq
=bnBj
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-05 12:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02  9:46 [meta-java] rpath problem for llvm libs? Koen Kooi
2011-12-03 15:42 ` Tom Rini
2011-12-03 16:15   ` Koen Kooi
2011-12-03 16:34     ` Henning Heinold
2011-12-03 18:53       ` Koen Kooi
2011-12-04 11:14         ` Henning Heinold
2011-12-05 12:29           ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.