You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, October 9th 2004, 12:56pm

relocation error: /usr/lib/libkdecore.so.4: undefined symbol

Hello,

I've installed KDE 3.3.0 with Konstruct (meta/everything).

Since then, few programs don't want to start and say, eg.:

Quoted

[seb@localhost seb]$ kscd
kscd: relocation error: /usr/lib/libkdecore.so.4: undefined symbol: qt_x_user_time


Same if I want to compile my programs from KDevelop.

If I look at the filesystem, /usr/lib/libkdecore.so.4 is a symlink to /usr/lib/libkdecore.so.4.2.0 !

What can I do to have it working ?

Thank you.
BasKet's (take notes and keep a full range of data on hand) author:
http://basket.kde.org/
http://kde-apps.org/content/show.php?content=10020

2

Sunday, October 10th 2004, 4:22pm

The "undefined symbol: qt_x_user_time" error was happening when I tried to run a KDE 3.2 compiled program.

When I try to recompile a program from sources, I get this message during configure:

Quoted

checking for KDE... libraries /usr/lib, headers /usr/include
checking if UIC has KDE plugins available... no
configure: error: you need to install kdelibs first.


What is the problem?

I already installed KDE with Konstruct.

And why does KDE 3.3.0 break Binary Compatibility?
BasKet's (take notes and keep a full range of data on hand) author:
http://basket.kde.org/
http://kde-apps.org/content/show.php?content=10020

seb

Professional

Posts: 622

Location: Sydney

Occupation: Student

  • Send private message

3

Monday, October 11th 2004, 1:17am

kde is not backward compatible, afaik. A package which was built for kde 3.2 is not guaranteed to work on 3.3. As far as your error, install kde-libs and the development packages first.

4

Monday, October 11th 2004, 6:59am

Quoted

Original von seb

kde is not backward compatible, afaik. A package which was built for kde 3.2 is not guaranteed to work on 3.3. As far as your error, install kde-libs and the development packages first.

KDE should definitely be source and binary compatible to third party packages throughout the whole KDE 3 series!
http://kdemyths.urbanlizard.com/viewMyth.php?mythID=42
I'm not sure if this applies to KDE itself internally though, so you may still be right in the case of kscd.

I find it strange that this error also appears when Sebien compiles programs using kdevelop though...

@Sebien:
AFAIK undefined symbols can come about if there's a version mixup where the wrong version of a file is picked up.

- Did you compile all of KDE using konstruct?
- Do you have any other/old versions of Qt or KDE around?

5

Monday, October 11th 2004, 5:32pm

As far as I see, konstruct is very good to install KDE whitout knowledges.
But it's also very bad for tuning it: if a thing turn bad, you cannot do anything.

It's how I see it.

Quoted

@Sebien:
AFAIK undefined symbols can come about if there's a version mixup where the wrong version of a file is picked up.

- Did you compile all of KDE using konstruct?
- Do you have any other/old versions of Qt or KDE around?

I have Mandrake Linux 9.2which comes with a KDE 3.1 version.
I've then installed Mandrake 10 packages for KDE 3.2.0. Some errors occured (such as an empty KControl, bad KMenu things caused by strange Mandrake modifications).
So I decided to install KDE 3.3.0 with konstruct.

I used meta/everything from konstruct KDE 3.3.
NO uninstallation first, and used the same "/usr" prefix.

If I remember, I tryed to reinstall some things after, like i18n-fr, and it finish by say :

Quoted

make[5]: Entering directory `/home/seb/konstruct/i18n/kde-i18n-fr/work/kde-i18n-fr-3.3.0/docs/common'
make[5]: Rien à faire pour « install-exec-am ».
/bin/sh ../../mkinstalldirs /usr/share/doc/HTML/fr/common
mkdir -p -- /usr/share/doc/HTML/fr/common
mkdir: Ne peut créer le répertoire `/usr/share/doc/HTML/fr/common': File exists
make[5]: *** [install-nls] Erreur 1
make[5]: Leaving directory `/home/seb/konstruct/i18n/kde-i18n-fr/work/kde-i18n-fr-3.3.0/docs/common'
make[4]: *** [install-am] Erreur 2
make[4]: Leaving directory `/home/seb/konstruct/i18n/kde-i18n-fr/work/kde-i18n-fr-3.3.0/docs/common'
make[3]: *** [install-recursive] Erreur 1
make[3]: Leaving directory `/home/seb/konstruct/i18n/kde-i18n-fr/work/kde-i18n-fr-3.3.0/docs/common'
make[2]: *** [install-recursive] Erreur 1
make[2]: Leaving directory `/home/seb/konstruct/i18n/kde-i18n-fr/work/kde-i18n-fr-3.3.0/docs'
make[1]: *** [install-recursive] Erreur 1
make[1]: Leaving directory `/home/seb/konstruct/i18n/kde-i18n-fr/work/kde-i18n-fr-3.3.0'
make: *** [install-work/kde-i18n-fr-3.3.0/Makefile] Erreur 2


I'm afraid something like this could happened during installation.

Is there a way to use "--force" with konstruct.
I want it to override my previous i18n packages. Hey: it's what means by upgrading!
And same for whole KDE, but I got NO error when finishing meta/everything.
BasKet's (take notes and keep a full range of data on hand) author:
http://basket.kde.org/
http://kde-apps.org/content/show.php?content=10020

6

Monday, October 11th 2004, 6:10pm

Forgotten to precise:

I get this problem when trying to run eventwatcher (3rd paty app).
But also when wanting to run KSirc, which is compiled by konstruct, I think.
BasKet's (take notes and keep a full range of data on hand) author:
http://basket.kde.org/
http://kde-apps.org/content/show.php?content=10020

7

Monday, October 11th 2004, 7:31pm

I'm walking on thin ice here since I don't know either Mandrake or Konstruct (I've compiled my KDE manually), but you could try to remove the remainder of the original KDE installation using Mandrake's package tool. I'm not sure if there are any essential Mandrake programs that depend on these packages that might be wiped off your disk along with them... be careful.

Or you use Konstruct to install a fresh KDE to a *different* directory and use that.

8

Friday, October 15th 2004, 6:01pm

This is finally fixed.

In fact, Mandrake installs QT in /usr/lib/qt3/...

And some times ago I added subdirectories in the path (or Mandrake done it itself).

Quoted

QTDIR=/usr/lib/qt3
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

export QTDIR PATH MANPATH LD_LIBRARY_PATH


Then the first files that was found was the old ones.
I deleted the dir (since Konstruct installed the new files in /usr) and it works.
BasKet's (take notes and keep a full range of data on hand) author:
http://basket.kde.org/
http://kde-apps.org/content/show.php?content=10020