[Gambas-user] Cannot find driver for database: postgresql

Karl Martindale karl at ...1303...
Thu Jan 5 03:16:59 CET 2006


Hi Guys,

I've compiled and installed gambas v1.9.23 on a Slackware Linux 10.0 box.  A 
project that runs on another machine fails with the error: Cannot find driver 
for database: postgresql

When I compiled gambas the postgresql driver was compiled and wasn't listed as 
'disabled' after ./configure

This install will successfully talk to a MySQL host running on the same machine.
The postgres driver appears to be in the lib directory:

root at ...56...:/usr/local/lib/gambas2# ls -l gb.db.*sql*
-rwxr-xr-x  1 root root   905 2006-01-05 01:29 gb.db.mysql.la*
lrwxrwxrwx  1 root root    20 2006-01-05 01:29 gb.db.mysql.so -> 
gb.db.mysql.so.0.0.0*
lrwxrwxrwx  1 root root    20 2006-01-05 01:29 gb.db.mysql.so.0 -> 
gb.db.mysql.so.0.0.0*
-rwxr-xr-x  1 root root 74376 2006-01-05 01:29 gb.db.mysql.so.0.0.0*
-rwxr-xr-x  1 root root   879 2006-01-05 01:29 gb.db.postgresql.la*
lrwxrwxrwx  1 root root    25 2006-01-05 01:29 gb.db.postgresql.so -> 
gb.db.postgresql.so.0.0.0*
lrwxrwxrwx  1 root root    25 2006-01-05 01:29 gb.db.postgresql.so.0 -> 
gb.db.postgresql.so.0.0.0*
-rwxr-xr-x  1 root root 73938 2006-01-05 01:29 gb.db.postgresql.so.0.0.0*

I have logged on to that database using the same credentials as in the project 
using the CLI program psql.

Does anyone have a suggestion as to what I'm doing wrong?

Thanks in advance,
Karl.




More information about the User mailing list