Linux newbie, perhaps a simple question but I haven't been
able to find an answer on dejanews or in the faqs.
I have a bunch of code shared by several related applications.
I built a shared library, and placed in the same directory as
the applications. When I try to run an application, I get an
message that the library can't be found. Is there some way to
get the applications to use the library without having to use
dlopen and dlsym on all the symbols (there's a lot of them)?
In Win32, this is analogous to placing a .DLL file in the same
directory as the executable, when the executable runs, it
first looks in the local directory for the library, before
checking the path. Since this library is only used by my own
applications, and really has no use to anyone else, I'd don't
want to put it in a shared space like /usr/local/lib or the
like. I see that Quake3 does this, are they dynamically loading
the library? Seems like a PITA. Alright, enough rambling.
Jason
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.