LinuxQuestions.org
Review your favorite Linux distribution.
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 08-25-2015, 01:50 PM   #1
pedrodiascarrilho
LQ Newbie
 
Registered: Aug 2015
Posts: 1

Rep: Reputation: Disabled
libXext.so - 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/libXext.so: 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:

LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \

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?
Cheers.
 
Old 08-25-2015, 10:14 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Manjaro
Posts: 8,922
Blog Entries: 14

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
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.

http://docs.slackware.com/slackware:..._off_slackware
http://www.slackbook.org/html/packag...utilities.html
 
  


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
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/libexpat.so: could not read symbols: File in wrong format GATTACA Fedora 1 06-21-2007 08:47 PM
/usr/lib/libfontconfig.so: could not read symbols: File in wrong format TrekJunky Linux - Newbie 2 10-01-2006 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration