help-gplusplus
[Top][All Lists]
Advanced

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

Library problem: GCC_3.3


From: Andreas Schallenberg
Subject: Library problem: GCC_3.3
Date: Wed, 22 Jun 2005 13:47:00 +0200
User-agent: KNode/0.9.1

Hi!

I'm trying to compile KDE 3.4.1 on a Solaris machine (SunOS 5.8,
Sun Blade-100) using the gcc 3.4.3. I get the following error:

ld.so.1: /home/ ...someMoreDirs... 
/kdelibs-3.4.1/kdecore/kconfig_compiler/.libs/kconfig_compiler:
fatal: libgcc_s.so.1: version `GCC_3.3' not found (required by
file /opt/sw/gcc-3.4.3/lib/libstdc++.so.6)
ld.so.1: /home/ ...someMoreDirs... 
/kdelibs-3.4.1/kdecore/kconfig_compiler/.libs/kconfig_compiler:
fatal: libgcc_s.so.1: open failed: No such file or directory

Q: This tells me that /opt/sw/gcc-3.4.3/lib/libstdc++.so.6 requires a
   libgcc_s.so.1 "version" GCC_3.3, right?

Q: Is this GCC_3.3 some label within the library? How can I tell if
   a library provides this?

When I ask "ldd -s" I'm getting this

(...)
   find object=libgcc_s.so.1; required
by /opt/sw/gcc-3.4.3/lib/libstdc++.so.6
    search
path=/home/andreass/Solaris/Install/zlib-1.2.1/lib:/home/andreass/Solaris/Install/libpng-1.2.7/lib\
:/home/andreass/Solaris/Install/openssl-0.9.7e/lib:/home/andreass/Solaris/Install/jpeglib-6.2b/lib\
:/opt/sw/gcc-3.4.3/lib/sparcv9:/opt/sw/gcc-3.4.3/lib:/home/andreass/Solaris/Install/zlib-1.2.1/lib\
:/home/andreass/Solaris/Install/libpng-1.2.7/lib:/home/andreass/Solaris/Install/openssl-0.9.7e/lib\
:/home/andreass/Solaris/Install/jpeglib-6.2b/lib  (LD_LIBRARY_PATH)
    trying path=/home/andreass/Solaris/Install/zlib-1.2.1/lib/libgcc_s.so.1
    trying
path=/home/andreass/Solaris/Install/libpng-1.2.7/lib/libgcc_s.so.1
    trying
path=/home/andreass/Solaris/Install/openssl-0.9.7e/lib/libgcc_s.so.1
    trying
path=/home/andreass/Solaris/Install/jpeglib-6.2b/lib/libgcc_s.so.1
    trying path=/opt/sw/gcc-3.4.3/lib/sparcv9/libgcc_s.so.1
    trying path=/opt/sw/gcc-3.4.3/lib/libgcc_s.so.1
        libgcc_s.so.1 =>         /opt/sw/gcc-3.4.3/lib/libgcc_s.so.1
(...)
(The message is manually wrapped using "\")

Q: So libgcc_s.so.1 is resolved byusing /opt/sw/gcc-3.4.3/lib/libgcc_s.so.1?

"nm" on this lib gives me:
(...)
[302]   |         0|       0|OBJT |GLOB |0    |ABS    |GCC_3.3
(...)

Q: Is this the desired symbol? And if yes, why is the error still there?

Hope that somebody enlightens me :)
Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]