Skip to content

'python setup.py develop' error (ld: library not found for -lboost_python) #194

Open
@braunchris

Description

@braunchris

This is similar to #131 but the missing library is different.

Mapnik seems to be installed properly:
'mapnik-config -v' outputs '3.0.20'
'clang --version' : 'Apple LLVM version 9.1.0 (clang-902.0.39.2)'
Mac OS X: 10.13.6 (High Sierra)
Python 3.7.0

When executing python setup.py develop I get:

ld: library not found for -lboost_python
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'c++' failed with exit status 1

I have XCode installed, and following other posts I also added the following in my bash_profile:

export BOOST_PYTHON_LIB=boost_python
export BOOST_THREAD_LIB=boost_thread
export BOOST_SYSTEM_LIB=boost_system

However it didn't help. Any idea how to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions