Linked Questions
21 questions linked to/from undefined reference to boost::system::system_category() when compiling
2
votes
1
answer
4k
views
Resolving "undefined reference" compilation errors of Boost C++ code in Ubuntu [duplicate]
From my terminal session:
Go Trojans >make all
g++ -static -I/usr/include/boost -I/usr/include/boost/filesystem get_sys_info.cpp
/tmp/cc6nK9EV.o: In function `...
1
vote
1
answer
2k
views
BOOST link error undefined reference to `boost::system::system_category()' [duplicate]
Built Boost 1.75.0 and cannot link my application. I used the same scenario/build and it works for Boost 1.67.0 . I have looked at many similar post but no luck with the answers.
main.o is before the ...
0
votes
1
answer
264
views
Built and static linked boost modules causes a bunch of linker errors with shutdown_service() [duplicate]
I'm trying to get select boost modules built and into my code as static libraries for what we need for our project. I seem to be able to get them to build using their Boost.Build system, and my ...
1
vote
0
answers
254
views
Need some help figuring out compile-time error: 'Undefined symbols for architecture x86_64: "boost::system::system_category()"' [duplicate]
I've been trying to get the boost library into the C++ program I'm making in XCode 6.0 and the instructions I've been following are these ones. The library I need is filesystem and I'm aware that I ...
1813
votes
40
answers
989k
views
What is an undefined reference/unresolved external symbol error and how do I fix it?
What are undefined reference/unresolved external symbol errors? What are common causes, and how do I fix and prevent these errors?
104
votes
13
answers
142k
views
C++ Boost: undefined reference to boost::system::generic_category()
I am trying to include Boost libraries in my project and have been facing issues in the same. I am on Ubuntu 12.10 with Codeblocks IDE and tried installing the libraries manually reading instructions ...
30
votes
4
answers
34k
views
Get rid of "gcc - /usr/bin/ld: warning lib not found"
I have the following warning during link:
/usr/bin/ld: warning: libxxx.so.6, needed by /a/b/c/libyyy.so, not found (try using -rpath or -rpath-link)
Setting environment variable LD_LIBRARY_PATH=...
20
votes
1
answer
28k
views
why "undefined reference to `boost::system::generic_category" even if I do link against boost_system
I would understand this error message if I had not put the -lboost_system flag, but it is really here:
g++ -o build/myproject build/main/main.o -L/usr/local/boost/boost_1_52_0/boost/libs -L/usr/lib -...
23
votes
2
answers
27k
views
Howto add a link to a library in autoconf configure script / makefile
I am an autotools newb
and I have difficulties figuring out howto easily
link a specific library into one of the configured targets.
I have a source package that I want to build the usual way:
./...
12
votes
2
answers
10k
views
Failed linking to boost library with CMake generated project file for MSVC9
I'm trying to build an application with boost library by creating a MSVC9.0 project files with CMake.
I get the following error:
Error 3 fatal error LNK1104: cannot open file 'libboost_system-...
2
votes
2
answers
6k
views
how to install mongodb drivers for c++ in ubuntu?
I want to develop a fairly simple application using c++ for mongoDB and I follow their tutorials :
http://www.mongodb.org/pages/viewpage.action?pageId=133415
and for installing driver I followed this ...
2
votes
2
answers
4k
views
How do I troubleshoot boost library/header inclusion via autoconf/automake?
I'm new to autom4te, and I'm trying to use autoconf/automake to build and link a C++ program on multiple architectures. Complicating the linking is the fact that the project requires boost (filesystem,...
2
votes
1
answer
8k
views
Boost 1.51 : "error: could not link against boost_thread !"
After I've installed boost for cufflinks, I ran ./configure. I am getting the following error:
checking for exit in -lboost_thread... no
checking for exit in -lboost_thread... (cached) no
checking ...
-1
votes
2
answers
2k
views
C++ Boost: undefined reference to `boost::system::detail::system_category_ncx()`
I am trying to use Microsoft REST SDK to create a server listening to HTTP requests. My current computer is Ubuntu 18.04, the server code is pretty simple.
I have already installed the library by ...
0
votes
1
answer
920
views
Android Studio linker command failed while including Boost libraries
To be frank I'm at my wit's end and I really need a place to crash. While compiling I am keeping getting a
error: linker command failed with exit code 1 (use -v to see invocation)
I presume it ...