Embedded Connection on Linux

52 views
Skip to first unread message

Lucas Daquina

unread,
Apr 13, 2022, 11:32:08 AM4/13/22
to firebird-net-provider
I sucessfully created a embedded connection using windows and etc. Work nicelly. 

But now I'm trying to create the same idea of embedded connection in a Linux environment. So I changed the dll used on Windows for the ones on the Linux download option:
- libfbembed.so.2.5.9.debug
- libfbclient.so.2.5.9.debug
- libib_util.so.debug
- libicudata.so.30.0.debug
- libicui18n.so.30.0.debug
- libicuuc.so.30.0.debug

In the connection string I'm using the same idea I used on Windows, just changing the  client library=libfbembed.so.2.5.9.debug

And then, when I try to open the connection, the error is:
Unable to load shared library 'libfbembed.so.2.5.9.debug' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibfbembed.so.2.5.9.debug: cannot open shared object file: No such file or directory at at FB_1319845270_Class.isc_attach_database(IntPtr[] statusVector, Int16 dbNameLength, Byte[] dbName, DatabaseHandle& dbHandle, Int16 parmBufferLength, Byte[] parmBuffer)
at FB_1319845270_Class.IFbClient.isc_attach_database(IntPtr[] statusVector, Int16 dbNameLength, Byte[] dbName, DatabaseHandle& dbHandle, Int16 parmBufferLength, Byte[] parmBuffer)

Does anyone has any idea about what is happening?

I read in the documentation this sentence, that make me think:
"Under Linux, you always need a properly installed server, be it Classic or Super."
What does it mean? To create a embedded connection on Linux, do I need to install the server?

Thanks in advance for the help!

Cheers,
Lucas Dáquina

Jiří Činčura

unread,
Apr 14, 2022, 3:14:04 AM4/14/22
to 'Mr. John' via firebird-net-provider
Based on "Unable to load shared library 'libfbembed.so.2.5.9.debug' or one of its dependencies.", looks like you're missing some dependencies. Use i.e. `LD_DEBUG=all cat` and check what's happening.

--
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/

Reply all
Reply to author
Forward
0 new messages