Linode Forum
https://forum.linode.com/

make exim with mysql
https://forum.linode.com/viewtopic.php?f=11&t=1840
Page 1 of 1

Author:  franco81 [ Sat Aug 27, 2005 1:17 am ]
Post subject:  make exim with mysql

Hi, we are running the redhat large distribution, we are newbies to linux, we had exim running fine but wanted to set it up with mysql so could have a table for mailboxes etc.

we have changed the correct lines in the makefile (we believe):

LOOKUP_INCLUDE=-I /usr/bin/mysql
LOOKUP_LIBS=-L/usr/lib/mysql -lmysqlclient

SUPPORT_MAILDIR=yes
LOOKUP_MYSQL=yes
AUTH_CRAM_MD5=yes
AUTH_PLAINTEXT=yes

when we try to make though we get the error:

/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/root/exim-4.50/build-Linux-i386'
make: *** [go] Error 2


Any help would be greatly appreciated.

Author:  Xan [ Sat Aug 27, 2005 5:42 am ]
Post subject: 

You need the MySQL development libraries package.

I'm not a RedHat guy, and I don't know what version Linode is using, but you should be able to find it. libmysql-dev or some such.

Author:  franco81 [ Sat Aug 27, 2005 8:39 pm ]
Post subject: 

thanks very much for the help mate, I will look into that.

nobody happens to know where to get the development libraries for mysql from? They seem to be fairly hard to locate for us.

Thanks.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/