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

AUTHCRAMMD5=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.

2 Replies

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.

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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct