[kde-solaris] RE: HELP!

Lars Tunkrans lars.tunkrans at bredband.net
Wed Dec 17 23:24:08 CET 2003


Hello,

   I had a similar problem once and it was due to the fact that
   my LD_LIBRARY_PATH environment VAR contained /opt/sfw/lib.
   The sun freeware companion CD contains lots of useful stuff
   But its all compiled with GCC and might also be older versions
   of the library you need.

   If you are finding an older version  of libqt-mt.so.3  instead of the one
   you are supposed to find or any KDE shared object that is not in  /opt/kde-3.1.4/lib,
   or the correct version produced by a different compiler,
   there will be discrepancies between what the app
   belives to be in the shared object, and whats in the shared object the
   ld.so.1(1)  loader actually finds.


   You will have to make sure that the LD_LIBRARY_PATH that is used when
   you start KDE does NOT reference any directory that contains  shared objects
   with identical names to the shared objects in /opt/kde-3.1.4/lib.

   As Stefan has built the binaries with  the -R ld flag it does not need
   you to specify the LD_LIBRARY_PATH at all.  If you do specify it , it will
   preceed the hardcoded paths in the search path. If you have a shared object with
   the correct name but the wrong content in your LD_LIBRARY_PATH you will
   see the result you report.

   doing

   # cd /opt/kde-3.1.4/bin
   # ldd kcontrol

   will list the shared objects this binary (kcontrol ) uses.

   # pldd pidnumber_for_kcontrol

   will list the shared objects ld.so.1  found and linked in, as will:

   # pmap pidnumber_for_kcontrol


   This should hopefully enable you to find where in you filesystems you have
   leftovers form an earlier KDE installation.


   //Lars


Vyakaranam, Prakash wrote:
> I was able to install and run kde successfully on another Sol 8 box using
> the binaries from the ftp site. I'm having trouble on this server...and any
> kde app puts out these symbol reference errors. Even qt that I installed
> from this distribution has the same problem. Qt 3.2 package that I compiled
> with gcc works fine, though. I verified that all the patches mentioned in
> README are installed ...and so is gnome-2.0..and Sun media lib.
> 
> 
> /opt/kde-3.1.4/bin 413 $kpm
> ld.so.1: ksysguard: fatal: relocation error: file ksysguard: symbol
> __1cLQdDSpacerItemG__vtbl_: referenced symbol not found
> Killed
> /opt/kde-3.1.4/bin 414 $kcontrol
> ld.so.1: kcontrol: fatal: relocation error: file kcontrol: symbol
> __1cHQdDStringLshared_null_: referenced symbol not found
> Killed
> /opt/kde-3.1.4/bin 416 $konqueror
> ld.so.1: konqueror: fatal: relocation error: file
> /opt/kde-3.1.4/lib/konqueror.so: symbol __1cHQdDStringEnull_: referenced
> symbol not found
> Killed
> 
> 
> 
> 
>>List: kde-solaris <?l=kde-solaris&r=1&w=2>  
>>Subject: Re: [kde-solaris] HELP! <?t=107152799600007&r=1&w=2>  
>>From: Stefan Teleman <steleman () nyc ! rr ! com>
>><?a=104307965500001&r=1&w=2>  
>>Date: 2003-12-16 5:28:47
>><http://lists.kde.org/?l=kde-solaris&r=1&b=200312&w=2>  [Download message
>>RAW <?l=kde-solaris&m=107155284116353&q=raw> ] 
>>
>>
>>If libqt-mt.so.3 is in /opt/sfw/lib, i suspect it comes from the Sun
>>Freeware Companion CD. AFAIK that is built with GCC. It is not binary
>>compatible with Forte at all. And i am not sure it is the correct version
>>either (3.2.2) -- but that should be less relevant than the compiler. You
>>must use the SUNWqt KDE built with Forte which installs in
>>/opt/qt-3.2.2-32. Otherwise it won't work. --Stefan ----- 
>>
>>
>>	 -----Original Message-----
>>	From: 	Vyakaranam, Prakash  
>>	Sent:	Monday, December 15, 2003 2:47 PM
>>	To:	'kde-solaris at mail.kde.org'
>>	Subject:	HELP!
>>
>>	I'm trying to run kde-3.1.4 on Sol 8. Installed the patches as
>>detailed in the README file. Well, I don't have Forte stuf on the
>>box..just gcc. I'm getting some errors..
>>
>>	I did verify my LD_LIBRARY_PATH is correct...the qt library
>>libqt-mt.so.3 is in the right place.../opt/sfw/lib. I am not able to start
>>any kde apps. 
>>
>>	I'm sure I've messed up something...
>>
>>	Thanx for the help!
>>
>>	/export/home/vyakaran 435 $konqueror
>>	ld.so.1: konqueror: fatal: relocation error: file
>>/opt/kde-3.1.4/lib/konqueror.so: symbol __1cHQdDStringEnull_: referenced
>>symbol not found
>>	Killed
>>	/export/home/vyakaran 436 $startkde
>>	/tmp/mcop-/: No such file or directory
>>	kchmod: Setting X11 security permissions ... 
>>	chmod: No such file or directory
>>	startkde: KDE Starting up...
>>	ld.so.1: kreadconfig: fatal: libqt-mt.so.3: open failed: No such
>>file or directory
>>	/opt/kde-3.1.4/bin/startkde: line 209: 27004 Killed
>>kreadconfig --file kpersonalizerrc --group General --key FirstLogin
>>--default true --type bool
>>	ld.so.1: ksplash: fatal: libqt-mt.so.3: open failed: No such file or
>>directory
>>	/opt/kde-3.1.4/bin/startkde: line 212: 27005 Killed
>>ksplash
>>	ld.so.1: kdeinit: fatal: libqt-mt.so.3: open failed: No such file or
>>directory
>>	/opt/kde-3.1.4/bin/startkde: line 219: 27006 Killed
>>kdeinit +kcminit +"knotify --waitforwm"
>>	/opt/kde-3.1.4/bin/startkde: xmessage: command not found
>>	setrlimit: Not owner
>>	Warning: connect() failed: : No such file or directory
>>	ld.so.1: ksmserver: fatal: libqt-mt.so.3: open failed: No such file
>>or directory
>>	/opt/kde-3.1.4/bin/startkde: line 233: 27008 Killed
>>kwrapper ksmserver $KDEWM --nolocal
>>	/opt/kde-3.1.4/bin/startkde: xmessage: command not found
>>	startkde: KDE Shutting down...
>>	setrlimit: Not owner
>>	Warning: connect() failed: : No such file or directory
>>	Error: Can't contact kdeinit!
>>	/opt/kde-3.1.4/bin/startkde: artsshell: command not found
>>	startkde: Running shutdown scripts...
>>	ld.so.1: kde-config: fatal: libqt-mt.so.3: open failed: No such file
>>or directory
>>	/opt/kde-3.1.4/bin/startkde: cd: /tmp/mcop-: No such file or
>>directory
>>	^C/export/home/vyakaran 438 $kdeinit
>>	ld.so.1: kdeinit: fatal: relocation error: file kdeinit: symbol
>>__1cIQdDCStringG__vtbl_: referenced symbol not found
>>	Killed
> 
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
> 


-- 
========================================================
Lars Tunkrans
--------------------------------------------------------



More information about the kde-solaris mailing list