Boost logo

Boost :

From: Jeff Gray (jeffg_at_[hidden])
Date: 2003-08-17 19:50:07


Has anyone had success using Boost with the uClibc libraries? In
particular, have you got Boost.Python to work?

I am using the getting_started1.cpp example provided with Boost. I am
using Boost 1.30.0, uClibc 0.9.20 and Python 2.2.3. Note that uClibc
does not currently support a dlopen() called library calling a dlopen().
I have found that as long as the library is loaded with Python, I can
get it to work. I am currently using the SSL version of the socket
module, which is using SSL libraries linked against Python.

I have tried 2 techniques so far, but both result in core dumps.
1. Compile Python against uClibc and force linking with libboost_python.so
2. Compile Pyhton against uClibc only. Build Boost application by
linking against libboost_python.a so no external library is needed.

It may be that the 2 libraries are simply not compatible at this stage.

Does anyone have any ideas? David Abrahams has suggested low level
debugging to work out what is causing the core dump, but if the problem
lies deep within uClibc, then I have a problem.

Regards,
Jeff Gray


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk