Boost logo

Boost Users :

From: Eric (eric-public_at_[hidden])
Date: 2005-05-30 11:41:36


Try adding -L/usr/lib (or -L/usr/lib32) to tell gcc where the libraries are.

-Eric

> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of
> Tord Holmqvist
> Sent: Monday, May 30, 2005 4:24 AM
> To: boost-users_at_[hidden]
> 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_at_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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/bo> ost-users
>
>


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