[C++-sig] Unable to find -lboost_python

Aishwarya Venkataraman cyberaishu at gmail.com
Fri Nov 5 10:35:07 CET 2010


Hello,

I want to install pydoop to get python talk to hadoop/ hdfs file system.
This requires me to have boost installed. I have installed boost using
macports.

python setup.py build_ext -L/opt/local/lib/ -I/opt/local/include/

When I run the above command to install pydoop, it gives me the following
error:

g++ -L/Applications/djangostack-1.2.3-0/common/lib -bundle -undefined
dynamic_lookup build/temp.macosx-10.4-i386-2.6/src/pipes.o
build/temp.macosx-10.4-i386-2.6/src/pipes_context.o
build/temp.macosx-10.4-i386-2.6/src/pipes_test_support.o
build/temp.macosx-10.4-i386-2.6/src/pipes_serial_utils.o
build/temp.macosx-10.4-i386-2.6/src/exceptions.o
build/temp.macosx-10.4-i386-2.6/src/_pipes_main.o
build/temp.macosx-10.4-i386-2.6/src/SerialUtils.o
build/temp.macosx-10.4-i386-2.6/src/HadoopPipes.o
build/temp.macosx-10.4-i386-2.6/src/StringUtils.o -L/opt/local/lib/
-lpthread *-lboost_python* -o
build/lib.macosx-10.4-i386-2.6/pydoop/_pipes.so
*ld: library not found for -lboost_python*

Where exactly is lboost_python located on a mac? How do I find this library
?

Thanks,
Aishwarya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20101105/6d02ee0e/attachment.html>


More information about the Cplusplus-sig mailing list