plugin problem with shared libraries on linux [message #166958] |
Sun, 07 December 2003 16:05 |
Eclipse User |
|
|
|
Originally posted by: berman.namreb.com
I have a plugin with multiple shared libraries. I have placed them in
os/linux each is found by loadLibrary; however, there are
dependencies among the library and when the OS loads a library, it
looks for dependent libraries relative to the LD_LIBRARY_PATH.
This causes a problem since I don't know what a user's LD_LIBRARY_PATH
will be. In this case, since I own the libraries, I could build
a single library and avoid this problem, or I could require that the
user of my plugin add the libraries to their LD_LIBRARY_PATH.
I'm sure there are other solutions as well and I'd be very interested in
to know what others have done (and why).
On windows this doesn't seem to be a problem since, I believe, if a.dll
requires b.dll and a.dll is found in directory X, windows
will always looks for b.dll as well.
Thanks for your help.
--Len
|
|
|
Powered by
FUDForum. Page generated in 0.03164 seconds