I have installed the libboost recently in my Ubuntu 10.04.3 using the command

sudo apt-get install libboost-all-dev

It installed the boost version 1.40. I think all the environment variables are correctly defined. But when I am building a benchmark which uses boost internally is returning the following error..

rm -f ../common; ln -s /home/sai/NVIDIA_GPU_Computing_SDK/C/common ../common;
export BINDIR=/home/sai/gpgpu-sim/ispass2009-benchmarks/bin/;
export ROOTDIR=/home/sai/NVIDIA_GPU_Computing_SDK/C/src/;
export BINSUBDIR=release;
export BOOST_LIB=/usr/lib; export BOOST_ROOT=/usr/include;
export BOOST_VER=""; export OPENMPI_BINDIR=/usr/bin/;
make noinline=0 -C AES
make[1]: Entering directory `/home/sai/gpgpu-sim/ispass2009-benchmarks/AES'
/usr/bin/ld: /usr/lib/libboost_filesystem.so: undefined reference to symbol 'boost::system::get_system_category()

/usr/bin/ld: note: 'boost::system::get_system_category()' is defined in DSO /usr/lib/libboost_system.so.1.40.0 so try adding it to the linker command line
/usr/lib64/libboost_system.so.1.40.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: **[/home/sai/gpgpu-sim/ispass2009-benchmarks/bin//release/AES] Error 1
make[1]: Leaving directory `/home/sai/gpgpu-sim/ispass2009-benchmarks/AES'
make: ** [default] Error 2

What is the problem with it.

Is there any problem with my environment variables or of the paths in make file. Can anyone please help me....
Thanks in advance..