Subject Re: [firebird-support] Firebird Embedded on Linux help
Author Helen Borrie
At 07:24 AM 7/02/2008, you wrote:

>Hi all,
>
>I'm having a difficult time trying to get embedded to work on linux. I'm on
>CentOS 4.3, btw.
>
>I've tried following this:
>
>http://www.firebirdfaq.org/Firebird-Embedded-Linux-HOWTO.html
>
>I also think I saw somewhere that embedded on linux is not officially supported,
>is this true?

No. It's never been true. But the implementation model isn''t the same as it is on Windows and the deployment is different too.


>Frankly, I chose embedded because I thought it would be an easier task for users to setup this application on both windows and linux, but there seems this is only the case for windows deployments?

It depends on how you define "easy". :-)


>Well, I'm assuming because I haven't been successful yet ;)
>
>When trying to follow the example above, I received "error while loading shared
>libraries: libstdc++.so.5: cannot open shared object file: No such file or
>directory.

This applies for any Firebird installation on Linux, not just libfbembed.so. It's the C++ runtime. If you have a more recent distro installed, you'll have the libstdc++.so.6 runtime.All you need to do is use [whatever search tool is used by your Linux distro] to find a package containing the older library, and install it. (This is not necessarily going to be "easy" for your end users, I guess!)

>I'm assuming this is required for isql, but not sure if its required for
>embedded classic to run?

It's required for any model of firebird to run.

>Any help or suggestions would be appreciated and I would like to use FB embedded for this particular project if I can.

Are you actually deploying a client application that runs on Linux? Could you describe what you plan to do for a Linux deployment and how it would be used? Given the differences, it might not be quite what you expect from your experiences with the Windows embedded superserver....

./heLen