Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Error while compiling software

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
pironman
Posts: 20
Joined: 2018-04-16 11:11

Error while compiling software

#1 Post by pironman »

Hi to everyone.
I'm try to compile BRL-CAD (because it is not in repository) by following these instructions:

http://brlcad.org/wiki/Compiling

and I have that error

Code: Select all

[ 45%] Linking CXX shared library ../../lib/librt.so
/usr/bin/ld: ../../lib/libbrep.so.20.0.1: invalid string offset 2608985768 >= 33227 for section `.dynstr'
../../lib/libbrep.so.20.0.1: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
src/librt/CMakeFiles/librt.dir/build.make:490: set di istruzioni per l'obiettivo "lib/librt.so.20.0.1" non riuscito
make[2]: *** [lib/librt.so.20.0.1] Errore 1
CMakeFiles/Makefile2:15610: set di istruzioni per l'obiettivo "src/librt/CMakeFiles/librt.dir/all" non riuscito
make[1]: *** [src/librt/CMakeFiles/librt.dir/all] Errore 2
Makefile:160: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2
Anyone can help me?

Thank you

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Error while compiling software

#2 Post by arochester »

Do you have a particular reason for compiling? Why not just download and install the .deb? >>> https://sourceforge.net/projects/brlcad ... ux/7.26.4/

pironman
Posts: 20
Joined: 2018-04-16 11:11

Re: Error while compiling software

#3 Post by pironman »

No reason, simply I never compile, and I want to try :mrgreen:

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Error while compiling software

#4 Post by Wheelerof4te »

The only reasons for compiling software are:
1. There is no other way to obtain it.
2. For enabling certain build options that are disabled by default.
Nevertheless, if you really want to learn, Debian wiki has the answer how:
https://wiki.debian.org/BuildingTutorial

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Error while compiling software

#5 Post by stevepusser »

The deb is not compatible with Stretch, since it wants libpng12-0.
MX Linux packager and developer

pironman
Posts: 20
Joined: 2018-04-16 11:11

Re: Error while compiling software

#6 Post by pironman »

Confirm, I try to install the .deb but didn't work.
I try to recompile, with a tar.bz2 downloaded from sourceforge (instead of svn) ant it works, but... not enable x11 support, then it is unusable.
Why happen that?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Error while compiling software

#7 Post by stevepusser »

Note that I was able to install the deb on Stretch-based MX 17, but I noticed it pulling in a jessie-versioned libpng12-0. I was able to track that down to the antiX repo that MX also uses, where it had apparently been added previously to support another old application. That's the base of my thinking that you can just download and install the Jessie package from packages.debian.org to satisfy the deb...which seems to me to be much less of a headache that trying to compile BRL from source. Make sure to use gdebi or apt to manually install the Jessie deb package.
MX Linux packager and developer

Post Reply