| I'm new to EXIM and Im trying to build it with mysql support but Im
| getting some errors so Ill try to include as much information as possible:
|
| [snip]
|
| tree.o verify.o version.o \
| libident/libident.a pcre/libpcre.a directors/directors.a \
| routers/routers.a transports/transports.a lookups/lookups.a \
| auths/auths.a \
| -lnsl -lcrypt \
| -ldb -lresolv -L/usr/local/lib/mysql -lmysqlclient -lpq
| /usr/i386-slackware-linux/bin/ld: cannot open -lpq: No such file or
| directory
| collect2: ld returned 1 exit status
| make[1]: *** [exim] Error 1
| make[1]: Leaving directory
| `/home/iceberg/linux-mail/exim-3.16/build-Linux-i386'
| make: *** [go] Error 2
|
|
| The info from the ./Local/Makefile
|
| LOOKUP_MYSQL=yes
|
| LOOKUP_INCLUDE=-I /usr/local/include/mysql -I /usr/local/lib/mysql
| LOOKUP_LIBS=-L/usr/local/lib/mysql -lmysqlclient -lpq
|
|
I seem to remember that when I compiled in mysql support, I just removed the
"-lpq" argument, and everything seemed to work. I'm not sure what it does,
exactly, but that fixed things for me.
--Trevor
Trevor Sky Garside
trevor@???