[C++-sig] Re: Confused about placement of libboost_python.dll

David Abrahams dave at boost-consulting.com
Wed Nov 5 03:18:31 CET 2003


Paul Magwene <paul.magwene at yale.edu> writes:

> Paul Magwene wrote:
>
>> Howdy folks,
>> I'm confused about where libboost_python.dll should be placed on
>> either a MSVC or cygwin build under windows.
>> 
> ...SNIP...
>
>> I understand that lib_boostpython is NOT a python module. OK - so
>> under cygwin I put it in "/usr/local/lib" and change my shell
>> profile to include:
>> LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
>> export LD_LIBRARY_PATH
>> 
> ...SNIP...
>> After doing this I'm still unable to properly import a boost built
>> python module.  I get the following message:
>> 
> ...SNIP...
>
>> However, if I copy libboost_python.dll into the same directory that
>> "hello.dll" lives in then I'm able to import the extension just
>> fine.
>
> To answer my own qustion, and hopefully save somebody else some
> headaches in the future, cygwin does not use LD_LIBRARY_PATH to look
> for libraries, but rather just the PATH environment variable.

http://www.redhat.com/docs/manuals/gnupro/GNUPro-Toolkit-03r1/gnupro_8.html#IDX205
contradicts you.


-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list