LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   error while loading shared libraries: libpthread.so.0 (https://www.linuxquestions.org/questions/linux-general-1/error-while-loading-shared-libraries-libpthread-so-0-a-559518/)

balamurugan_r83 06-06-2007 01:41 AM

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?

slimm609 06-06-2007 01:51 AM

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


All times are GMT -5. The time now is 11:11 AM.