Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » plugin problem with shared libraries on linux
plugin problem with shared libraries on linux [message #166958] Sun, 07 December 2003 16:05
Eclipse UserFriend
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
Previous Topic:Tabulator View like JBuilder
Next Topic:Possible UI Bug?
Goto Forum:
  


Current Time: Sat May 31 01:29:43 EDT 2025

Powered by FUDForum. Page generated in 0.03164 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top