Firebird DocsetFirebird Commandline UtilitiesAssorted Firebird Scripts On Linux/Unix Systems → Running Embedded Or Client Server Applications
Firebird home Firebird home Prev: Restoring root As The Firebird Server Run UserHome: Firebird DocsetUp: Assorted Firebird Scripts On Linux/Unix SystemsNext: Still to come ...

Running Embedded Or Client Server Applications

This script, changeGdsLibraryCompatibleLink.sh, is available with Classic Server installations only, and is used to change the symlink libgds.so to point to the appropriate library for the installation. There are two possible libraries that the symlink can point to :

After installation, the libgds.so symlink points to the client server library by default so if you are running an embedded application, you need to run this script to point libgds.so at the embedded library instead.

Note

This script must be run as root.

The following example shows how this script is used to change from embedded servfer to client server use :

# cd /opt/firebird/bin
# ./changeGdsCompatibleLibraryLink.sh
For classic server there are two optional backward compatible client
libraries. These are libfbclient.so and libfbembed.so.

libfbclient.so) enables your client to be multithreaded but must
                connect to a database via a server.
libfbembed.so)  allows the client to directly open the database file,
                but does not support multithreaded access

Your current setting is:
/usr/lib/libgds.so -> /opt/firebird/lib/libfbembed.so

Which option would you like to choose (client|embed|remove) 
                                                       [client] client
#

The default option is client which will recreate the symlink to the client server library, embed will recreate the symlink to the embedded server, while remove will remove the symlink altogether.

There are no messages displayed to inform you of the success of the script, however, if you run it again, you will notice the current setting should be different to that displayed when you previously ran the script.

Prev: Restoring root As The Firebird Server Run UserHome: Firebird DocsetUp: Assorted Firebird Scripts On Linux/Unix SystemsNext: Still to come ...
Firebird DocsetFirebird Commandline UtilitiesAssorted Firebird Scripts On Linux/Unix Systems → Running Embedded Or Client Server Applications