[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: strange linker/autoconf stuff

From: Branko Čibej <branko.cibej_at_hermes.si>
Date: 2000-09-15 21:04:15 CEST

Ben Collins-Sussman wrote:
> Apparently /usr/local/lib isn't a default search path for my linker.
> (What the heck!?!??) Anyway, is there some way to *explicitly*
> include /usr/local/lib in the autoconf LIBS variable?
>
> Like so?
>
> LIBS="$LIBS -L/usr/local/libs"
>
> Or is LIBS meant for `-l' switches, not `-L' stuff?
>
> Autoconf experts, please advise!

Not really expert, but ... Yes, you can put -L switches in LIBS,
but don't. :-)

If your linker doesn't search /usr/local/lib, then I'd say you
should fix your linker configuration (maybe something's broken
in /etc/ld.so.conf?) instead of adding that path to LIBS.

Alternatively, you could add --with-berkeleydb-libs=<path> and
--with-berkeleydb-headers=<path> tests which would add the library
and include paths to LIBS and INCLUDES.

    Brane

-- 
Branko Čibej                 <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49     fax: (+386 1) 586 52 70
Received on Sat Oct 21 14:36:08 2006

This is an archived mail posted to the Subversion Dev mailing list.