[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Strange goings on with Juk (FC3, KDE Branch 3.5)
From:       Michael Pyne <pynm0001 () unf ! edu>
Date:       2005-09-30 3:10:08
Message-ID: 200509292310.09723.pynm0001 () unf ! edu
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Thursday 29 September 2005 22:53, Steven P. Ulrick wrote:
> > Can you run ldd on the juk 2.3 binary and see what libraries it is
> > trying to link against while you are in your normal KDE environment?
>
> Hello, Michael
> Here it is:
> http://www.afolkey2.net/juk-ldd.txt
>
> Thanks again,
> Steven P. Ulrick

Yeah, that's your problem:

<snip>
	libkparts.so.2 => /usr//lib/libkparts.so.2 (0x0016e000)
	libkutils.so.1 => /usr//lib/libkutils.so.1 (0x00c0c000)
	libartskde.so.1 => /usr//lib/libartskde.so.1 (0x001d5000)
	libkio.so.4 => /usr//lib/libkio.so.4 (0x026ff000)
	libkdeui.so.4 => /usr//lib/libkdeui.so.4 (0x07c51000)
	libkdesu.so.4 => /usr//lib/libkdesu.so.4 (0x0051d000)
</snip>

You'll notice that most of your KDE libraries are being found in /usr/lib 
instead of /usr/local/kde-svn/lib like akode:

	libakode.so.2 => /usr/local/kde-svn/lib/libakode.so.2 (0x00f2b000)

Now, the double-slash thing (/usr//lib) is odd.  I'm not sure what would cause 
that other than libtool being stupid.  Do you explicity set --prefix when 
configuring your modules?  If you don't then the configure script might pick 
up the wrong library directory when trying to link the executables.  Although 
judging from the ldd output it looks like the executable correctly looks for 
only the soname (e.g. libkdesu.so.4 instead of the full path), it apparently 
has a hardcoded /usr//lib embedded in the executable.  I'm not sure what part 
of libtool causes that or would fix it though. :(

As far as why the Fedora juk finds the correct libraries, perhaps their 
executables don't have dynamic path entries embedded, and so the dynamic 
linker uses LD_LIBRARY_PATH instead of the missing /usr//lib information?

Regards,
 - Michael Pyne

[Attachment #5 (application/pgp-signature)]

 =

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=
e <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic