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 03-10-2006, 02:29 AM   #1
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
libexpat.so in wrong format when compiling Apache 2.2 under openSuSE 10


Hello,

What could have caused libexapt.so to be in a wrong format? I downloaded httpd-2.2.0.tar.bz2 from apache in order to install Apache 2.2 but trying to run 'make' after a simple configuration causes the error shown below:

Code:
/usr/lib/libexpat.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libaprutil-1.la] Error 1
make[3]: Leaving directory `/home/basel/temp/httpd-2.2.0/srclib/apr-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/basel/temp/httpd-2.2.0/srclib/apr-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/basel/temp/httpd-2.2.0/srclib'
make: *** [all-recursive] Error 1

basel@linux:~/temp/httpd-2.2.0> file -i /usr/lib/libexpat.so
/usr/lib/libexpat.so: application/x-not-regular-file
basel@linux:~> ls -l /usr/lib/libexpat.so
lrwxrwxrwx  1 root root 17 2006-03-10 11:08 /usr/lib/libexpat.so -> libexpat.so.0.5.0
basel@linux:~> ls -l /usr/lib/libexpat.so.0.5.0
-rwxr-xr-x  1 root root 127428 2005-09-09 19:05 /usr/lib/libexpat.so.0.5.0
basel@linux:~> file -i /usr/lib/libexpat.so.0.5.0
/usr/lib/libexpat.so.0.5.0: application/x-sharedlib, stripped
basel@linux:~>
I have both expat and expat-32bit installed under the 64 bit version of openSuSE 10. I did an update of these two packages under Yast but the error still shows up.
 
Old 03-11-2006, 12:49 AM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
You answered your own question: your /usr/lib/libexpat.so is probably a 64-bit library, and it sounds like Apache wants a 32-bit ELF file. Or maybe vice versa.

The first step in building Apache after you download the source is to run "configure". There are certainly options for controlling 32-bit vs 64-bit, and for controlling which directory it will search for libraries.

'Hope that helps .. PSM
 
  


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
where i can download libexpat.so.1 icoming Linux - Software 3 10-03-2006 09:13 PM
libexpat.so.4 not found Lurker01 *BSD 9 09-08-2004 08:45 PM
svgalib module - wrong format lukebeales Linux - Software 2 08-27-2004 09:34 AM
Bug report: wrong date/time format in last visited wipe LQ Suggestions & Feedback 0 07-29-2004 06:21 AM
the format of the date in stat in wrong rhuser Programming 9 03-16-2003 12:46 PM


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