[JDEV] Problem working with modules under jserver

Thomas Charron tcharron at ductape.net
Thu Dec 9 14:06:01 CST 1999


  I've been hasing out a mod_mysql module based on some test code I've made to 
ensure that the connectivity code works corrently, but when I moved the code 
over into a mod_mysql module, it compiles cleanly, but ends up with:

Thu Dec  9 15:56:52 1999  warn/jserver starting transport
jserver: error in loading shared libraries: /usr/local/lib/jabber/mod_mysql.so: 
undefined symbol: mysql_init  

  On compile, it's using -L/usr/lib/mysql -lmysqlclient, so it is linking 
against the libs, and compiles very cleanly.  I'm confused..

  Does anyone think this may be a direct result of using dlload?  What's 
strange is I also tried adding the -lmysqlclient flags to jserver itself, and 
it compiled cleanly, but same errors occur.

  Ideas?

--- 
Thomas Charron
<< Wanted: One decent sig >>
<< Preferably litle used  >>
<< and stored in garage.  ?>>




More information about the JDev mailing list