boost filesystem library files can not be linked

Peng Yu pengyu.ut at
Tue Jun 15 19:54:39 UTC 2010

On Mon, Jun 14, 2010 at 11:31 PM, Nils Kassube <kassube at> wrote:
> Peng Yu wrote:
>> My ubuntu is 10.04. boost was installed from apt-get.
> What exactly did you install? I can't find a package "boost".
>> I compiled the following code. But the library is not available to
>> link. I don't find where the library files are. Do I need to install
>> some other package in order to get the libraries?
> If you want to compile your own code, you usually need to install the
> appropriate -dev packages. I suppose you need libboost-dev in this case,
> maybe others as well.

I've already installed the boost packages according to the following
message. I expect that I don't need to provide -L options as I don't
need to provide the -I option to g++. As shown in my previous email,
it is due to a link problem. Therefore, it has some problem of finding
the library file. I looked at /usr/lib, but I don't find any library
libboost*.so. I'm wondering if the libraries are installed somewhere
else that I'm not aware of. Would you please check where libboost*.so
are installed in your ubuntu system?


More information about the ubuntu-users mailing list