Operating System - HP-UX
1834676 Members
2239 Online
110069 Solutions
New Discussion

Problem with _GLOBAL__FI_libstdc___sl_5_0

 
Zvi Kamer
Occasional Contributor

Problem with _GLOBAL__FI_libstdc___sl_5_0

Hello,

I've an application that crashes with the following message:

/usr/lib/dld.sl: Unresolved symbol: _GLOBAL__FI_libstdc___sl_5_0 (code) from ./arabickey
/usr/lib/dld.sl: Unresolved symbol: _GLOBAL__FD_libstdc___sl_5_0 (code) from ./arabickey

Do I miss a patch ?

I use HPUX11.0

Thanks in advance
-zvi
4 REPLIES 4
Peter Godron
Honored Contributor

Re: Problem with _GLOBAL__FI_libstdc___sl_5_0

Zvi,
are you sure the program compiled and linked correctly?
Unresolved symbol normally means the program is referencing a variable or external piece of code , which it cannot find.
To get a better idea grep for the variable in *.c or strings *.o.
Let us know what you find.
Regards
Zvi Kamer
Occasional Contributor

Re: Problem with _GLOBAL__FI_libstdc___sl_5_0

Hi,

I found the problem it's a matter of gcc versions and its libraries found in /usr/local/lib.

Thanks a lot

-zvi
Peter Godron
Honored Contributor

Re: Problem with _GLOBAL__FI_libstdc___sl_5_0

Zvi,
hope my answer pointed you in the right direction.
Can you please identify/detail the answer and close the thread.
Many Thanks
Zvi Kamer
Occasional Contributor

Re: Problem with _GLOBAL__FI_libstdc___sl_5_0

Those symbols are found in libstdc++.sl.5.0
which is placed in /usr/local/lib.
This library is a part of gcc ver 3.2

I've installed gcc 3.3.2 which doesn't
come with this library.

-zvi