Boost logo

Boost Users :

Subject: Re: [Boost-users] Failure to load boost libraries on Linux
From: storri (storri_at_[hidden])
Date: 2010-07-26 18:30:54


On Mon, 2010-07-26 at 11:28 +0100, David Aldrich wrote:
> Hi
>
> Please will some one help me with what is probably a simple Linux
> error?
>
> I have installed Boost 1.40 on Centos 5.3 using an rpm from
> blackopsoft.com.
>
> When I run my executable I get:
>
> Failed to load the following library files:
> [snip]
> dlerror = libboost_python.so.2: cannot open shared object file: No
> such file or directory
>
> Executing:
>
> /sbin/ldconfig -p | grep boost
>
> gives:
>
> libboost_python-mt.so.1.40.0 (libc6,x86-64)
> => /usr/lib64/libboost_python-mt.so.1.40.0
> libboost_python-mt.so (libc6,x86-64)
> => /usr/lib64/libboost_python-mt.so
> libboost_python-mt-d.so.1.40.0 (libc6,x86-64)
> => /usr/lib64/libboost_python-mt-d.so.1.40.0
> libboost_python-mt-d.so (libc6,x86-64)
> => /usr/lib64/libboost_python-mt-d.so
>
> Please can anyone suggest what is wrong?
>
> Best regards
>
> David
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

Personally I would build it from source. Its very easy on Linux. You can
just download the tarball from boost.org and follow the guide on the
site on how to build it.

>From the looks of the error message I cannot say for sure what is going
on. Can you post the entire message? I would say off the start its
looking for the non-multithreaded version.

Stephen


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