In some email I received from "Jesse Norell" <[EMAIL PROTECTED]> on Fri,  9 May 
2003 09:12:05
-0600 (MDT), wrote:

> 
> Hello Lou,
> 
> > Okay then the easiest thing will be
> > LDFLAGS="-L/usr/local/lib/mysql ${LDFLAGS}" ./configure
> > --with-mysql=/usr/local/include/mysql'
> 
>   Would you have any idea offhand why ldconfig -r would list
> libmysqlclient, but ld doesn't link it in by default?  Perhaps
> there's a flag/env var that tells ld to forget everything it
> knows from ld.so.hints and that's (erroneously?) being set?

Normally LD will look in a standard dir like /usr/lib (which i think is the 
default one)
ld -V will tell you more about that, however ldconfig doesn't cache all the 
libraries like
in Linux, it does  only the pathnames (AFAIK), there was something specific
and i have the strange feeling it has to do something with the Linux compat 
libraries
in FreeBSD.

in any way the best thing will be to tell the linker what to do -Wl,-L/new/lib.
but AFAIK dbmail configure script doesn't check if -lmysqlclient actually works?

i can hack a quick configure patch for that?

cheers

Reply via email to