LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2003, 12:16 AM   #1
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Rep: Reputation: 15
kde-based programs D - E - A - D


it seems i somehow managed to foul up my KDE libraries. When i try to run any kde-based program (kmix, kmidi, etc) i get the following error:

[root@broxys(/home/oliver) | 12:11 AM]
#kmidi
DCOPServer up and running.
kdeinit: kded: relocation error: /usr/lib/libXft.so.2: undefined symbol: FcInit
DCOP aborting call from 'anonymous-1847' to 'kded'
kmidi: relocation error: /usr/lib/libXft.so.2: undefined symbol: FcInit
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
Mutex destroy failure: Device or resource busy
kdeinit: sending SIGTERM to children.
kdeinit: Exit.


i tried locating the XFree86 rpm and updating/reinstalling but it did nothing to help.

Any ideas?

Thx.
.oliver
 
Old 06-20-2003, 01:22 AM   #2
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Original Poster
Rep: Reputation: 15
Oh.. Opera too apparently

this also is the case with Opera, apprently:
opera
/usr/lib/opera/7.11-20030515.4/opera: relocation error: /usr/lib/libXft.so.2: undefined symbol: FcInit


anyone have any clue at all?

.oliver
 
Old 06-20-2003, 06:48 AM   #3
sidboyce
Member
 
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 87

Rep: Reputation: 15
FcInit is defined in -----
/usr/X11R6/lib/libfontconfig.so.1.0: 000107c0 T FcInit
So you need that library installed, or if it's there, you need it linked into the opera Makefile.
Search on www.google.com/linux for "findsym", it's been a saviour in such situations, if "findsym FClnit" doesn't return anything, the library isn't installed or it's located at a place not defined in /etc/ld.so.conf.
Sid.
 
Old 06-27-2003, 01:46 PM   #4
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Original Poster
Rep: Reputation: 15
.. still dead...

so i did findsym FcInit and it was in the libraries mentioned above.

Also something another symptom:
When loading KDE, both kdeinit and kmserver can not load so the whole environment cannot load.

i'm fairly sure this is all my own fault, considering i'm sort of a newbie and i was doing some things i had no clue about (trying to install a newer version of qt in order to get bbconf installed)

So - any ideas?
 
Old 06-27-2003, 04:30 PM   #5
sidboyce
Member
 
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 87

Rep: Reputation: 15
"ldd <PATH>/kdeinit" and see if it finds all the libraries needed. Can't find any reference to "kmserver" here, a typo perhaps.
 
Old 06-27-2003, 08:14 PM   #6
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
So you installed another version of QT? QT is the graphical widget library used by Opera and KDE, and those versions you've installed of the programs probably collide with the other version of QT.

ps. Gnome wil probably still work for you as it uses the GTK library.

You're on Red Hat right? What does "rpm -qi qt" say?

How exactly did you 'upgrade' or 'downgrade' your version of QT?

You can re-install QT from the Red Hat CD's as follows :

- "su -"
(become root)

- <insert proper cd>
(I don't know which CD the QT library is on).

- "mount /mnt/cdrom"
- "cd /mnt/cdrom"
- "cd RedHat/RPMS"
(I may be wrong in the path-hierarchie. Be creative... :-) )

