LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-06-2007, 01:41 AM   #1
balamurugan_r83
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
error while loading shared libraries: libpthread.so.0


I created chroot setup in redhat8 (32-bit OS) and bundled the chroot setup as a zip. Then extracted the bundle in ubuntu flavor(64-bit OS). Then copied the necessary local files like '/etc/passwd', '/etc/group', host, host.conf etc.., in to the CHROOT setup and tried running the apache in the chroot jail by the command '/usr/sbin/chroot /CHROOT/ /apache/bin/httpd -k start'. But this failed with the below error

/apache/bin/httpd: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

Can any one know why this error occurs. Any idea?
 
Old 06-06-2007, 01:51 AM   #2
slimm609
Member
 
Registered: May 2007
Location: Chas, SC
Distribution: slackware, gentoo, fedora, LFS, sidewinder G2, solaris, FreeBSD, RHEL, SUSE, Backtrack
Posts: 430

Rep: Reputation: 67
did you copy over the required library files for apache?
also did you copy over apache from the redhat server or did you copy the ubuntu one?

if you need a list of them all run ldd httpd

Last edited by slimm609; 06-06-2007 at 01:52 AM.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 05:10 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
mplayer: error while loading shared libraries: libdvdread.so.3: cannot open shared ob Bruce Hill Slackware 6 12-11-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:15 PM.

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