From: Alan W. I. <ir...@be...> - 2001-11-12 20:05:02
|
On Mon, 12 Nov 2001, Geoffrey Furnish wrote: > The jvm has already been linked by the time we get it, there isn't > much we can do about it. When you dlopen something in the jvm, it's > gonna look wherever it looks. You can influence this by > LD_LIBARY_PATH, or by editng ld.so.conf or whatever. That's to /find/ > libplplot.so. Yes, that is the crux of the issue. I am interested in non-LD_LIBRARY_PATH options (if they exist) for solving this problem under java. > > ....In other words, I think you are expressing a beef with the JVM, not > with plplot. If I've misunderstood, please clarify. I agree there is nothing we can do with libplplot. What I am asking is whether there is a mechanism *under java* (some additional command in PLStream.java or some javac option) which allows java to find libplplot (or any other C extension library) when it is installed in a non-standard place. I would be surprised and disappointed if java relied solely on LD_LIBRARY_PATH to solve this problem. Alan |