Re: edbi on 64 bit machines?

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu