On Fri, 15 Mar 2002, Gerald Richter wrote:

>> What about checking LD_LIBRARY_PATH, if it's not set, setting it to
>> '/lib:/usr/lib', and then in either case searching LD_LIBRARY_PATH for
>> it?  This is a bit more work, but also more general - it's no longer
>> Linux-specific, and it can be used for other things that may exist
>> elsewhere.  In fact, the code probably exists already somewhere.
>
> At least on my system the dynamic linker if configured via /etc/ld.so.conf
> and LD_LIBRARY_PATH contains only addtionaly directories, so the libraries
> wouldn't be found that way, but the basic idea make sense. MakeMaker somehow
> knows the library search path (and include search path) already, I guess we
> can utilize it, but I don't know how. Maybe somebody likes to explore the
> unlimited possibilities of MakeMaker for that purpose...

The point is for those systems that don't have the library in /usr/lib.
For example, some system could have it under /opt/SUNWxalan/lib or some
such.  We'd probably also want to do something with the include file,
because in my example above, it's likely in /opt/SUNWxalan/include.

Ed



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to