Re: [Exim] Postgresql and Virtual Email

Top Page
Delete this message
Reply to this message
Author: Kirill Miazine
Date:  
To: Brian C. Doyle
CC: exim
Subject: Re: [Exim] Postgresql and Virtual Email
* "Brian C. Doyle" <bcdoyle@???> [20020328 10:51]:
> Okay, So I found that I had not even built EXIM with PGSQL Support
> I edit the Local/Makefile as:
>
> LOOKUP_PGSQL=yes
>
> # Additional libraries and include directories may be required for some
> # lookup styles, e.g. LDAP, MYSQL or PGSQL. LOOKUP_LIBS is included only on
> # the command for linking Exim itself, not on any auxiliary programs. You
> # don't need to set LOOKUP_INCLUDE if the relevant directories are already
> # specified in INCLUDE.
> # LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I
> /usr/local/pgsql/include
> # LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq
> LOOKUP_INCLUDE=-I /usr/local/pgsql/include
> #LOOKUP_LIBS=-L/usr/local/lib -lpq
> LOOKUP_LIBS=-L/usr/local/pgsql/lib
>
> When I run make i get


...

> What is it that I am missing????


-lpq in LOOKUP_LIBS:

LOOKUP_LIBS=-L/usr/local/pgsql/lib -lpq

--
Kirill