Re: edbi on 64 bit machines?
- Posted by mattlewis (admin) May 04, 2012
- 3613 views
egis said...
When running my test program with edbi I get:
eui test.ex /usr/share/euphoria/include/std/error.e:50 in procedure crash() Could not open driver as: /usr/share/euphoria/edbi/drivers/mysql/edbi_mysql.so /usr/share/euphoria/edbi/drivers/edbi_mysql.so edbi_mysql.so ... called from /usr/share/euphoria/include/std/../../edbi/edbi/edbi.e:336 in function open() ... called from /var/www/cgi/./db.e:7 in function open_db() ... called from /var/www/cgi/./svg.e:29 --> See ex.err
Try putting edbi_mysql.so in one of those places where it's trying to look:
/usr/share/euphoria/edbi/drivers/mysql/edbi_mysql.so /usr/share/euphoria/edbi/drivers/edbi_mysql.so
I don't think that ldconfig even considers anything that doesn't start with "lib," at least not normally. I can only get "normal" behavior if I rename edbi_mysql.so to libedbi_mysql.so (but edbi doesn't look for that). If I use a hard coded path (which appears to be what edbi does) then I can use open_dll() to successfully link to the library.
Matt