[Exim] Build errors

Top Page
Delete this message
Reply to this message
Author: Bryan McWhirt
Date:  
To: exim-users
Subject: [Exim] Build errors
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:

mysql --version result:
mysql Ver 10.12 Distrib 3.23.27-beta, for pc-linux-gnu (i586)


The various mysql files and directories:

/usr/local/bin/msql2mysql
/usr/local/bin/mysql
/usr/local/bin/mysqlaccess
/usr/local/bin/mysqladmin
/usr/local/bin/mysqlbinlog
/usr/local/bin/mysqlbug
/usr/local/bin/mysqldump
/usr/local/bin/mysqlhotcopy
/usr/local/bin/mysqlimport
/usr/local/bin/mysqlshow
/usr/local/bin/mysqltest
/usr/local/bin/mysql_config
/usr/local/bin/mysql_convert_table_format
/usr/local/bin/mysql_find_rows
/usr/local/bin/mysql_fix_privilege_tables
/usr/local/bin/mysql_install_db
/usr/local/bin/mysql_setpermission
/usr/local/bin/mysql_zap
/usr/local/bin/safe_mysqld
/usr/local/include/mysql

/usr/local/info/mysql.info
/usr/local/lib/mysql

/usr/local/libexec/mysqld
/usr/local/man/man1/mysql.1
/usr/local/share/mysql
/usr/local/var/mysql

The actual error:

gcc -o exim  accept.o child.o daemon.o dbfn.o debug.o deliver.o direct.o
directo
ry.o dns.o drtables.o exim.o expand.o filter.o globals.o header.o host.o
log.o m
atch.o moan.o os.o parse.o queue.o readconf.o retry.o rewrite.o route.o
search.o
 smtp_in.o smtp_out.o spool_in.o spool_out.o store.o string.o tod.o
transport.o
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


Here is the result of locate mysqlclient:

/usr/local/lib/mysql/libmysqlclient.a
/usr/local/lib/mysql/libmysqlclient.la
/usr/local/lib/mysql/libmysqlclient.so
/usr/local/lib/mysql/libmysqlclient.so.10
/usr/local/lib/mysql/libmysqlclient.so.10.0.0

So basicaly I have something configured incorectly can someone please tell
me what Ive done wrong? If you need any more information pleas ask Id
like to get mysql support compiled in for building a PHP web based user
and host managment system.


Bryan McWhirt
iceberg@???