Trouble executing an application that requires libstdc++.so.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

An application 'pdemo' I am trying to execute gives the following error:
>$ ./pdemo
> ld.so.1: pdemo: fatal: libstdc++.so.5: open failed: No such file or directory
> Killed

So I put in a soft link to libstdc++.so.3.0.4 to the directory the app is in and called it libstdc++.so.5 and set LD_LIBRARY_PATH to include '.'

Turns out there are other dependencies that haven't been resolved:
>$ ldd -r pdemo
>        libz.so.1 =>     /usr/lib/libz.so.1
>        libstdc++.so.5 =>        ./libstdc++.so.5
>        libm.so.1 =>     /usr/lib/libm.so.1
>        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
>        libc.so.1 =>     /usr/lib/libc.so.1
>        libdl.so.1 =>    /usr/lib/libdl.so.1
> symbol not found: _ZTTSt13basic_fstreamIcSt11char_traitsIcEE (pdemo) > symbol not found: _ZTVSt18basic_stringstreamIcSt11char_traitsIcESaIcEE (pdemo) > symbol not found: _ZTVSt13basic_fstreamIcSt11char_traitsIcEE (pdemo) > symbol not found: _ZTTSt18basic_stringstreamIcSt11char_traitsIcESaIcEE (pdemo)>
>        /usr/platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.1
> symbol not found: _ZNSt13basic_fstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode (pdemo)

Does anyone know how I can resolve these 'symbol not found' dependencies?
Cheers,
Venu

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux