Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#104 Referring to missing library libfbclient.so.1

open
nobody
None
5
2012-10-20
2007-11-23
M. Gy.
No
  1. The system: IBM T43 notebook, i P4 processor 2 GB RAM, openSUSE 10.3 (2.6.22.12)

  2. Firebird SS 2.0.3 is installed. There are libfbclient.so.2 and libfbclient.so files (symlinks) in /usr/lib

  3. Flamerobin 0.8.1. is copied into /usr/bin and /usr/share

  4. When flamerobin executable starts it produces the following message and stops:
    flamerobin: error while loading shared libraries: libfbclient.so.1: cannot open shared object file: No such file or directory
    That's true, because only the so and so.2 files exist.

  5. ?

Discussion

  • M. Gy.
    M. Gy.
    2007-11-23

    Logged In: YES
    user_id=201193
    Originator: YES

    Yes, Flamerobin seems to work with libfbclient.so.2.0.3 if I make a symlink to it as libfbclient.so.1. The executable should refer to the library as libfbclient.so without any prefix.

     
  • M. Gy.
    M. Gy.
    2007-11-23

    Logged In: YES
    user_id=201193
    Originator: YES

    ...without any suffix i mean...

     
  • Milan Babuskov
    Milan Babuskov
    2007-12-20

    Logged In: YES
    user_id=1940200
    Originator: NO

    Whether the linker will use fbclient.so.1 or fbclient.so.2 is not under our control, that's just the way the linker works.

    What we DO need is the ability to load any fbclient library at runtime. This will be introduced in IBPP 3.0, which we are eagerly awaiting.

     
  • Logged In: NO

    simple workaround that works for me is to softlink libfbclient.so.1 to libfbclient.so (which probably links to libfbclient.so.2.0.3 at the end), eg:

    user@box:~> sudo ln -s /usr/lib/libfbclient.so /usr/lib/libfbclient.so.1

    I just started using flamerobin myself, and I don't know the consequences of using the above workaround, but my guess is, that it doesn't matter much as all your database files are probably firebird 2 files, plus your server is firebird 2 too, so why not use the firebird 2 client library for flamerobin -- the public interface should be quite the same for every libfbclient.so... in fact, accessing fb20 files with fb15 is considered dangerous as it might break your datafiles for minor incompatibility reasons...


    Kai

     
  • Milan Babuskov
    Milan Babuskov
    2008-07-16

    Logged In: YES
    user_id=1940200
    Originator: NO

    Given the recent discussions on IBPP list, I wouldn't say this is a bug. Linux users should really use the binaries provided by their distributions, or (in case there is no binary for their distro) build FR from sources.

    Even when IBPP introduces a way to dynamically load the client library, the binary FR I build can still be incompatible with some systems due to different versions of C++, or some GTk-related libraries (should some of them decides to change the ABI in incompatible way).

    I'm moving this to feature requests.

     


Anonymous


Cancel   Add attachments