Re: Developing against $HOME/lib libraries and LD_LIBRARY_PATH

2017-12-01 Thread Paul "LeoNerd" Evans
On Fri, 1 Dec 2017 17:11:23 -0500 Nick Bowler wrote: > If library A is a libtool library then libtool should do the right > thing automatically. All you should need to do is add the libtool > library to your link command. > > If library A is not a libtool library then libtool won't necessarily

Re: Developing against $HOME/lib libraries and LD_LIBRARY_PATH

2017-12-01 Thread Nick Bowler
On 12/1/17, Paul "LeoNerd" Evans wrote: > On Thu, 30 Nov 2017 15:38:20 +0100 > Thomas Jahns wrote: > >> The -rpath argument is for libtool (to tell it where the library will >> be installed). To tell libtool (or ld) where to search for libraries >> at run-time (if no .la files are installed) one

Re: Developing against $HOME/lib libraries and LD_LIBRARY_PATH

2017-12-01 Thread Paul "LeoNerd" Evans
On Thu, 30 Nov 2017 15:38:20 +0100 Thomas Jahns wrote: > The -rpath argument is for libtool (to tell it where the library will > be installed). To tell libtool (or ld) where to search for libraries > at run-time (if no .la files are installed) one needs to add -R or > -Wl,-rpath options. So, sho