PDA

View Full Version : Make: /usr/bin/ld: cannot find -lmysqlclient


woger
03-10-2005, 11:14
Hi there,

I try to install 1.1.alpha12 and ./configure runs fine. But when I run make it quits with the error:
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status

Doe anyone know how to solve this?

Thanks,

Woger

James Wells
03-10-2005, 16:31
Greetings,

Right off the bat, I am guessing that this is a RedHat machine. If so, you need to install the mysql-devel package, and if it is already installed, then you may need to manually create a soft link to the shared library file. Don't recall which thread it was in, but do a search of the threads and there is one that states which file needs to be linked and where.

woger
03-10-2005, 16:58
OK,

I'll try and let you know

woger
03-10-2005, 17:25
Hmm,
mysql-devel is installed and I can't find the symlink I have to use. Can you remember what it was? I am indeed using Fedora C4.