Re: Portably setting library search paths by passing -R or -rpath

2009-03-05 Thread Frank Lahm
2009/3/5 Ralf Wildenhues : >> I have two stages where I must be able to compile, link and run code >> using the lib: >> A. conftest code at configure time >> B. the build product at runtime (of course) >> >> B is working by means of autoconf/libtool. > > Correct. > >> A is giving me problems becaus

Re: Portably setting library search paths by passing -R or -rpath

2009-03-05 Thread Ralf Wildenhues
Hello Frank, * Frank Lahm wrote on Thu, Mar 05, 2009 at 07:39:54PM CET: > 2009/3/5 Frank Lahm : > > In order to properly test and use the library at , we must pass > > -R or -Wl,-rpath= with LDFLAGS/CFLAGS on some (maybe > > all?) platforms. Neither of which is very portable, exactly. > I have

Re: Portably setting library search paths by passing -R or -rpath

2009-03-05 Thread Frank Lahm
2009/3/5 Frank Lahm : > Hello all, > > in our package (netatalk) we consume Berkeley-DB. > We have a configure option --with-bdb that can take a > > In order to properly test and use the library at , we must pass > -R or -Wl,-rpath= with LDFLAGS/CFLAGS on some (maybe > all?) platforms. Well, a l

Portably setting library search paths by passing -R or -rpath

2009-03-05 Thread Frank Lahm
Hello all, in our package (netatalk) we consume Berkeley-DB. We have a configure option --with-bdb that can take a In order to properly test and use the library at , we must pass -R or -Wl,-rpath= with LDFLAGS/CFLAGS on some (maybe all?) platforms. As the correct way to give that option that m