Subject Re: [ib-support] 100% embedded firebird on Linux
Author John Bellardo
Geert,

On Tuesday, June 25, 2002, at 07:36 AM, Geert Bevin wrote:

> Hello everyone,
>
> I've been trying out Firebird as an embedded database.
>
> What I found strange is that apparently it needs additional files to be
> installed besides libgds.
> Through experimentation I've trimmed it down
> to the 'gds_lock_mgr' and 'gds_pipe' binaries, which are dynamically
> linked against libgds.

There are other files that the engine creates as part of its job (the
lock files), and it uses the isc4.gdb security database. So your
problems may be a bit bigger. The dependency on the lock manager can be
removed by changing the MANAGER_PROCESS (I think) macro. I'm not sure
about gds_pipe.

> What I would like is to be able to distribute one
> binary of my application that is statically linked against libgds and
> that doesn't need anything else. Like this, a user could just run the
> binary of my application and doesn't have to worry about installing any
> required files in the correct location.
>
> Has someone done something similar and is it possible?

You should be using classic. You will probably need to modify the
makefiles to build a libgds.a at the same time they build libgds.so.

>
> Thanks for the help,

-John