Boost logo

Boost Users :

Subject: [Boost-users] Boost archive import error.
From: Stephen Gray (riskybizlive_at_[hidden])
Date: 2019-03-01 14:13:57


Dear boost-users,

On Debian 8 I've compiled a Python extension written in c++ using pip install against Boost_1_66_0.

My source code includes:

#include "boost/archive/text_iarchive.hpp"
#include "boost/archive/text_oarchive.hpp"
#include "boost/serialization/map.hpp"
#include "boost/serialization/deque.hpp"

At runtime I receive the error:

ImportError: /home/stephen/envs/pyclonestream/lib/python3.4/site-packages/pyclonestream.cpython-34m.so: undefined symbol: _ZN5boost7archive18text_iarchive_implINS0_13text_iarchiveEE13load_overrideERNS0_15class_name_typeEi

I don't know what's wrong here.

Please, any suggestions to fix the issue?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net