[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LD_LIBRARY_PATH for make test

Michael Ströder writes:
> Hallvard B Furuseth wrote:
> > Quanah Gibson-Mount writes:
> >> I have never encountered this 
> >> issue, even though all of those 16 boxes have the ldap libraries installed 
> >> in /usr/lib.  My files end up being linked correctly.
> > 
> > s/even though/because/.  At least if this is the problem which bit me:
> > ./configure LDFLAGS="<-L and -Wl,-rpath,><directory with OpenLDAP libs>"
>                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> What's the reason for doing this?

The directory also has other libs I need.  '-Wl,-rpath,' sets which
directories to use at run time, similar to -R on some other systems.