Re: [Exim] Compiling Exim 4.10 on Debian Woody

Pàgina inicial
Delete this message
Reply to this message
Autor: Luke Pascoe
Data:  
A: exim-users
Assumpte: Re: [Exim] Compiling Exim 4.10 on Debian Woody
> luke.p@??? (Luke Pascoe) writes:
> > I can compile OK with the default options, but I'd like to compile in
> > postgres query support.
> >
> > I'm setting the following in Local/Makefile:
> >     LOOKUP_PGSQL=yes
> >     LOOKUP_LIBS=-L/usr/local/lib -lpq

>
> > 09:57 python2.1 ie. there's no mention of postrgres in there.
> >
> > I've installed all the postgres related dev packages I can find with
> > no luck.
> > Any idea what I'm missing?
>
> That possibly your postgres libs are in another part of your system
> altogether (say /usr/lib)?


Hrmmm. There is a libpq.so file in /usr/lib but:
    LOOKUP_LIBS=-L/usr/lib -lpq
Made no difference.


postgresql-dev sticks all its stuff in /usr/include/postgresql/ but none of
these work:
    LOOKUP_LIBS=-L/usr/lib/postgresql -lpq
    LOOKUP_LIBS=-L/usr/include -lpq
    LOOKUP_LIBS=-L/usr/include/postgresql -lpq
    LOOKUP_LIBS=-L/usr/include/postgresql/server  -lpq
The last is where a lot of .h files seem to be.


> Also that if that directory is a normal lib directory, and listed in
> ld.so.conf, you don't need to specify -L/path/to/lib at all?


The only thing in ld.so.conf is
    /usr/X11R6/lib


Luke.