`GLIBCXX_3.4.9' not found

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

 



Hello,

I get the following result when i ldd my shared library in a target computer:

$> ldd /usr/lib/libCVTJavaInterface.so
/usr/lib/libCVTJavaInterface.so:
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by
/usr/lib/libCVTJavaInterface.so)
    linux-gate.so.1 =>  (0xffffe000)
    libcvt.so => /usr/lib/libcvt.so (0xb7e95000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7dab000)
    libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d84000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d78000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c37000)
    libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7c33000)
    /lib/ld-linux.so.2 (0x80000000)


I have the following files in the target computer:
lrwxrwxrwx 1 root root     18 2007-10-17 10:00 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.8
-rw-r--r-- 1 root root 929648 2007-03-02 21:51 /usr/lib/libstdc++.so.6.0.8

I have the following files in my development computer:
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
 /usr/lib/libstdc++.so.5 -> libstdc++.so.5.0.7
 /usr/lib/libstdc++.so.5.0.7
 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.9
 /usr/lib/libstdc++.so.6.0.9

What can i do?

One option i think is to static compile the libstdc++ library in my shared library. what is the instruction to do that?

thanks in advance,
Herbert

_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx


[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