Try adding -L/usr/lib (or -L/usr/lib32) to tell gcc where the libraries are. -Eric
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Tord Holmqvist Sent: Monday, May 30, 2005 4:24 AM To: boost-users@lists.boost.org Subject: [Boost-users] simple_ls compile error
Just tried to install boost on my laptop and I can't seem to get it to work. (slack 10.1)
installed it with bjam "-sTOOLS=gcc" install
and it seems to have added itself in /usr/local/include and so on.
but when I try to build simple_ls.cpp I only get:
todelod@todelod2:~/hemma/my_little_project$ gcc simple_ls.cpp -lboost_filesystem
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-s lackware-linux/bin/ld: cannot find -lboost_filesystem collect2: ld returned 1 exit status
what am I doing wrong?? (going mad...)
/t
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/bo> ost-users