Subject Re: [firebird-python] embedded firebird from fdb
Author Philippe Makowski
Le 06/05/14 15:15, Hamish Moffatt a écrit :
> Ah, ok. So I modified fdb to try libfbembed first, as in
>
> fb_library_name = find_library('fbembed') or find_library('fbclient')
>
> in ibase.py. Now when I connect, I get
>
just remove from your system fbclient library

> fdb.fbcore.DatabaseError: ("Error while connecting to database:\n-
> SQLCODE: -901\n- Can't access lock files' directory /tmp/firebird",
> -901, 335544382)
>
> While not successful, that's at least the same as what I get when I try
> to use isql to connect directly to a db too,
>
> $ isql-fb /tmp/hamish.fdb
> Statement failed, SQLSTATE = HY000
> Can't access lock files' directory /tmp/firebird
> Use CONNECT or CREATE DATABASE to specify a database
> SQL>
>
>
just a matter of OS rights, and because first you had Firebird server
working, and lock files belongs to firebird user

> So, progress. Will you consider supporting a change in fdb to support
> Debian's packaging?
I see no advantage to change
just don't install fbclient, that all