Subject Re: [firebird-support] isql client-only on linux
Author Paul Vinkenoog
Hello Derryck,

> 1) copied and created links to /usr/lib
>
> /usr/lib/libfbclient.so -> /usr/lib/libfbclient.so.2.5.0
> /usr/lib/libfbclient.so.2.5 -> /usr/lib/libfbclient.so.2.5.0
> /usr/lib/libfbclient.so.2.5.0
> /usr/lib/libfbembed.so -> /usr/lib/libfbembed.so.2.5.0
> /usr/lib/libfbembed.so.2.5 -> /usr/lib/libfbembed.so.2.5.0
> /usr/lib/libfbembed.so.2.5.0
>
> 2) copied firebird.msg to /local/apps/firebird and put to FIREBIRD environment variable
>
> 3) copied isql to /local/apps/firebird/bin
>
>
>
> than i get error message:
>
> >./isql
> >./isql: error while loading shared libraries: libfbembed.so.2.5: cannot open shared object file: No such file or directory
>
>
> Also added /usr/lib to PATH but has same result.

Assuming that all the copying and linking in step 1 was successful, it looks like /usr/lib is not in your standard library search path.

AFAIK, PATH is only used to find executables, not shared libraries. Library paths should be added to /etc/ld.so.conf or its equivalent on your system.

Alternatively, you can move the Firebird stuff from /usr/lib to a folder that _is_ in your system's default library search path.


Hope this helps,
Paul Vinkenoog