I am having a similar problem,

I have just got the latest CVS

I get:

[EMAIL PROTECTED]:/home/dbmail# ls -a /usr/local/mysql/lib/
.  ..  libdbug.a  libmygcc.a  libmysqlclient.a  libmysqlclient_r.a
libmystrings.a  libmysys.a 

[EMAIL PROTECTED]:/home/dbmail# make
cc      -Wall -O2 -D_BSD_SOURCE -D_SVID_SOURCE main.c -o dbmail-smtp
list.o debug.o pipe.o mime.o mysql/dbmysql.o dbmd5.o md5.o bounce.o
forward.o memblock.o mysql/dbauthmysql.o -L/usr/local/mysql/lib
-libmysqlclient -lcrypt
/usr/i386-slackware-linux/bin/ld: cannot find -libmysqlclient
collect2: ld returned 1 exit status
make: *** [smtp] Error 1


Makefile:

MYSQLLIBDIR=/usr/local/mysql/lib

LIBS = -L$(MYSQLLIBDIR)
LIB = -libmysqlclient -lcrypt


Any Ideas ?


James Cook




-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Morten Christensen
Sent: 21 July 2002 21:09
To: dbmail@dbmail.org
Subject: Re: [Dbmail] LibMySQL

----- Original Message ----- 
From: "raphael" Sunday, July 21, 2002 9:06 PM
Subject: Re: [Dbmail] LibMySQL



>> I use rc3 on a SuSE 8.0.
>>
>> Before make, I changed a line in Makefile
>>
>> MYSQLLIBDIR=/usr/local/lib/mysql ->
>>   MYSQLLIBDIR=/usr/lib/mysql ->

>MYSQLLIBDIR=/usr/lib/mysql
>
>LIBS = -L$(MYSQLLIBDIR)
>LIB = -libmysqlclient
>
>I make this, but the Message ist the same.
>
>I had installed the rpm from mysql is that the problem?
>The mysql.h came fom the source.

Not a suse-rpm?

Do you have libmysqlclient-files? And
in /usr/lib/mysql ?

IIRC they came in a mysql-client-rpm. 


mvh...
Morten Christensen


_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail


Reply via email to