> Hello list, > > Tried to search the archives but did not managed to find a solution > to my problem. I'm using mod_neko with Apache and MySQL on Linux > (Fedora Core 4) without problems, but when I try to use my > command-line DB management tool implemented in neko, I get an error > message like: > > [EMAIL PROTECTED] serverbuild]$ neko dbtool.n > Called from neko/db/Mysql.hx line 29 > Uncaught exception - load.c(214) : Failed to load library : mysql.ndll > (/usr/lib/mysql.ndll: undefined symbol: ERR_get_error_line_data) > > The library is in place, and moreover, works perfectly from within > Apache... I tried google and found that some versions of > libmysqlclient_r.a library cause this kind of issue, but mysql.ndll > does not seem to use _r version, and works under apache, so this > looks like a mistery for me.
We have been using commandline mysql before, so this might come from your local build or installation. Since we are compiling with a .a , all symbols should be resolved, unless your .a references another .so which is not loaded by the process, but would be by apache. Looks like ERR_get_error_line_data comes from OpenSSL. I'm not sure if mysql should require SSL or not... Maybe try to rebuild your mysql.ndll with and additional -lopenssl or equivalent (?) Nicolas -- Neko : One VM to run them all (http://nekovm.org)
