Fails to build when not linking boost_system

Bug #1615181 reported by Sean Eubanks
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Asgard
Fix Committed
Undecided
Sean Eubanks

Bug Description

Attempt to build produces this output:

/usr/bin/ld: undefined reference to symbol `_ZN5boost6system15system_categoryEv' (try adding -lboost_system)
//usr/local/lib/libboost_system.so.1.55.0: could not read symbols: Bad value
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [asgard] Error 1
scons: building terminated because of errors.

Apparently, boost_system needs to be added to the sconscript file.

Am using Boost 1.55.0_10. Ran build on FreeBSD 10.3-RELEASE-p7.

Sean Eubanks (kkaos)
Changed in asgard:
assignee: nobody → Sean Eubanks (kkaos)
status: New → Fix Committed
Revision history for this message
Sean Eubanks (kkaos) wrote :

Because I'm using a different sconscript and sconstruct configuration on my machine, I'm choosing not to commit this change; however, I will note that adding "boost_system" to libarr[] in the sconscript file allowed my build to complete successfully, and I bet this addition will be needed for building successfully on other machines.

Revision history for this message
Sean Eubanks (kkaos) wrote :

The fix has been committed. Decided to implement logic into the sconstruct and sconscript files to handle the differences in OS.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.