Re: [Exim] Compiling Exim 4.10 on Debian Woody

Top Page
Delete this message
Reply to this message
Author: Suresh Ramasubramanian
Date:  
To: Luke Pascoe, exim-users
Subject: Re: [Exim] Compiling Exim 4.10 on Debian Woody
luke.p@??? (Luke Pascoe) writes:
> Hrmmm. There is a libpq.so file in /usr/lib but:
>     LOOKUP_LIBS=-L/usr/lib -lpq
> Made no difference.



Get rid of the -L flag and just put in LOOKUP_LIBS=-lpq

Quoting from man 8 ldconfig -

       ldconfig creates the necessary links and cache (for use by
       the run-time linker, ld.so)  to  the  most  recent  shared
       libraries  found  in the directories specified on the com­
       mand line, in the file /etc/ld.so.conf, and in the trusted
       directories  (/usr/lib  and  /lib).   ldconfig  checks the
       header and file names of the libraries it encounters  when
       determining   which   versions  should  have  their  links
       updated.  ldconfig ignores symbolic  links  when  scanning
       for libraries.