Subject Re: [firebird-support] Multiple server installs on linux
Author Mark O'Donohue
Hi Mr Anderson

I did a quick check, and I think I know what your problem is.

On 14/12/08 01:32, Anderson Farias wrote:
> Hi Carrell,
> >Install first vesion as normal, as you wish. However make sure the file
> >location for
> >binaries is sensible and named /opt/firebird/fb1_5/

you need to go and have a look at:

$cd /usr/lib/
$ls -l libfbembed* -> /opt/firebird/lib/ -> /opt/firebird/lib/ -> /opt/firebird/lib/ -> /opt/firebird/lib/ -> /opt/firebird/lib/

The fb2.1's will point to the new install, but the older fb1.5 entries
still point to where they were originally installed, which is probably
now where the new install is, and they need to point to your new directory.

You need to update them to point to where you have moved the old
install, with something line the following:

$ln -s /opt/firebird_15/lib/ .
$ln -s /opt/firebird_15/lib/ .

(make sure you have the dot at the end).

You can test that by running the server directly at the command line.


If the links are wrong it will give an an error. You can also try the
following to see where it resolves the libraries to :

$ldd /opt/firebird_15/bin/fb_inet_server => (0xffffe000) => /usr/lib/ (0xb7e01000) => /usr/lib/ (0xb7d47000) => /lib/ (0xb7d02000) => /lib/tls/i686/cmov/ (0xb7cd4000) => /lib/tls/i686/cmov/ (0xb7cd0000) => /lib/tls/i686/cmov/ (0xb7cab000) => /lib/tls/i686/cmov/ (0xb7b61000) => /lib/ (0xb7b56000)
/lib/ (0x80000000)

That should set you right, so the server starts.

And while you are there you should do the same for the fb1.5 client

$ls -l libfbclient*
... -> /opt/firebird/lib/ -> /opt/firebird/lib/

for the old /opt/firebird_15/bin/isql to work, those pointers will also
need to be updated to point to where they have been moved.

Apart from that, for the other bit, the /etc/xinit.d/ scripts you seem
to have that under control.

Good luck !

Cheers - Mark