Boost C++ Libraries: Ticket #1312: boost::filesystem link error on mac os x https://svn.boost.org/trac10/ticket/1312 <p> 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): </p> <p> 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 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1312 Trac 1.4.3 Beman Dawes Fri, 02 Nov 2007 19:41:17 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/1312#comment:1 https://svn.boost.org/trac10/ticket/1312#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.35.0</span> </li> </ul> <p> All filesystem tests are passing for all three of our Darwin Boost regression testers. </p> <p> Thus I'm closing this ticket as pilot error. </p> <p> I don't know enough about linking on the Mac to know what's wrong. Perhaps ask for help on the boost-users list? </p> <p> --Beman </p> Ticket