Re: [mapnik] Mapnik error on RHEL 5

24 views
Skip to first unread message

Dane Springmeyer

unread,
Nov 18, 2012, 8:06:13 PM11/18/12
to map...@googlegroups.com
What does this command return?

ldd /usr/local/lib/libboost_python.so.1.51.0

My hunch is that will show linking of libboost python to the wrong python version. And or, mapniks python binding are not linked correctly to python 2.6. 

Dane



On Nov 15, 2012, at 4:52 AM, Jude Mwenda <judem...@gmail.com> wrote:

Hi,
I have a problem and cannot seem to find a solution. I have installed Boost 1.51 on a RHEL 5 server. Running python 2.6. I have compiled boost with the python version 2.6 using a config file and reinstalled mapnik 2.1.0. The only dependency is seem to miss is sqlite which it does go ahead to install. So i have mapnik-config returning the valid version. On heading to python
from mapnik import * i get the following error
hey got this problem ImportError: /usr/local/lib/libboost_python.so.1.51.0: undefined symbol: Py_InitModule4

any one with possible remedies?

Regards
Reply all
Reply to author
Forward
0 new messages