LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-13-2009, 09:37 PM   #1
jeffnik
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware 13.1
Posts: 7

Rep: Reputation: 0
Question HALD no longer works after Slack 12.2 upgrade


Hi folks,

I may have created my own problem here, but since I've looked at this for a couple days and can't figure out where to start I thought I'd ask here.

On the week-end I decided upgrade my existing Slackware install to version 12.2. I thought I had version 12.1 on my system, though it may very well be that I had 12.0 instead. I can't seem to find either DVD at the moment so there isn't much history for me to work on.

The upgrade seems to have worked perfectly well except for one catch... my HALD no longer runs.

If I manually try to run HALD from the command line with:
/usr/sbin/hald --daemon=no

I receive:
/usr/sbin/hald: symbol lookup error: /usr/X11R6/lib/libdbus-glib-1.so.2: undefined symbol: dbus_watch_get_unix_fd

I have tried un-installing and reinstalling both HAL and DBUS/libdbus from the 12.2 packages, but still run into this error.

Does this mean the symbol is missing from libdbus-glib, or is libdbus-glib looking for the symbol elsewhere? In either circumstance, where would I be best to start looking?

Thanks in advance!
 
Old 01-13-2009, 09:41 PM   #2
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0/14.1
Posts: 3,479

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
From the 12.2 Change Log:

l/parted-1.8.8-i486-1.tgz: Moved from /extra (this is now a HAL dependency).

Try installing parted from the l/ (lower case L) package tree.
 
Old 01-13-2009, 09:54 PM   #3
jeffnik
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware 13.1
Posts: 7

Original Poster
Rep: Reputation: 0
Alas:

root@kilgore:/mnt/dvd/slackware/l# upgradepkg --install-new parted-1.8.8-i486-2.tgz

+==============================================================================
| Skipping package parted-1.8.8-i486-2 (already installed)
+==============================================================================

I also removed the package and the re-installed it but hald still protests.
 
Old 01-13-2009, 11:11 PM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0/14.1
Posts: 3,479

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
I'm guessing here: Possibly you have duplicate packages installed? Run pkgtool in View mode, or list the files in /var/log/packages. Browse the files to see whether you have duplicate packages. Possibly you have older packages installed conflicting with newer packages.

Also try running ldconfig, but that gets run after every package installation anyway.
 
Old 01-14-2009, 08:13 PM   #5
jeffnik
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware 13.1
Posts: 7

Original Poster
Rep: Reputation: 0
I spent a lot of this evening browsing through the list of packages, weeded out a few that obviously weren't needed, but didn't find anything that definitely looked like a duplicate package.

The odd thing is that I tried to check for the required functions using ldd.

Going ldd -r /usr/sbin/hald returns:
undefined symbol: dbus_watch_get_unix_fd (/usr/X11R6/lib/libdbus-glib-1.so.2)
undefined symbol: dbus_threads_init_default (/usr/X11R6/lib/libdbus-glib-1.so.2)
linux-gate.so.1 => (0xffffe000)
libdbus-glib-1.so.2 => /usr/X11R6/lib/libdbus-glib-1.so.2 (0xb802f000)
libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0xb8001000)
libgobject-2.0.so.0 => /usr/X11R6/lib/libgobject-2.0.so.0 (0xb7fc7000)
libglib-2.0.so.0 => /usr/X11R6/lib/libglib-2.0.so.0 (0xb7efb000)
libm.so.6 => /lib/libm.so.6 (0xb7ed5000)
libc.so.6 => /lib/libc.so.6 (0xb7d89000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7d70000)
/lib/ld-linux.so.2 (0xb8079000)

Checking my /usr/X11R6/lib directory I have
-rwxr-xr-x 1 root root 892 2008-12-07 19:13 /usr/X11R6/lib/libdbus-glib-1.la
lrwxrwxrwx 1 root root 23 2009-01-12 22:33 /usr/X11R6/lib/libdbus-glib-1.so -> libdbus-glib-1.so.2.1.0
lrwxrwxrwx 1 root root 23 2009-01-12 22:33 /usr/X11R6/lib/libdbus-glib-1.so.2 -> libdbus-glib-1.so.2.1.0
-rwxr-xr-x 1 root root 114448 2008-12-07 19:13 /usr/X11R6/lib/libdbus-glib-1.so.2.1.0

For kicks I ran ldd against not only the true libdbus-glib-1.so.2.1.0 but also the symlinks. Suddenly trying to run hald now returns:
root@kilgore:/etc# /usr/sbin/hald --daemon=no --verbose=yes
20:02:53.316 [I] hald.c:669: hal 0.5.11
20:02:53.316 [I] hald.c:734: Will not daemonize
20:02:53.317 [I] hald_dbus.c:5381: local server is listening at unix:abstract=/var/run/hald/dbus-MfhnA9D0Q1,guid=4d996e498107eee8bb7c9c8542b2f900
/usr/sbin/hald: symbol lookup error: /usr/X11R6/lib/libdbus-glib-1.so.2: undefined symbol: dbus_watch_get_unix_fd

It ends up with the same error, but actually does run the program instead of just terminating immediately. But at the same time, if I open another terminal I receive the single look-up error message and nothing else.

I guess what I'm trying to determine is if the problem is with my install of hald or libdbus? Or why I get different error messages at that, but I guess one thing at a time!
 
Old 01-14-2009, 09:18 PM   #6
jeffnik
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware 13.1
Posts: 7

Original Poster
Rep: Reputation: 0
I got the problem worked out.

You were quite right in that there were some duplicates. It looks like I had attempted to install a much older version of dbus way back when. I did the install from source instead of building a Slackware package, which is why it didn't get properly replaced. I guess I was just lucky that I hadn't had problems until the upgrade.

So, to basically get rid of the problem I uninstalled all the Slackware dbus packages, did an updatedb and then went through and deleted every reference to dbus. I then reinstalled the Slackware dbus packages and everything seems to be working as expected.

Thanks so much for your help... it set me off in the right direction.
 
Old 01-14-2009, 09:51 PM   #7
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0/14.1
Posts: 3,479

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
Thanks so much for your help... it set me off in the right direction.
Whew!
 
  


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
Following debian dist-upgrade wireless card no longer works, ifconfig can't bring up scheidel21 Linux - Wireless Networking 2 12-01-2007 04:52 AM
Radeon driver no longer works after Fedora upgrade windowful Linux - Hardware 1 10-23-2007 07:47 AM
dual screen no longer works after FC6 upgrade DJOtaku Fedora 1 11-08-2006 08:14 PM
3ddesktop after apt-get upgrade no longer works with this error ... Outabux Debian 3 12-17-2004 09:59 AM
Debian: Upgrade to 2.6.4 Kernel, SMC Card No Longer Works pfizur Linux - Networking 0 04-08-2004 07:51 AM


All times are GMT -5. The time now is 12:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration