Skip to content

undefined reference to `boost::system::detail::system_category_instance' #5

@pearu

Description

@pearu
[ 39%] Linking CXX executable ../bin/omnisci_sd_server
../Shared/libShared.a(Logger.cpp.o): In function `boost::system::system_category()':
/home/pearu/mconda3/envs/omniscidb-cpu-dev/lib/../include/boost/system/error_code.hpp:473: undefined reference to `boost::system::detail::system_category_instance'
CMakeFiles/omnisci_sd_server.dir/StringDictionaryServer.cpp.o: In function `boost::system::generic_category()':

As a solution, use

export CXXFLAGS="$CXXFLAGS -DBOOST_ERROR_CODE_HEADER_ONLY"

Note that this requires rerunning cmake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions