Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-30-2006, 07:50 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: Linux Mint 19.1
Posts: 17

Rep: Reputation: 1
Unhappy /usr/lib/ could not read symbols: File in wrong format


Below is part of the output of the make command when trying to compile libgtkhtml-2.6.3. I cannot find any information as to why this keeps happening other than I am running Suse 10.1 64 bit and it is accessing a 32 bit library and file. I don't know how to tell make to look in the /usr/lib64/ directory for Somebody please help. Thanks.

/usr/lib/ could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[4]: *** [test-atoms] Error 1
make[4]: Leaving directory `/home/trekjunky/Documents/downloads/htm/libgtkhtml-2.6.3/libgtkhtml/util'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/trekjunky/Documents/downloads/htm/libgtkhtml-2.6.3/libgtkhtml/util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/trekjunky/Documents/downloads/htm/libgtkhtml-2.6.3/libgtkhtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/trekjunky/Documents/downloads/htm/libgtkhtml-2.6.3'
make: *** [all] Error 2

P.S. Please assume i don't know the syntax of any command, so if you offer a command, please include the syntax. Thanks!!!

Old 10-01-2006, 06:01 PM   #2
LQ Newbie
Registered: Oct 2006
Posts: 7

Rep: Reputation: 0
you could try running ./configure --help, that usually shows you a list of available commands. chech and see if you can find anything referring to the libfontconfig. there might be an option allowing you to specify the path of that lib.
Old 10-01-2006, 07:05 PM   #3
LQ Newbie
Registered: Aug 2003
Distribution: Linux Mint 19.1
Posts: 17

Original Poster
Rep: Reputation: 1
Unhappy Tried ./configure --help and got lots of options

There are many options but none mention libfontconfig. I tried ./configure --with-PACKAGE=/usr/lib64 then make, but it didn't work. I tried ./configure --includedir=/usr/lib64 then make, but that didn't work either. Does anyone have any more ideas? I would greatly appreciate it!!!!! Thanks in advance!!!!



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
kdevelop, hello world, /usr/lib/ could not read symbols: File in wrong fo runlevel: 6 Programming 2 05-04-2005 01:37 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-29-2004 12:33 AM
Access Denied Problem : Moving A File To usr/lib Help Please DozenEggs Linux - Newbie 5 08-22-2004 07:59 PM
no php.ini file under /usr/local/lib/ !! jogurt666 Linux - Software 1 12-16-2003 01:06 AM
grep: /usr/lib/ No such file or directory FirstTimeUser Linux - Software 9 10-15-2003 10:53 PM > Forums > Linux Forums > Linux - Newbie

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

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