Re: games/wesnoth: How to cope with "invalid DSO for symbol `_ZN5boost6system15system_categoryEv'"
On 1/14/2015 2:34 AM, Torsten Zuehlsdorff wrote: > On 13.01.2015 22:04, Bryan Drewery wrote: >> On 1/9/2015 5:18 AM, Torsten Zuehlsdorff wrote: >>> [ 3%] mo-update [wesnoth-dw-ar]: Creating mo file. >>> /usr/bin/ld: g: invalid DSO for symbol >>> `_ZN5boost6system15system_categoryEv' definition >>> /usr/local/lib/libboost_system.so.1.55.0: could not read symbols: Bad >>> value >>> c++: error: linker command failed with exit code 1 (use -v to see >>> invocation) >>> --- cutter --- >> >> Usually this means -lboost_system is missing from the linker line. >> Recent binutils in recent FreeBSD head has been patched to be more clear >> about it. > > As you can see from the output of "pkg info" i have the most recent > binutils installed. At an FreeBSD 10.1 - also the most recent released > version. > > Therefore i don't understand your comment. Can you explain it further? > Whats your advice? Remove this line because it should work? Or keep the > line for compatibility reasons? > > Greetings, > Torsten "recent head" means the development version of FreeBSD, aka FreeBSD 11. Not 10.1. The binutils I speak of is not from ports, it is in the base system. -- Regards, Bryan Drewery ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: games/wesnoth: How to cope with "invalid DSO for symbol `_ZN5boost6system15system_categoryEv'"
On Wed, 14 Jan 2015 09:34:11 +0100 Torsten Zuehlsdorff wrote: > On 13.01.2015 22:04, Bryan Drewery wrote: > > On 1/9/2015 5:18 AM, Torsten Zuehlsdorff wrote: > >> [ 3%] mo-update [wesnoth-dw-ar]: Creating mo file. > >> /usr/bin/ld: g: invalid DSO for symbol > >> `_ZN5boost6system15system_categoryEv' definition > >> /usr/local/lib/libboost_system.so.1.55.0: could not read symbols: > >> Bad value c++: error: linker command failed with exit code 1 (use > >> -v to see invocation) > >> --- cutter --- > > > > Usually this means -lboost_system is missing from the linker line. > > Recent binutils in recent FreeBSD head has been patched to be more > > clear about it. > > As you can see from the output of "pkg info" i have the most recent > binutils installed. At an FreeBSD 10.1 - also the most recent > released version. > > Therefore i don't understand your comment. Can you explain it > further? Whats your advice? Remove this line because it should work? > Or keep the line for compatibility reasons? > Basically it comes down to this (too lazy to search for a better source/explanation): http://fedoraproject.org/wiki/UnderstandingDSOLinkChange -- Michael Gmelin ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: games/wesnoth: How to cope with "invalid DSO for symbol `_ZN5boost6system15system_categoryEv'"
On 13.01.2015 22:04, Bryan Drewery wrote: On 1/9/2015 5:18 AM, Torsten Zuehlsdorff wrote: [ 3%] mo-update [wesnoth-dw-ar]: Creating mo file. /usr/bin/ld: g: invalid DSO for symbol `_ZN5boost6system15system_categoryEv' definition /usr/local/lib/libboost_system.so.1.55.0: could not read symbols: Bad value c++: error: linker command failed with exit code 1 (use -v to see invocation) --- cutter --- Usually this means -lboost_system is missing from the linker line. Recent binutils in recent FreeBSD head has been patched to be more clear about it. As you can see from the output of "pkg info" i have the most recent binutils installed. At an FreeBSD 10.1 - also the most recent released version. Therefore i don't understand your comment. Can you explain it further? Whats your advice? Remove this line because it should work? Or keep the line for compatibility reasons? Greetings, Torsten ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: games/wesnoth: How to cope with "invalid DSO for symbol `_ZN5boost6system15system_categoryEv'"
On 1/9/2015 5:18 AM, Torsten Zuehlsdorff wrote: > [ 3%] mo-update [wesnoth-dw-ar]: Creating mo file. > /usr/bin/ld: g: invalid DSO for symbol > `_ZN5boost6system15system_categoryEv' definition > /usr/local/lib/libboost_system.so.1.55.0: could not read symbols: Bad value > c++: error: linker command failed with exit code 1 (use -v to see > invocation) > --- cutter --- Usually this means -lboost_system is missing from the linker line. Recent binutils in recent FreeBSD head has been patched to be more clear about it. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature
Re: games/wesnoth: How to cope with "invalid DSO for symbol `_ZN5boost6system15system_categoryEv'"
On 10.01.2015 09:05, Torsten Zühlsdorff wrote: What is the output of the following command on both computers (the one it works on and the one it doesn't)? # pkg info boost-libs At the moment i just have access to the *not* working one. I try to find time at the weekend to look up the information at the other one. Because i don't know if you can already see something, i post the requested info for the *not* working one directly: === start === [output] === end === As you can see they just differ in Architecture. After some searching and trying i can confirm, that adding this line fix the problem: LDFLAGS+= -L${LOCALBASE}/lib -lboost_system I don't understand why, but that's a huge step forward :) Next step: cleaning the pkg-plist :) Greetings, Torsten ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: games/wesnoth: How to cope with "invalid DSO for symbol `_ZN5boost6system15system_categoryEv'"
On 09.01.2015 14:06, Torsten Zuehlsdorff wrote: On 09.01.2015 13:49, Ben Woods wrote: What is the output of the following command on both computers (the one it works on and the one it doesn't)? # pkg info boost-libs At the moment i just have access to the *not* working one. I try to find time at the weekend to look up the information at the other one. Because i don't know if you can already see something, i post the requested info for the *not* working one directly: === start === root@hera:/usr/ports/games/wesnoth # pkg info boost-libs boost-libs-1.55.0_4 Name : boost-libs Version: 1.55.0_4 Installed on : Fri Jan 9 10:56:10 CET 2015 Origin : devel/boost-libs Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : devel Licenses : Maintainer : off...@freebsd.org WWW: http://www.boost.org/ Comment: Free portable C++ libraries (without Boost.Python) Options: DEBUG : off ICU: on OPTIMIZED_CFLAGS: on VERBOSE_BUILD : off Shared Libs required: libicuuc.so.53 libicui18n.so.53 libicudata.so.53 Shared Libs provided: libboost_wserialization.so.1.55.0 libboost_wave.so.1.55.0 libboost_unit_test_framework.so.1.55.0 libboost_timer.so.1.55.0 libboost_thread.so.1.55.0 libboost_system.so.1.55.0 libboost_signals.so.1.55.0 libboost_serialization.so.1.55.0 libboost_regex.so.1.55.0 libboost_random.so.1.55.0 libboost_program_options.so.1.55.0 libboost_prg_exec_monitor.so.1.55.0 libboost_math_tr1f.so.1.55.0 libboost_math_tr1.so.1.55.0 libboost_math_c99f.so.1.55.0 libboost_math_c99.so.1.55.0 libboost_log_setup.so.1.55.0 libboost_log.so.1.55.0 libboost_locale.so.1.55.0 libboost_iostreams.so.1.55.0 libboost_graph.so.1.55.0 libboost_filesystem.so.1.55.0 libboost_date_time.so.1.55.0 libboost_coroutine.so.1.55.0 libboost_context.so.1.55.0 libboost_chrono.so.1.55.0 libboost_atomic.so.1.55.0 Annotations: repo_type : binary repository : anyDevelopment Flat size : 132MiB Description: [Description] === end === And here the working one: === start === boost-libs-1.55.0_4 Name : boost-libs Version: 1.55.0_4 Installed on : Sat Dec 20 13:29:36 CET 2014 Origin : devel/boost-libs Architecture : freebsd:10:x86:32 Prefix : /usr/local Categories : devel Licenses : Maintainer : off...@freebsd.org WWW: http://www.boost.org/ Comment: Free portable C++ libraries (without Boost.Python) Options: DEBUG : off ICU: on OPTIMIZED_CFLAGS: on VERBOSE_BUILD : off Shared Libs required: libicuuc.so.53 libicui18n.so.53 libicudata.so.53 Shared Libs provided: libboost_wserialization.so.1.55.0 libboost_wave.so.1.55.0 libboost_unit_test_framework.so.1.55.0 libboost_timer.so.1.55.0 libboost_thread.so.1.55.0 libboost_system.so.1.55.0 libboost_signals.so.1.55.0 libboost_serialization.so.1.55.0 libboost_regex.so.1.55.0 libboost_random.so.1.55.0 libboost_program_options.so.1.55.0 libboost_prg_exec_monitor.so.1.55.0 libboost_math_tr1f.so.1.55.0 libboost_math_tr1.so.1.55.0 libboost_math_c99f.so.1.55.0 libboost_math_c99.so.1.55.0 libboost_log_setup.so.1.55.0 libboost_log.so.1.55.0 libboost_locale.so.1.55.0 libboost_iostreams.so.1.55.0 libboost_graph.so.1.55.0 libboost_filesystem.so.1.55.0 libboost_date_time.so.1.55.0 libboost_coroutine.so.1.55.0 libboost_context.so.1.55.0 libboost_chrono.so.1.55.0 libboost_atomic.so.1.55.0 Annotations: repo_type : binary repository : Laptop Flat size : 126MiB Description: [Description] === end === As you can see they just differ in Architecture. Greetings, Torsten ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: games/wesnoth: How to cope with "invalid DSO for symbol `_ZN5boost6system15system_categoryEv'"
On 09.01.2015 13:49, Ben Woods wrote: What is the output of the following command on both computers (the one it works on and the one it doesn't)? # pkg info boost-libs At the moment i just have access to the *not* working one. I try to find time at the weekend to look up the information at the other one. Because i don't know if you can already see something, i post the requested info for the *not* working one directly: === start === root@hera:/usr/ports/games/wesnoth # pkg info boost-libs boost-libs-1.55.0_4 Name : boost-libs Version: 1.55.0_4 Installed on : Fri Jan 9 10:56:10 CET 2015 Origin : devel/boost-libs Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : devel Licenses : Maintainer : off...@freebsd.org WWW: http://www.boost.org/ Comment: Free portable C++ libraries (without Boost.Python) Options: DEBUG : off ICU: on OPTIMIZED_CFLAGS: on VERBOSE_BUILD : off Shared Libs required: libicuuc.so.53 libicui18n.so.53 libicudata.so.53 Shared Libs provided: libboost_wserialization.so.1.55.0 libboost_wave.so.1.55.0 libboost_unit_test_framework.so.1.55.0 libboost_timer.so.1.55.0 libboost_thread.so.1.55.0 libboost_system.so.1.55.0 libboost_signals.so.1.55.0 libboost_serialization.so.1.55.0 libboost_regex.so.1.55.0 libboost_random.so.1.55.0 libboost_program_options.so.1.55.0 libboost_prg_exec_monitor.so.1.55.0 libboost_math_tr1f.so.1.55.0 libboost_math_tr1.so.1.55.0 libboost_math_c99f.so.1.55.0 libboost_math_c99.so.1.55.0 libboost_log_setup.so.1.55.0 libboost_log.so.1.55.0 libboost_locale.so.1.55.0 libboost_iostreams.so.1.55.0 libboost_graph.so.1.55.0 libboost_filesystem.so.1.55.0 libboost_date_time.so.1.55.0 libboost_coroutine.so.1.55.0 libboost_context.so.1.55.0 libboost_chrono.so.1.55.0 libboost_atomic.so.1.55.0 Annotations: repo_type : binary repository : anyDevelopment Flat size : 132MiB Description: Boost provides free peer-reviewed portable C++ source libraries. The emphasis is on libraries that work well with the C++ Standard Library. Boost libraries are intended to be widely useful, and usable across a broad spectrum of applications. The Boost license encourages both commercial and non-commercial use. The goal is to establish "existing practice" and provide reference implementations so that Boost libraries are suitable for eventual standardization. Ten Boost libraries are already included in the C++ Standards Committee's Library Technical Report (TR1) and will be in the new C++0x Standard now being finalized. C++0x will also include several more Boost libraries in addition to those from TR1. More Boost libraries are proposed for TR2. NOTE: This package does not contain Boost.Python, it's in 'devel/boost-python-libs'. WWW: http://www.boost.org/ === end === Greetings, Torsten ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: games/wesnoth: How to cope with "invalid DSO for symbol `_ZN5boost6system15system_categoryEv'"
What is the output of the following command on both computers (the one it works on and the one it doesn't)? # pkg info boost-libs ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"