[C++-sig] boost::python::throw_error_already_set not in library
Seems like this function only gets built into the debug version. We built the gcc library for 1.35 and it only appears in the libboost_python_gcc32-mt-d-1_35 version. Does anyone know why this does not get built into the non-debug version or how to make it get built in? TIA, Scott -- View this message in context: http://www.nabble.com/boost%3A%3Apython%3A%3Athrow_error_already_set-not-in-library-tp20983772p20983772.html Sent from the Python - c++-sig mailing list archive at Nabble.com. ___ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig
Re: [C++-sig] boost::python::throw_error_already_set not in library
Yes it's probably user error--but I have no clue why this is happening. I did not do the build and the guy doing the build is not an expert boost user either. We have two builds one with gcc and one with intel. Notice the non-debug versions don't have the symbol. Here are the results from objdump: /ips/fd/analysis2/proto/oss/lib $ ls libboost_python-* libboost_python-gcc32-mt-1_35.so libboost_python-gcc32-mt-d.so libboost_python-il-mt-1_36.so.1.36.0 libboost_python-gcc32-mt-1_35.so.1.35.0libboost_python-gcc32-mt.so libboost_python-il-mt.a libboost_python-gcc32-mt-d-1_35.so libboost_python-il-mt-1_36.a libboost_python-il-mt.so libboost_python-gcc32-mt-d-1_35.so.1.35.0 libboost_python-il-mt-1_36.so /ips/fd/analysis2/proto/oss/lib $ objdump -t libboost_python-il-mt*.so | grep throw_error_already_set /ips/fd/analysis2/proto/oss/lib $ objdump -t libboost_python-gcc32-mt.so | grep throw_error_already_set /ips/fd/analysis2/proto/oss/lib $ objdump -t libboost_python-gcc32-mt-d.so | grep throw_error_already_set 0009cd14 g F .text 007c _ZN5boost6python23throw_error_already_setEv -- View this message in context: http://www.nabble.com/boost%3A%3Apython%3A%3Athrow_error_already_set-not-in-library-tp20983772p20985178.html Sent from the Python - c++-sig mailing list archive at Nabble.com. ___ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig
Re: [C++-sig] boost::python::throw_error_already_set not in library
Problem Solved: The symbols are in the shared object, and as David mentioned, one must use the -T to see them in a debug library. The problem was with the intel linker (via eclipse). Apparently the linker will not tell you whether a shared library is actually included using -l to add to a shared object. One could put in anything and it will just build the .so without mentioning it could not find . Thanks for your help. Scott -- View this message in context: http://www.nabble.com/boost%3A%3Apython%3A%3Athrow_error_already_set-not-in-library-tp20983772p21021185.html Sent from the Python - c++-sig mailing list archive at Nabble.com. ___ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig