Hi,

libdbi 0.8.1
libdbi-drivers 0.8.1a

I installed libdbi and the Postgres driver (seemingly) without a problem. However, when I try the following:

#include <stdio.h>
#include <dbi/dbi.h>

int main(){
  dbi_initialize(NULL);
  return 0;
}

I get "libdbi: Failed to load driver: /usr/local/lib/dbd/libpgsql.so". Yet, I clearly have it:

[EMAIL PROTECTED]:/usr/local/lib/dbd> pwd
/usr/local/lib/dbd
[EMAIL PROTECTED]:/usr/local/lib/dbd> ls -l
total 120
-rw-r--r--  1 root root 23794 2005-10-29 16:59 libdbdpgsql.a
-rwxr-xr-x  1 root root   831 2005-10-29 16:59 libdbdpgsql.la
-rwxr-xr-x  1 root root 30507 2005-10-29 16:59 libdbdpgsql.so
-rw-r--r--  1 root root 21374 2005-07-23 16:12 libpgsql.a
-rwxr-xr-x  1 root root   823 2005-07-23 16:12 libpgsql.la
-rwxr-xr-x  1 root root 29325 2005-07-23 16:12 libpgsql.so

Putting in an explicit path did not help.

Any ideas?  Thanks.

Dan

PS -   I'm also curious why this sent an error to STDERR.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to