Subject Re: [firebird-support] Wasn´t enough install libstdc++.so.5 on FC4
Author Helen Borrie
At 02:16 PM 28/11/2005 +0000, you wrote:
>Hello friends:
>
>I done the installation of FB (FirebirdSS-1.5.2.4731-0.i686.rpm) with
>an rpm package and the old libraries on my FC4 from their installation
>disk to obtain libstdc++.so.5, but now when I try to start isql this
>messages appear:
>
>./isql: /usr/lib/libstdc++.so+5: version `GLIBCPP_3.2' not found
>(required by ./isql)
>./isql: /usr/lib/libstdc++.so+5: version `GXXABI_1.2' not found
>(required by ./isql)
>./isql: /usr/lib/libstdc++.so+5: version `GLIBCPP_3.2' not found
>(required by /usr/lib/libfbclient.so.1)
>./isql: /usr/lib/libstdc++.so+5: version `GXXXABI_1.2' not found
>(required by /usr/lib/libfbclient.so.1)
>
>I'm newbie on Linux and I think that is something about compiler
>libraries, but I don't know what to do and what additional things I
>need to start the FB daemon soon.
>
>If you need more information to solve this problem, please feel free
>to ask it.

What works for me (with Mandriva) is to su to root and create a symbolic
link from /usr/lib/libstdc++.so.6 (or whatever version of the C++ runtime
is used in FC 4) to /usr/lib/libstdc++.so.5.

(First take out the old .so.5 library and uninstall the pieces of Firebird
that you have already installed, of course. Uninstall instructions are in
the release notes.)

Then, add the symlink before you try to reinstall the rpm:

ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.5

If that doesn't work properly, repost your question on the firebird-devel
list. The person who does the Linux builds doesn't watch this list.

Also, for Superserver on FC4 you you will need to use the NPTL build.

./heLen