Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hal requires libdbus-1.so.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gino_rotormind
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2003
Posts: 79

PostPosted: Sat Oct 15, 2005 4:21 am    Post subject: hal requires libdbus-1.so.0 Reply with quote

I upgraded hal and dbus to hal-0.54 (~ppc) and dbus-0.36.2 (~ppc) and now hal won't start giving the following error:

hald: error while loading shared libraries: libdbus-1.so.0: cannot open shared object file: No such file or directory

What is strange is that noby else has encountered this.

In actual fact there is no libdbus-1.so.0 only:
libdbus-1.a libdbus-1.so libdbus-1.so.1.0.0 libdbus-glib-1.la libdbus-glib-1.so.1
libdbus-1.la libdbus-1.so.1 libdbus-glib-1.a libdbus-glib-1.so libdbus-glib-1.so.1.0.0

Which seems odd. hal builds fine and should be by all accounts linking against the new lidbus version. Yet it hasn't been. Why is this? How can it build against one version yet require another? I have rebuild hal more than once to no avail. My assumption would be that a problem of this kind would not be ppc specific but I could be wrong.

Now, if i create a symbolc link between libdbus-1.so.1.0.0 to libdbus-1.so.0 hal starts fine. Very strange. I don't really like this solution but it seems to work. My primary question is where did this problem come from? and is there a better fix than simply creating a symbolic link?
Back to top
View user's profile Send private message
gino_rotormind
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2003
Posts: 79

PostPosted: Sat Oct 15, 2005 4:25 am    Post subject: Additionally Reply with quote

Also, a very similar issue results when attempting to run hal-device-manager except that the problem is with libdbus-glib-1.so.0 missing. Again this is solved by creating a symbolic link libdbus-glib-1.so -> libdbus-glib-1.so.0 but like I mentioned previously surely there is a better solution??
Back to top
View user's profile Send private message
gino_rotormind
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2003
Posts: 79

PostPosted: Mon Oct 17, 2005 8:57 am    Post subject: [RESOLVED] Reply with quote

I believe the problem was that as my everyday user (tim) I had the CFLAGS environment variable set. Unbeknownst to me this carries over an su and an emerge. Thus my CFLAGS were all screwed up. I am currently recompiling all the packages installed since I changed tim's .bashrc to include a setting for CFLAGS and hope that all these issues dissapear. I expect they shall.
Back to top
View user's profile Send private message
drakos7
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 294
Location: Rockville, MD, USA, Earth, Sol

PostPosted: Wed Nov 16, 2005 1:34 am    Post subject: Reply with quote

And did they disappear?
Back to top
View user's profile Send private message
gino_rotormind
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2003
Posts: 79

PostPosted: Thu Nov 17, 2005 4:14 am    Post subject: Nope Reply with quote

Unfortunately it did not. Totem for instance still requests the old versions. However, moving to ~ppc has solved a majority of these issues. However, since I am trying to minimize the amount of ~ppc I have not moved totem to ~ppc and thus the issue there. Is there a tool that you can run over your package.keywords file that can output entries that should be removed because the ~ppc=ppc versions???
Back to top
View user's profile Send private message
gino_rotormind
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2003
Posts: 79

PostPosted: Thu Nov 17, 2005 4:18 am    Post subject: Reply with quote

So, basically I am still confused as to why compilation worked yet couldn't find the actual library at run-time. If anybody knows from whence these problems arose (other than running ~ppc) I would be grateful to find out. Sorry I can't be more helpful.
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Thu Nov 17, 2005 5:39 am    Post subject: Reply with quote

I recently had the same problem. What I finally did was emerge -C both dbus and hal and then re-emerged them.

You will probably have to mask the earlier versions. Certain packages want to downgrade both of them. I think that is the reason why I ran into library problems.
_________________
--Aaron
Back to top
View user's profile Send private message
Randomize
n00b
n00b


Joined: 18 Apr 2005
Posts: 2

PostPosted: Sun Nov 27, 2005 11:21 am    Post subject: Re: hal requires libdbus-1.so.0 Reply with quote

gino_rotormind wrote:
I upgraded hal and dbus to hal-0.54 (~ppc) and dbus-0.36.2 (~ppc) and now hal won't start giving the following error:

hald: error while loading shared libraries: libdbus-1.so.0: cannot open shared object file: No such file or directory

What is strange is that noby else has encountered this.

In actual fact there is no libdbus-1.so.0 only:
libdbus-1.a libdbus-1.so libdbus-1.so.1.0.0 libdbus-glib-1.la libdbus-glib-1.so.1
libdbus-1.la libdbus-1.so.1 libdbus-glib-1.a libdbus-glib-1.so libdbus-glib-1.so.1.0.0

Which seems odd. hal builds fine and should be by all accounts linking against the new lidbus version. Yet it hasn't been. Why is this? How can it build against one version yet require another? I have rebuild hal more than once to no avail. My assumption would be that a problem of this kind would not be ppc specific but I could be wrong.

Now, if i create a symbolc link between libdbus-1.so.1.0.0 to libdbus-1.so.0 hal starts fine. Very strange. I don't really like this solution but it seems to work. My primary question is where did this problem come from? and is there a better fix than simply creating a symbolic link?


I have GNOME2.10 and I have a similar problem after upgrading my box.
To solve I try upgrade to hal-0.5.4, dbus-0.50.r1 and gnome-volume-manager-1.5.4
Now all work fine but it doesn't show hot-plugged media's icons on desktop, maybe after reboot.... I hope... but for now I've checked "Browse removable media..." in gnome-volume-properties.
A good idea is to upgrade nautilus-cd-burner to benefit of the new features, but for now I haven't upgrade. :wink:
Oh, I see that you're ~ppc :oops:
Well, if you've got GNOME try to upgrade gnome-volume-manager, if not try to downgrade hal ('cause I think that there are big change in hal-0.5.4...)
Back to top
View user's profile Send private message
hess
n00b
n00b


Joined: 29 Nov 2005
Posts: 19
Location: corvallis, oregon, usa

PostPosted: Sat Dec 31, 2005 9:19 pm    Post subject: Re: hal requires libdbus-1.so.0 Reply with quote

Randomize wrote:
Now all work fine but it doesn't show hot-plugged media's icons on desktop, maybe after reboot.... I hope... but for now I've checked "Browse removable media..." in gnome-volume-properties.


Have you been able to get icons to show up on the desktop yet? I'm having the same problem. This worked fine for me before I upgraded hal, dbus, and gvm.
Back to top
View user's profile Send private message
hess
n00b
n00b


Joined: 29 Nov 2005
Posts: 19
Location: corvallis, oregon, usa

PostPosted: Sat Dec 31, 2005 10:13 pm    Post subject: Reply with quote

Ha! Right after I posted my last post, I solved my problem. If you're still looking into getting icons for hot-plugged devices to show up on your desktop, try upgrading to the latest version of gnome-vfs. That seemed to work for me.
Back to top
View user's profile Send private message
jay
l33t
l33t


Joined: 08 May 2002
Posts: 980

PostPosted: Sat Mar 04, 2006 6:06 pm    Post subject: Reply with quote

ln -s /usr/lib/libdbus-1.so.2 /usr/lib/libdbus-1.so.1 fixed that for me.
_________________
Do you want your posessions identified? [ynq] (n)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum