Now, im not getting the cannot find file errors, im getting this:
awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc -c -O -I/usr/kerberos/include version.c
rm -f exim
gcc -o exim acl.o child.o crypt16.o daemon.o dbfn.o debug.o deliver.o
directory.o dns.o drtables.o enq.o exim.o expand.o filter.o filtertest.o
globals.o header.o host.o ip.o log.o lss.o match.o moan.o os.o parse.o
queue.o rda.o readconf.o receive.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 tls.o tod.o
transport.o tree.o verify.o local_scan.o version.o \
pcre/libpcre.a \
routers/routers.a transports/transports.a lookups/lookups.a \
auths/auths.a \
-lresolv -lnsl -lcrypt \
-ldb -L /usr/lib/mysql -lmysqlclient -lssl -lcrypto
drtables.o(.data+0x128): undefined reference to `mysql_open'
drtables.o(.data+0x130): undefined reference to `mysql_find'
drtables.o(.data+0x138): undefined reference to `mysql_tidy'
drtables.o(.data+0x13c): undefined reference to `mysql_quote'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/root/exim-4.20/build-Linux-i386'
make: *** [go] Error 2
I have includes pointed at /usr/include/mysql and libs pointed at
/usr/lib/mysql as this appears to be where they are on redhat 9.
Simon
-----Original Message-----
From: Bruno Saverio Delbono [
mailto:bdelbono@leviathan.lucifer.at]
Sent: 10 June 2003 01:09
To: Simon Bell
Cc: 'Tabor J. Wells'; exim-users@???
Subject: Re: [Exim] compiling on mysql and rh9
Moin Simon!
Simon Bell schrieb am Dienstag, den 10. Juni 2003:
>OK. I have installed the mysql-devel rpm as suggested, and added
>-lmysqlclient to my lookup libs, but im still getting errors saying it
>cant find lmysqlclient and ive tried pointing it at a few different
>locations:
I overlooked the last part. Yes, it "also" still can't find the
mysqlclient lib as well.
> pcre/libpcre.a \
> routers/routers.a transports/transports.a lookups/lookups.a \
> auths/auths.a \
> -lresolv -lnsl -lcrypt \
> -ldb -L/usr/lib -lmysqlclient -lssl -lcrypto
>/usr/bin/ld: cannot find -lmysqlclient
>collect2: ld returned 1 exit status
>make[1]: *** [exim] Error 1
>make[1]: Leaving directory `/root/exim-4.20/build-Linux-i386'
--
Bruno Saverio Delbono <bdelbono at leviathan dot lucifer dot at> Systems
Engineer - Open-Systems Group Inc.
http://www.open-systems.org/~bruno/
GPG Fingerprint: 1AAC 0F81 54F6 C7AF 2EC4 8993 0594 88B3 E127 35C5