[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shared libraries

Justin Pryzby <justinpryzby@users.sourceforge.net> schrieb:

> How can I modify the path to the libraries?  During compilation, the
> build system has to see $buildpath/iraf/lib/libfoo.so.0, but once
> installed, the executables must see
> /usr/lib/iraf/iraf/lib/libfoo.so.0.  There are a bunch of executables,
> so I don't want to have to use a script to set LD_LIBRARY_PATH or
> such.

But couldn't you set this path just for the build process? You wouldn't
even need wrapper scripts, just change the calls in the Makefile.

Regards, Frank

P.S. I'm sure there are other packages that do similar things, but I
don't know which.
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

Reply to: