Subject Re: [firebird-python] cannot connect to an embedded firebird database using Python (.NET client works)
Author Philippe Makowski
2012/10/11 btapkan <baskint@...>
>
> firebirdsql (relatively new, but does not seem to have support for
> embedded) (http://pypi.python.org/pypi/firebirdsql)
of course not, since firebirdsql is using network protocol

> kinterbasdb (last update was in 2010, seemed to install) (
>
> fdb (could not install either on Windows or
> MacOS).(http://pypi.python.org/pypi/fdb)
because it could not find your firebird client lib
cf http://docs.python.org/library/ctypes.html?highlight=find_library#ctypes.util.find_library

from ibase.py
if sys.platform == 'darwin':
fb_library_name = find_library('Firebird')
else:
fb_library_name = find_library('fbclient')
if sys.platform in ['win32', 'cygwin', 'os2', 'os2emx']:
fb_library = WinDLL(fb_library_name)
else:
fb_library = CDLL(fb_library_name)