11 messages in com.mysql.lists.plusplusRe: making it work w/ apache
FromSent OnAttachments
danny17 Jul 2002 20:28 
Sri17 Jul 2002 20:58 
vinc...@accenture.com18 Jul 2002 03:42 
danny18 Jul 2002 15:37 
Phil Gengler18 Jul 2002 17:03 
Michael Ott18 Jul 2002 21:51 
danny18 Jul 2002 22:04 
Michael Ott19 Jul 2002 09:08 
danny19 Jul 2002 09:56 
danny19 Jul 2002 12:38 
Michael Ott20 Jul 2002 05:05 
Subject:Re: making it work w/ apache
From:danny (dan@3rdplanetsoftware.com)
Date:07/19/2002 12:38:53 PM
List:com.mysql.lists.plusplus

Hey Bryan,

I tried what u said and it looked like it was going to work. The cc compile to
an extra long time. But the gcc link errors out like this:

/usr/bin/ld : cannot open -lmysqlclient: no such file or directory

Do u c what's wrong?

Thanks Danny

"Bryan W. Headley" wrote:

danny wrote:

Hey Now,

Well I'm getting closer. Even when I run the program myself by hand instead of
going through apache I get this error message:

Error in loading shared libraries: libmysqlclient: cannot open shared object
file: No such file or directory.

Anyone know how to fix this?

Add the path, /usr/local/mysql/lib/mysql (isn't that where you said Slackware installed mysql's libraries?) to /etc/ld.so.conf, and then run ldconfig -v (all as root)