LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   KDE 3.3 fails to start (libstdc++.so.6 errors) (https://www.linuxquestions.org/questions/linux-software-2/kde-3-3-fails-to-start-libstdc-so-6-errors-220885/)

JimDog 08-22-2004 09:57 AM

KDE 3.3 fails to start (libstdc++.so.6 errors)
 
So I use XFCE, however with the announcement of KDE 3.3 I thought I'd check it out since I haven't used it since version 3.1.

Anyway, I downloaded the RPM files and first realized that I needed to update QT as well as GCC. So I updated those and all looked good.

However when I try and start KDE (i.e. when GDM tries "exec /etc/X11/xdm/Xsession kde") it fails with the following:

kde-config: /usr/local/lib/libstdc++.so.6: no version information available (required by kde-config)
kde-config: /usr/local/lib/libstdc++.so.6: no version information available (required by kde-config)
kde-config: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libkdecore.so.
kde-config: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libkdecore.so.
kde-config: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by /usr/lib/libkdecore.so.4)
kde-config: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libDCOP.so.4)
kde-config: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libDCOP.so.4)
kde-config: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libkdefx.so.4)
kde-config: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libkdefx.so.4)
startkde: Starting up...
kreadconfig: /usr/local/lib/libstdc++.so.6: no version information available (required by kreadconfig)
kreadconfig: /usr/local/lib/libstdc++.so.6: no version information available (required by kreadconfig)
kreadconfig: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libkdecore.so
kreadconfig: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libkdecore.so
kreadconfig: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by /usr/lib/libkdecore.so.4)
kreadconfig: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libDCOP.so.4)
kreadconfig: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libDCOP.so.4)
kreadconfig: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libkdefx.so.4
kreadconfig: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libkdefx.so.4
ksplash: /usr/local/lib/libstdc++.so.6: no version information available (required by ksplash)
ksplash: /usr/local/lib/libstdc++.so.6: no version information available (required by ksplash)
ksplash: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libksplashthemes.
ksplash: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libksplashthemes.
ksplash: /usr/local/lib/libstdc++.so.6: no version information available (required by /usr/lib/libkio.so.4)

(and so on and so on....)

Any ideas? My LD_LIBRARY_PATH appears to be set correctly (/usr/lib:/usr/local/lib:/opt/kde3/lib:/usr/local/qt/lib) as well as my PATH in general.

Thanks in advance.

qwijibow 08-22-2004 10:13 AM

it seems like kde 3.3 is compiled againsed a new and in compatable version of GLIBC.

dont attempt to upgrade your glibc, as this will break all the programs you already have installed....

looks like if you want kde 3.3, you will either need to use a more up to date distro, or compile KDE 3.3 from source. (of.. maybe find a kde 3.3 for redhat 9 RPM)

JimDog 08-24-2004 08:47 PM

problem #2
 
I took your advice. Downloaded Konstruct and let er rip....except now when it gets to compiling kdemultimedia it complains:

.libs/libaudiocd_encoder_vorbis_la.all_cpp.o(.text+0x4399): In function `EncoderVorbis::readInit(long)':
: undefined reference to `ogg_stream_init'
.libs/libaudiocd_encoder_vorbis_la.all_cpp.o(.text+0x43e8): In function `EncoderVorbis::readInit(long)':
: undefined reference to `ogg_stream_packetin'
.libs/libaudiocd_encoder_vorbis_la.all_cpp.o(.text+0x43fd): In function `EncoderVorbis::readInit(long)':
: undefined reference to `ogg_stream_packetin'
.libs/libaudiocd_encoder_vorbis_la.all_cpp.o(.text+0x4412): In function `EncoderVorbis::readInit(long)':
: undefined reference to `ogg_stream_packetin'
.libs/libaudiocd_encoder_vorbis_la.all_cpp.o(.text+0x445c): In function `EncoderVorbis::readInit(long)':
: undefined reference to `ogg_stream_flush'
.libs/libaudiocd_encoder_vorbis_la.all_cpp.o(.text+0x460b): In function `EncoderVorbis::flush_vorbis()':
: undefined reference to `ogg_stream_packetin'
.libs/libaudiocd_encoder_vorbis_la.all_cpp.o(.text+0x4628): In function `EncoderVorbis::flush_vorbis()':
: undefined reference to `ogg_stream_pageout'
.libs/libaudiocd_encoder_vorbis_la.all_cpp.o(.text+0x4764): In function `EncoderVorbis::readCleanup()':
: undefined reference to `ogg_stream_clear'
collect2: ld returned 1 exit status
make[7]: *** [libaudiocd_encoder_vorbis.la] Error 1


I did a search online but couldn't find any help. Any ideas? Thanks.

qwijibow 08-24-2004 09:42 PM

did you read though the dependency list on kde.org ?
make sure all required components are installed..
plus whatever opyional and recomented packages you choose.

i dont like construct.. i prefere to do it myself....

for each package...
./configure --prefix=/opt/kde && make && make install

install in this order...
kdelibs
kdebase

then whichever of the others you would like.

anyways.. looks to me like you dont have libvorbis installed.. or you dont have libvorbis source code installed.

strema 09-29-2004 01:29 AM

Hi JimDog,

I had a similar problem too (other location) while building kde3.3 (not from CVS, from the stable sources) and it seems there is a bug in at least one of the Makefiles in the kdemutlimedia package. The problem went away after modifying the line

VORBISENC_LIBS = -lvorbisenc -lvorbis

to

VORBISENC_LIBS = -lvorbisenc -lvorbis -logg

in kioslave/audiocd/plugins/vorbis/Makefile. I don't know if other makefiles are affected too, I'm still compiling. But up to now without further errors.

bm17 10-13-2004 01:42 PM

> VORBISENC_LIBS = -lvorbisenc -lvorbis -logg

That did the trick. Thanks!

I was in there before adding stuff like "-lvorbisfile" but I hadn't thought about "-logg". You saved me a bunch of time.

-b

JimDog 10-15-2004 04:44 PM

I ended up doing a "make -k" which continues even with errors....got KDE 3.3 up and running....however I may try the solution mentioned in this thread instead as it appears to be the more correct way to go about things :-)


All times are GMT -5. The time now is 04:13 AM.