LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 07:09 PM   #1
Johncc330
Member
 
Registered: Mar 2007
Posts: 101

Rep: Reputation: 19
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-27-2008, 11:28 PM   #2
Johncc330
Member
 
Registered: Mar 2007
Posts: 101

Original Poster
Rep: Reputation: 19
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-27-2008, 11:30 PM   #3
Johncc330
Member
 
Registered: Mar 2007
Posts: 101

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

Last edited by Johncc330; 05-27-2008 at 11:31 PM.
 
  


Reply

Tags
clone, hal, hald



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 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