Re: -rpath with libtool and Debian Linux
Ian Lance Taylor wrote:
> This argument sounds like a quibble to me. My home directory hasn't
> moved since I installed this system eight years ago. If you really
> can't stomach the home directory here, then instead consider
> /usr/local/lib, or /opt, or any place which a sysadmin might set up
> for the permanent installation of user controlled binaries.
>
> Not only that, but I just make a $HOME/lib directory, set that in
> LD_LIBRARY_PATH, and I'm set. That's not so hard.
>
> It's a fair bit harder when you consider my final point about many
> people expecting to run the resulting program.
But if the library is in /usr/local or /opt, then the sysadmin is setting
this up and they merely have to add the directory to /etc/ld.so.conf and run
ldconfig.
> I disagree. There are uses for -rpath beyond using it for system
> libraries. These uses are just as valid on Linux as they are on any
> other system.
No-one's arguing there arn't uses, it's simply not a good default.
--
see shy jo
Reply to: