Thanks, I used your workaround and it worked. I had the path to
/usr/lib/mysql where the libmysqlclient is already in /etc/ld.so.conf




-=-=-=-=-=-=-=-=-=-=-=-
Greg Smythe
Network Support Specialist
Ayres, Lewis, Norris & May

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jesse Norell
Sent: Monday, July 07, 2003 2:08 PM
To: dbmail@dbmail.org
Subject: RE: [Dbmail] Can't run configure -- mysql error



Hello,

  Where is your libmysqlclient?  Try "rpm -ql mysql-devel" or
"find / -name libmysqlclient\* -print".  Is that directory in
your linker's search path?  Eg. check /etc/ld.so.conf on linux
machines and make sure it's listed in there, then run "ldconfig".

  There is a problem on *BSD where it doesn't find this library,
even though the linker supposedly knows where it is, and perhaps
that's your problem (though I don't think it's been an issue on
linux, offhand).  In that case, as a workaround, try:

LDFLAGS=-L/dir/containing/libmysqlclient/ ./configure --with-mysql

Jesse

---- Original Message ----
From: Greg Smythe <dbmail@dbmail.org>
To: <dbmail@dbmail.org>
Subject: [Dbmail] Can't run configure -- mysql error
Sent: Mon, 7 Jul 2003 13:53:27 -0400

> Hello --
> 
> I looked through the archives and didn't find a solution to this. I'm
> trying to compile 1.1. I have the mysql development package installed,
> and I have an earlier version of DBMail running...
> 
> [EMAIL PROTECTED] dbmail-1.1]$ ./configure --with-mysql
> loading cache ./config.cache
> 
> This is dbmail's GNU configure script.
> It's going to run a bunch of strange tests to hopefully
> make your compile work without much twiddling.
> 
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking whether to enable maintainer-specific portions of
Makefiles...
> no
> checking for ranlib... ranlib
> checking for mysql.h... /usr/include/mysql/mysql.h
> checking for mysql_real_connect in -lmysqlclient... no
> configure: error:
>   Unable to link against mysqlclient.  It appears you are missing the
>   development libraries or they aren't in your linker's path
> 
> [EMAIL PROTECTED] dbmail-1.1]$ rpm -qa |grep mysql
> mysqlclient9-3.23.22-8
> mysql-3.23.56-1.72
> mysql-devel-3.23.56-1.72
> php-mysql-4.1.2-7.2.6
> mysql-server-3.23.56-1.72
> [EMAIL PROTECTED] dbmail-1.1]$
> 
> Thanks,
> -=-=-=-=-=-=-=-=-=-=-=-
> Greg Smythe
> Network Support Specialist
> Ayres, Lewis, Norris & May
> 
>  
> 
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 
-- End Original Message --


--
Jesse Norell
jesse (at) kci.net


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

Reply via email to