LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-25-2007, 09:31 PM   #1
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
DBUS Problem at -Current


I noticed an error message everytime i started my system saying about DBUS. I tried to reproduce the error by running :
Quote:
root@laptop:/etc/dbus-1# dbus-uuidgen
dbus-uuidgen: symbol lookup error: dbus-uuidgen: undefined symbol: dbus_internal_do_not_use_create_uuid
Does anybody has a solution on this?

NB: Using Slackware-Current
 
Old 03-26-2007, 09:59 AM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Willy:
Show the output of:
ls /var/log/packages/dbus*
ldd /usr/bin/dbus-uuidgen
ldd /usr/bin/dbus-daemon

My first guess, even without seeing the output of those things, is that you had previously installed dbus on your own, most likely to /usr/local, and now the libs in /usr/local/lib are being seen instead of the correct ones in /usr/lib.
Also, make sure you have all of your packages are in sync with what's currently available in the -current tree - see the CHANGES_AND_HINTS.TXT file for pointers.

RW
 
Old 03-26-2007, 08:20 PM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Original Poster
Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Quote:
willy@laptop:~$ ls /var/log/packages/dbus*
/var/log/packages/dbus-1.0.2-i486-1 /var/log/packages/dbus-qt3-0.70-i486-1
/var/log/packages/dbus-glib-0.72-i486-1

willy@laptop:~$ ldd /usr/bin/dbus-uuidgen
linux-gate.so.1 => (0xffffe000)
/lib/libsafe.so.2 (0xb7f52000)
libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0xb7f06000)
libc.so.6 => /lib/libc.so.6 (0xb7dc3000)
libdl.so.2 => /lib/libdl.so.2 (0xb7dbf000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7da8000)
/lib/ld-linux.so.2 (0xb7f59000)

willy@laptop:~$ ldd /usr/bin/dbus-daemon
linux-gate.so.1 => (0xffffe000)
/lib/libsafe.so.2 (0xb7f39000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7efb000)
libc.so.6 => /lib/libc.so.6 (0xb7db8000)
libdl.so.2 => /lib/libdl.so.2 (0xb7db4000)
/lib/ld-linux.so.2 (0xb7f40000)
Yes, i do have dbus installed before i upgrade to -Current, but i already uninstalled it before i upgrade to -Current. My packages are already in sync with -current and i do have look on that file before i commit the upgrades

Thanks Before
 
Old 03-26-2007, 08:34 PM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Original Poster
Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Problem FIXED :D

Hello Rob,

Thanks for your help and your analysis is correct. It seems that dbus installation didn't clean up the library even after i commit make uninstall, so it's still left there. After i removed it, i can start the messagebus daemon again and dbus-uuidgen can now work perfectly

Thanks
 
Old 03-26-2007, 09:28 PM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Yes, and you see now why I asked
libdbus-1.so.3 => /usr/local/lib/libdbus-1.so.3 (0xb7f06000)
This happens to a lot of people, and that's why I *strongly* recommend that people package every piece of software that they install, even if it's only with checkinstall or slacktrack. That way, you can be much more assured of removing the stale bits later when you upgrade it.
Either way, I'm glad it's working for you now. Also, I received your email and am writing a reply now.

RW
 
Old 03-26-2007, 09:45 PM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Original Poster
Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
yes, i never used checkinstall nor slacktrack, but i guess i should get used to it now
 
Old 03-26-2007, 10:01 PM   #7
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Yeah, you should definitely be using checkinstall rather than just doing a "make install". you can never be sure what is happening if you just let it install however it wants. This becomes a problem when it is time to install if some files are left behind.

Of course, that is assuming the source package's makefile even has a "uninstall" target in the first place, which not all of them do.
 
  


Reply



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
DBUS problem barunparichha Linux - Software 4 09-17-2008 07:54 AM
dbus installation and Yum update problem jimc52 Linux - Software 1 01-12-2007 11:01 AM
dbus problem paulmedic555 Linux - Desktop 0 09-13-2006 10:55 AM
Power Manager / dbus Problem JWilliamCupp Linux - Software 0 05-15-2006 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:35 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
Open Source Consulting | Domain Registration