HALd installation problem - 'clone' function?
I'm trying to get hald started, but not having much luck. Starting hald with daemon=no and verbose=yes:
21:03:46.901 [I] hald.c:634: hal 0.5.10
21:03:46.912 [I] hald.c:699: Will not daemonize
21:03:46.933 [I] hald_dbus.c:5284: local server is listening at unix:abstract=/var/run/hald/dbus-MWVIwqejq8,guid=bd9511d0691ca5bdeddcc700483ca162
21:03:47.238 [I] hald_runner.c:301: Runner has pid 5423
21:03:47.239 [W] ci-tracker.c:299: Could not get uid for connection: org.freedesktop.DBus.Error.NameHasNoOwner Could not get UID of name 'org.freedesktop.DBus': no such name
21:03:47.239 [E] hald_dbus.c:4944: Cannot get caller info for org.freedesktop.DBus
hald-runner: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
*** [DIE] hald_runner.c:runner_died():202 : Runner died
The strange this is that libglib _is_ installed (and works). I did an strace on the problem zone, and get:
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7c4a708) = 5428
close(9) = 0
read(8, "", 8) = 0
close(8) = 0
gettimeofday(hald-runner: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
I cannot find much information on 'clone' on the 'net, but I suspect that in this case, the cloned function is not receiving the environment from the main program, and thus cannot find LD_LIBRARY_PATH.
Can someone point me to more in-depth info on 'clone', or, even better, indicate a solution of this problem?
PD: The hald/dbus etc come from Slackware-current.
For a strange reason, the path to libglib wasn't in /etc/ld.so.cache. Strange, because I haven't edit
that file for years, and compiled hundreds of programs, and never had any complaint (which is why I
never suspected it).
Anyway - that was all. hald is up-and-running.
Sorry, reposted the solution.
|All times are GMT -5. The time now is 04:14 PM.|