I'm guessing you would need to link the mysql (client) library during linking time (and dependencies)

Posted by jpeters on Sep. 27 2007,15:29

Quote (^thehatsrule^ @ Sep. 26 2007,23:21)

I'm guessing you would need to link the mysql (client) library during linking time (and dependencies)

Would:

ln -s /opt/lampp/lib/mysql/*.so /usr/lib sudo ldconfig

do that, or something else?

Posted by ^thehatsrule^ on Sep. 27 2007,16:09

No, those are run time static libs. You'd want to link dev libs i.e. with -l

Posted by steph291 on Sep. 27 2007,23:42

Thanks Guys !

I'm guessing that I should include "somewhere" the lib(like in visual studio with mssql or oracle api under windows)for gcc calls... but I don't know how and yes, maybe do a make and link the thing ...

But under unix/linux in console mode, it's a little bit tricky ...I'm able to build simple CGI in C but I would love to be able to do the trick with mysql under dsllinux.

I'm looking into this for several weeks and my project is WIP.thanks for any replies