Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: make exim with mysql
PostPosted: Sat Aug 27, 2005 1:17 am 
Offline
Senior Newbie

Joined: Wed Jun 15, 2005 5:54 am
Posts: 11
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.


Top
   
 Post subject:
PostPosted: Sat Aug 27, 2005 5:42 am 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
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.


Top
   
 Post subject:
PostPosted: Sat Aug 27, 2005 8:39 pm 
Offline
Senior Newbie

Joined: Wed Jun 15, 2005 5:54 am
Posts: 11
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group