Latest LQ Deal: Latest LQ Deals
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 08-25-2015, 01:50 PM   #1
LQ Newbie
Registered: Aug 2015
Posts: 1

Rep: Reputation: Disabled - file wrong format

Hi people.
Been trying to install some dependencies for FreeCAD on Slackware64 (multilib enabled). And most of them give me this error when compiling via Sbopkg:

/usr/lib/ could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [simple] Error 1
make[2]: Leaving directory `/tmp/SBo/ftgl-2.1.3~rc5/demo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/ftgl-2.1.3~rc5'
make: *** [all] Error 2

I tried several tips given all over the web, including pasting this to the Slackbuilds script:


as instructed on AlienBob's multilib FAQ.
I'm a noob, so I don't know exactly what i'm doing, can anyone give me some help?
Old 08-25-2015, 10:14 PM   #2
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Hi & Welcome to Linux Questions.

Looking at the SlackBuilds page you will need to install these dependencies.
FreeCAD requires xerces-c, Coin, SoQt, Pivy, and OpenCASCADE

Install the dependencies in order and than install install FreeCAD.

If you want to install package A and it depends on B which depends on C, you have to install C before you can install B before you can install A.

After running the SlackBuilds script you should have a package with the SBo.tgz extention in your /tmp directory.
From the /tmp directory you should be able to use installpkg to install the first dependency.
<OR> you can use pkgtool to install the package.

The error says that the file is in the wrong format ".so" and it should be .tgz.


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
Glade compile error, could not read symbols: File in wrong format Lethys Slackware 5 10-01-2016 06:28 AM
[SOLVED] File in wrong format while during Slackbuilds, 13.37 64bit with multilib tradet Slackware 7 08-06-2011 01:07 PM
Fedora 7 64bit /usr/lib/ could not read symbols: File in wrong format GATTACA Fedora 1 06-21-2007 08:47 PM
/usr/lib/ could not read symbols: File in wrong format TrekJunky Linux - Newbie 2 10-01-2006 07:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:26 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
Open Source Consulting | Domain Registration