View previous topic :: View next topic |
Author |
Message |
gino_rotormind Tux's lil' helper
Joined: 10 Apr 2003 Posts: 79
|
Posted: Sat Oct 15, 2005 4:21 am Post subject: hal requires libdbus-1.so.0 |
|
|
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 |
|
|
gino_rotormind Tux's lil' helper
Joined: 10 Apr 2003 Posts: 79
|
Posted: Sat Oct 15, 2005 4:25 am Post subject: Additionally |
|
|
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 |
|
|
gino_rotormind Tux's lil' helper
Joined: 10 Apr 2003 Posts: 79
|
Posted: Mon Oct 17, 2005 8:57 am Post subject: [RESOLVED] |
|
|
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 |
|
|
drakos7 Apprentice
Joined: 21 Feb 2003 Posts: 294 Location: Rockville, MD, USA, Earth, Sol
|
Posted: Wed Nov 16, 2005 1:34 am Post subject: |
|
|
And did they disappear? |
|
Back to top |
|
|
gino_rotormind Tux's lil' helper
Joined: 10 Apr 2003 Posts: 79
|
Posted: Thu Nov 17, 2005 4:14 am Post subject: Nope |
|
|
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 |
|
|
gino_rotormind Tux's lil' helper
Joined: 10 Apr 2003 Posts: 79
|
Posted: Thu Nov 17, 2005 4:18 am Post subject: |
|
|
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 |
|
|
AaronPPC Guru
Joined: 29 May 2005 Posts: 522 Location: Tucson, AZ
|
Posted: Thu Nov 17, 2005 5:39 am Post subject: |
|
|
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 |
|
|
Randomize n00b
Joined: 18 Apr 2005 Posts: 2
|
Posted: Sun Nov 27, 2005 11:21 am Post subject: Re: hal requires libdbus-1.so.0 |
|
|
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.
Oh, I see that you're ~ppc
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 |
|
|
hess n00b
Joined: 29 Nov 2005 Posts: 19 Location: corvallis, oregon, usa
|
Posted: Sat Dec 31, 2005 9:19 pm Post subject: Re: hal requires libdbus-1.so.0 |
|
|
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 |
|
|
hess n00b
Joined: 29 Nov 2005 Posts: 19 Location: corvallis, oregon, usa
|
Posted: Sat Dec 31, 2005 10:13 pm Post subject: |
|
|
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 |
|
|
jay l33t
Joined: 08 May 2002 Posts: 980
|
Posted: Sat Mar 04, 2006 6:06 pm Post subject: |
|
|
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 |
|
|
|