Subject: [Boost-bugs] [Boost C++ Libraries] #1312: boost::filesystem link error on mac os x
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-10-10 16:56:25
#1312: boost::filesystem link error on mac os x
-------------------------------------+--------------------------------------
Reporter: alexott_at_[hidden] | Owner: bemandawes
Type: Bugs | Status: new
Milestone: To Be Determined | Component: filesystem
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
On Mac OS X 10.4 with latest patches i has following error, when i try to
link my application with libboost_filesystem (this application links
successful on Linux):
g++ -g -O2 -fexceptions -DDEBUG -Wall -Werror -g -O2 -I/Users/ott/exp/lib
-L/Users/ott/exp/lib -L/usr/lib -lboost_system-mt -lboost_filesystem-mt
-lboost_regex-mt -lboost_program_options-mt -lboost_serialization-mt
-I/Users/ott/exp/lib -o gsb-redirector gsb-redirector.o md5.o common.o
/usr/bin/ld: warning can't open dynamic library:
bin.v2/libs/system/build/darwin/release/threading-multi/libboost_system-
mt.dylib referenced from: /Users/ott/exp/lib/libboost_filesystem-mt.dylib
(checking for undefined symbols may be affected) (No such file or
directory, errno = 2)
/usr/bin/ld: Undefined symbols:
boost::system::get_posix_category() referenced from libboost expected
to be defined in bin.v2/libs/system/build/darwin/release/threading-multi/
libboost_system-mt.dylib
boost::system::get_system_category() referenced from libboost expected
to be defined in bin.v2/libs/system/build/darwin/release/threading-multi/
libboost_system-mt.dylib
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1312>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC