LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-27-2008, 08:09 PM   #1
Johncc330
Member
 
Registered: Mar 2007
Posts: 39

Rep: Reputation: 16
HALd installation problem - 'clone' function?


Hello all.

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?

Thanks,
John
PD: The hald/dbus etc come from Slackware-current.
 
Old 05-28-2008, 12:28 AM   #2
Johncc330
Member
 
Registered: Mar 2007
Posts: 39

Original Poster
Rep: Reputation: 16
Ok... Solved.

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.
John
 
Old 05-28-2008, 12:30 AM   #3
Johncc330
Member
 
Registered: Mar 2007
Posts: 39

Original Poster
Rep: Reputation: 16
Sorry, reposted the solution.

Last edited by Johncc330; 05-28-2008 at 12:31 AM.
 
  


Reply

Tags
clone, hal, hald


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
problem with hald and a custom kernel Lotharster Linux - General 1 10-28-2006 01:49 PM
cannot burn cds, problem hald service redoplace Linux - Server 1 10-02-2006 08:06 PM
SuSE Installation stops on "starting hald" or freezes Elithraldor Suse/Novell 9 06-11-2006 02:46 AM
SuSE Installation Hangs on Starting "hald" ... Suse/Novell 2 11-30-2005 10:37 AM
how to clone an installation cestor Linux - General 3 03-18-2002 10:24 PM


All times are GMT -5. The time now is 07:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration