Opened 15 years ago
Closed 15 years ago
#1312 closed Bugs (worksforme)
boost::filesystem link error on mac os x
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | Boost 1.35.0 | Component: | filesystem |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
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
Change History (1)
comment:1 by , 15 years ago
Milestone: | To Be Determined → Boost 1.35.0 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
All filesystem tests are passing for all three of our Darwin Boost regression testers.
Thus I'm closing this ticket as pilot error.
I don't know enough about linking on the Mac to know what's wrong. Perhaps ask for help on the boost-users list?
--Beman