Boost logo

Boost Users :

From: Ashish Agrawal (ashish.agr82_at_[hidden])
Date: 2008-04-21 07:18:44


Hi Users,

I am very new user of Boost libraries. I am facing a problem while I am
running a sample code of filesystem. My system is MAC OS X 10.4.11.

I am executing following command for the attached .cpp file:

c++ -I/usr/local/include/boost-1_35 test.cpp -o test \
   /usr/local/lib/libboost_filesystem-mt-1_35.dylib

I am getting following errors:

/usr/bin/ld: warning can't open dynamic library:
libboost_system-mt-1_35.dylib referenced from:
/usr/local/lib/libboost_filesystem-mt-1_35.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()
boost::system::get_system_category()
boost::system::get_posix_category() referenced from libboost expected to
be defined in libboost_system-mt-1_35.dylib
boost::system::get_system_category() referenced from libboost expected
to be defined in libboost_system-mt-1_35.dylib
collect2: ld returned 1 exit status

Thanks a lot in advance.

-- 
Ashish Kumar Agrawal
+41-76-358-5982





Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net