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

Jean Claude Berthet berthet at hi.is
Fri Nov 5 11:48:51 CET 2010


By default it is in /usr/local/lib/ but you may have to ask for to be 
compiled explicitly:
./bjam --with-python

On 11/5/10 9:35 AM, Aishwarya Venkataraman wrote:
> 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
>
>
> _______________________________________________
> Cplusplus-sig mailing list
> Cplusplus-sig at python.org
> http://mail.python.org/mailman/listinfo/cplusplus-sig

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20101105/33b07bc3/attachment.html>


More information about the Cplusplus-sig mailing list