LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-25-2006, 01:00 AM   #1
jasperphang
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
Cannot load DSO (32bit) in 64bit CentOS


I recently would like to port my application to 64bit AMD CentOS.

I got the following error when trying to load my application, a DSO compiled with 32 bit compiler.


Error Message:
Starting httpd: Syntax error on line 1026 of /etc/httpd/conf/httpd.conf:
Cannot load /var/www/html/dstool/libTool.so into server:
/var/www/html/dstool/libTool.so: cannot open shared object file: No such file or directory
[FAILED]


Appreciate for someone to cast light to this issue.
 
Old 07-26-2006, 12:54 PM   #2
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
Did you compile your app on a 32 bit machine, or did you compile it on the 64 bit machine?

32 bit apps sometimes have issues running in a 64 bit environment.
 
Old 07-26-2006, 10:15 PM   #3
jasperphang
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I compiled it in 32-bit machine.

I've problem trying to install Kylix in 64 bit CentOS.
 
Old 07-27-2006, 12:18 AM   #4
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
Hmm... looking at your error message again, it seems that there's something wrong in your httpd.conf at line 1026... Seems to be a missing library. I don't know which one though, you might want to google for libTool.so


as for Kylix, do they have a 64 bit version? you might have to run it in a 32 bit chroot.
 
Old 07-27-2006, 04:56 AM   #5
jasperphang
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry, libTool.so is my DSO module.

Apache can't find it.

Kylix doesn't have a 64bit version.

What do you mean by run it in a 32 bit chroot?
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
32Bit or 64bit? astrotrain1 Linux - Hardware 6 06-26-2006 01:27 PM
can 64bit processor run both 64bit and 32bit computers? DJOtaku Linux - General 4 09-08-2005 08:14 PM
64bit or 32bit ginger.fish0 Ubuntu 3 09-01-2005 05:12 PM
32bit on 64bit paralysis Linux From Scratch 2 06-02-2005 03:19 PM
32bit to 64bit kirk1975 Linux - Newbie 1 10-20-2004 05:14 AM


All times are GMT -5. The time now is 12:13 PM.

Main Menu
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