Subject Re: [firebird-support] Problem connecting FB via ODBC in Ubuntu
Author Helen Borrie
At 08:02 PM 22/09/2005 -0500, you wrote:
>Hello,
>
>I installed the ODBC driver 1.2 in my Ubuntu 5.04 Hoary, but when I try
>to test a sample connection via ODBCConfig App I receive some errors and
>dont configure the DSN file.
>
>When I try to connect via OpenOffice Base show this error:
>
>SQL Status: 01000
>
>[unixODBC][Driver Manager]Can't open lib '/usr/lib/libOdbcJdbc.so' :
>libstdc++-libc6.2-2.so.3: The file not exist.
>
>I have FB SS 1.5.2.4731 and I connect via Flamerobin very well.

Flamerobin doesn't use ODBC.

But it looks as though your Linux is missing the c++ runtime that is
required to be loaded before the ODBC driver.


>My odbcinst.ini
>---------------------------------------------------------------------
>[Firebird]
>Description = Firebird/InterBase(r) driver
>Driver = /usr/lib/libOdbcJdbc.so
>Setup = /usr/lib/libOdbcJdbcS.so
>FileUsage = 1
>---------------------------------------------------------------------
>
>My odbc.ini
>---------------------------------------------------------------------
>[Fb_Enlace]
>Description = FB Conexion
>Driver = Firebird
>Server = localhost
>Database = /home/mario/Proyectos/Enlace/data/enlace.fdb
>Port = 3050
>Socket =
>Option =
>Stmt =
>---------------------------------------------------------------------

You might be able to get by with a symlink for this runtime....or you could
shortcut all this guesswork by posting your question on the
firebird-odbc-devel list. Then the developer can tell you which kernel he
built the library under and give you instructions to roll your own for Ubuntu.

./hb