Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22194

BOOST programm options error when importing in python

$
0
0

I have a boost module called arachne, when importing this module in a python script called submitArachne I get the follwoing error: Kolophon/shlib/arachne/arachne.so: undefined symbol: _ZNK5boost15program_options22error_with_option_name4whatEv

I was not able to find any documentation from boost regarding this error. Since this is a undefined symbol error, I feel like this is a compiler problem / linker problem. I set the linker flags as follows:

BOOSTLIBS     = -L$(BOOSTLIB_DIR)BOOSTLIBS    += -lboost_python39 -lboost_program_options -lboost_filesystem -lboost_system MYLIBS       += $(PYTHONLIBS) $(BOOSTLIBS)

I am currently using gcc/8.3.0 and Boost/1.78.0. The python version is Python/3.9.12.

I was not able to find any possible solutions/documentation regarding this error. I hope that someone has an idea what could be going wrong here.

I already played a little bit with the linker flags but I was not able to find a solution to this unique problem.


Viewing all articles
Browse latest Browse all 22194

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>