Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-10-2006, 03:29 AM   #1
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

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


What could have caused 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:

/usr/lib/ could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [] 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/
/usr/lib/ application/x-not-regular-file
basel@linux:~> ls -l /usr/lib/
lrwxrwxrwx  1 root root 17 2006-03-10 11:08 /usr/lib/ ->
basel@linux:~> ls -l /usr/lib/
-rwxr-xr-x  1 root root 127428 2005-09-09 19:05 /usr/lib/
basel@linux:~> file -i /usr/lib/
/usr/lib/ application/x-sharedlib, stripped
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, 01:49 AM   #2
LQ 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/ 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


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

All times are GMT -5. The time now is 06:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration