|
Boost Users : |
Subject: [Boost-users] Linker error with boost::serialization
From: Stephen Gray (riskybizlive_at_[hidden])
Date: 2015-09-10 17:05:31
Using Debian Jessie (64bit) I've just built Boost 1.56 from source. Whilst compiling an application I'm getting the error;
g++ -o ./Release/sdCloneServer @"sdCloneServer.txt" -L. -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu -lpthread -lzmq -lboost_date_time -lboost_serialization./Release/sdCloneServer_sdCloneServer.cpp.o: In function `boost::archive::detail::common_iarchive<boost::archive::text_iarchive>::vload(boost::archive::class_name_type&)':sdCloneServer.cpp:(.text._ZN5boost7archive6detail15common_iarchiveINS0_13text_iarchiveEE5vloadERNS0_15class_name_typeE[_ZN5boost7archive6detail15common_iarchiveINS0_13text_iarchiveEE5vloadERNS0_15class_name_typeE]+0x1): undefined reference to `boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::load_override(boost::archive::class_name_type&)'collect2: error: ld returned 1 exit status
I've tried manipulating the order in which the libraries are listed in the complier command but without success. Can anyone please offer suggestions on what is wrong and how to resolve this?
With thanks.
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