- "ls -l qt*"
(which QT RPM's are in this directory).

- "rpm -ivh qt-3.1.1-6.i386.rpm"
(or your particular version number, to reinstall the Red Hat QT package).

OK.. Good luck...
 
Old 06-28-2003, 09:01 PM   #7
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Original Poster
Rep: Reputation: 15
#rpm -qi qt
Name : qt Relocations: /usr/lib/qt-3.1
Version : 3.1.1 Vendor: Red Hat, Inc.
Release : 6 Build Date: Wed 29 Jan 2003 11:04:09 AM EST
Install date: Wed 18 Jun 2003 01:59:48 PM EDT Build Host: tweety.devel.redhat.com
Group : System Environment/Libraries Source RPM: qt-3.1.1-6.src.rpm
Size : 10710228 License: GPL/QPL
Signature : DSA/SHA1, Mon 24 Feb 2003 12:46:16 AM EST, Key ID 219180cddb42a60e
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.troll.no
Summary : The shared library for the Qt GUI toolkit.
Description :
Qt is a GUI software toolkit which simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications
for the X Window System.

Qt is written in C++ and is fully object-oriented.

This package contains the shared library needed to run qt
applications, as well as the README files for qt.


do you think the QT thing is the problem here?

the main issue to me seems to be something in libXft.so.2.*

i've tried reinstalling QT from rpm (found on rpmfind.net) to no real avail.

um.. any idea?

thx.

Last edited by broxys; 06-28-2003 at 09:32 PM.
 
Old 06-28-2003, 09:42 PM   #8
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Original Poster
Rep: Reputation: 15
$cat /etc/ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.0.5/lib
/usr/lib/sane
/usr/lib/mysql
/usr/lib/wine
/usr/lib/qt-3.1/lib


however, the libraries in question are located in /usr/lib/

is that a problem?

thx for yr patience.

Last edited by broxys; 06-28-2003 at 09:47 PM.
 
Old 06-29-2003, 09:54 AM   #9
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
Hmmm.. QT looks in fact OK on your system.

If I look for libXft.so on my Red Hat Linux 9 system I find :

/usr/X11R6/lib/libXft.so.1
/usr/X11R6/lib/libXft.so.1.1
/usr/X11R6/lib/libXft.so.2
/usr/X11R6/lib/libXft.so.2.1
/usr/X11R6/lib/libXft.so

which are part of "XFree86-libs".

What does "rpm -qi XFree86-libs" say on your system?
 
Old 06-29-2003, 09:56 AM   #10
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
And what does "rpm -qfi /usr/lib/libXft.so.2" say on your system?
 
Old 06-29-2003, 01:23 PM   #11
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Original Poster
Rep: Reputation: 15
$$rpm -qi XFree86-libs
Name : XFree86-libs Relocations: (not relocateable)
Version : 4.2.0 Vendor: Red Hat, Inc.
Release : 72 Build Date: Thu 05 Sep 2002 11:32:35 PM EDT
Install date: Fri 27 Jun 2003 02:41:07 PM EDT Build Host: daffy.perf.redhat.com
Group : System Environment/Libraries Source RPM: XFree86-4.2.0-72.src.rpm
Size : 5124106 License: XFree86
Signature : DSA/SHA1, Thu 05 Sep 2002 11:55:20 PM EDT, Key ID 219180cddb42a60e
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.xfree86.org
Summary : Shared libraries needed by the X Window System version 11 release 6.4
Description :
XFree86-libs contains the shared libraries required for running X
applications.

$rpm -qfi /usr/lib/libXft.so.2
Name : Xft Relocations: (not relocateable)
Version : 2.0 Vendor: Red Hat, Inc.
Release : 1 Build Date: Mon 02 Sep 2002 04:21:54 PM EDT
Install date: Mon 26 May 2003 10:26:33 AM EDT Build Host: astest.test.redhat.com
Group : System Environment/Libraries Source RPM: Xft-2.0-1.src.rpm
Size : 82333 License: MIT
Signature : DSA/SHA1, Tue 03 Sep 2002 05:44:58 PM EDT, Key ID 219180cddb42a60e
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://keithp.com/fonts
Summary : X Font Rendering library
Description :
Xft is a font rendering library for X.


Last edited by broxys; 06-29-2003 at 01:30 PM.
 
Old 06-29-2003, 02:51 PM   #12
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
At first sight, I see nothing strange. You seem to have the official RPM's from Red Hat. Let's look at something else. This is the contents of your "/etc/ld.so.conf", right?

$cat /etc/ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.0.5/lib
/usr/lib/sane
/usr/lib/mysql
/usr/lib/wine
/usr/lib/qt-3.1/lib

What happens if you add a line to this file, like this :

"su -"
<your root password>
"vi /etc/ld.so.conf"

Then, add the following line :

/usr/lib

<write your changes>

Take a look at your "/etc/ld.so.conf" again. It should look like this :

$cat /etc/ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-3.0.5/lib
/usr/lib/sane
/usr/lib/mysql
/usr/lib/wine
/usr/lib/qt-3.1/lib
/usr/lib

If the contents of that file does look like above, do the following :

"ldconfig -v"

With the above command necessary links will be made to your shared libraries.

I hope this helps.
 
Old 06-29-2003, 03:57 PM   #13
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Original Poster
Rep: Reputation: 15
the following was par tof the output of ldconfig -v:

/usr/X11R6/lib:
ldconfig: Cannot stat /usr/X11R6/lib/libXIE.so: No such file or directory
ldconfig: Cannot stat /usr/X11R6/lib/libXfont.so: No such file or directory
ldconfig: Cannot stat /usr/X11R6/lib/libXft.so: No such file or directory
ldconfig: Cannot stat /usr/X11R6/lib/libXrender.so: No such file or directory
ldconfig: Cannot stat /usr/X11R6/lib/libXv.so: No such file or directory
ldconfig: Cannot stat /usr/X11R6/lib/libXxf86dga.so: No such file or directory
ldconfig: Cannot stat /usr/X11R6/lib/libXxf86misc.so: No such file or directory
ldconfig: Cannot stat /usr/X11R6/lib/libXxf86vm.so: No such file or directory

sort of suspicious (especially libXft.so not being found?)

still get error when i try to run a program like kmidi

thx for all the help, btw. any more ideas?
 
Old 06-29-2003, 08:36 PM   #14
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
have you played with glibc? like trying to update that thing?
 
Old 06-29-2003, 11:18 PM   #15
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Original Poster
Rep: Reputation: 15
yeah. i think i tried to update those a right around the time this got messed up, actually. any idea how to rectify?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Executing web based Perl programs in userdirs markham82 Linux - General 3 12-15-2004 08:49 PM
ncurses based programs in Slack 10.0 superandrzej Slackware 3 08-08-2004 05:58 PM
running windows based programs in linux gambit Linux - Newbie 3 05-17-2004 09:49 PM
need help on running windows-based programs nrjeromene Linux - Newbie 6 01-14-2004 10:23 PM
DOS based configuration programs rwelch Linux - Networking 2 03-06-2003 03:58 AM


All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration