Hi,

I have only been able to get a full build of Mapnik using boost 1.36. 
downloaded and installed manually.

Unfortunately I am now getting a failed name lookup in the libmapnik.so.0.5.

Python 2.4.3 (#2, Aug 16 2008, 12:04:04)
[GCC 4.1.1 20060724 (prerelease) (4.1.1-4pclos2007)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from mapnik import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/mapnik/__init__.py", line 31, in ?
    from _mapnik import *
ImportError: /usr/local/lib/libmapnik.so.0.5: undefined symbol: 
_ZN5boost10filesystem6detail15not_found_errorE
>>

The mapnik compile and link did not have any errors...

Any thoughts?

Steve


>--- On Tue, 23/9/08, Dane Springmeyer <[EMAIL PROTECTED]> wrote:
> From: Dane Springmeyer <[EMAIL PROTECTED]>
> Subject: Re: [Mapnik-users] Installation on PCLinuxOS
> To: [EMAIL PROTECTED]
> Date: Tuesday, 23 September, 2008, 4:20 PM

> Hi Steve,

> Yes, the build script for mapnik often has trouble finding the right boost 
> symlinks on different linux systems. 

> I've never heard of anyone installing on PCLinuxOS, so it will be great to 
> document how to get boost working, once we do.

> The place to do that is here: http://trac.mapnik.org/wiki/LinuxInstallation 
> (by adding a PCLinuxOS entry)

> With ubuntu 7.10 and above all that is needed is to apt-get boost and use the 
> default paths with the scons build(ie, not specifying custom BOOST_LIBS and 
> INCLUDES)

> Anyway, so the way that scons works is it actually builds a little C++ 
> application,
> compiles it, and tests if the include of each header/lib works with a main() 
> function.
>  (sorry if my terms are off, I'm not a C programmer).

S> o, how was boost 1.34 installed on your system?

> What do you get with:

> $ ls /path/to/boost/libs/libboost* -l

> Dane

Thanks for the reply Dane. PCLinuxOS is a no-nonsense businesslike Linux for 
running most packages but I've come unstuck with mapnik ...

The response to the command you suggested was:
[EMAIL PROTECTED] filesystem]# ls /usr/local/lib/libboost* -l
-rw-r--r-- 1 root root  132586 Sep 24 12:19 
/usr/local/lib/libboost_date_time-gcc41-mt-1_36.a
lrwxrwxrwx 1 root root      42 Sep 24 12:19 
/usr/local/lib/libboost_date_time-gcc41-mt-1_36.so -> 
libboost_date_time-gcc41-mt-1_36.so.1.36.0*
-rwxr-xr-x 1 root root   69708 Sep 24 12:19 
/usr/local/lib/libboost_date_time-gcc41-mt-1_36.so.1.36.0*
lrwxrwxrwx 1 root root      34 Sep 24 12:19 
/usr/local/lib/libboost_date_time-gcc41-mt.a -> 
libboost_date_time-gcc41-mt-1_36.a
lrwxrwxrwx 1 root root      42 Sep 24 12:19 
/usr/local/lib/libboost_date_time-gcc41-mt.so -> 
libboost_date_time-gcc41-mt-1_36.so.1.36.0*
lrwxrwxrwx 1 root root      57 Sep 24 12:20 
/usr/local/lib/libboost_date_time-mt.so -> 
/usr/local/lib/libboost_date_time-gcc41-mt-1_36.so.1.36.0*
-rw-r--r-- 1 root root  188350 Sep 24 12:19 
/usr/local/lib/libboost_filesystem-gcc41-mt-1_36.a
lrwxrwxrwx 1 root root      43 Sep 24 12:19 
/usr/local/lib/libboost_filesystem-gcc41-mt-1_36.so -> 
libboost_filesystem-gcc41-mt-1_36.so.1.36.0*
-rwxr-xr-x 1 root root   91300 Sep 24 15:54 
/usr/local/lib/libboost_filesystem-gcc41-mt-1_36.so.1.36.0*
lrwxrwxrwx 1 root root      35 Sep 24 12:19 
/usr/local/lib/libboost_filesystem-gcc41-mt.a -> 
libboost_filesystem-gcc41-mt-1_36.a
lrwxrwxrwx 1 root root      43 Sep 24 12:19 
/usr/local/lib/libboost_filesystem-gcc41-mt.so -> 
libboost_filesystem-gcc41-mt-1_36.so.1.36.0*
lrwxrwxrwx 1 root root      58 Sep 24 12:20 
/usr/local/lib/libboost_filesystem-mt.so -> 
/usr/local/lib/libboost_filesystem-gcc41-mt-1_36.so.1.36.0*
-rw-r--r-- 1 root root 1003350 Sep 24 12:19 
/usr/local/lib/libboost_graph-gcc41-mt-1_36.a
lrwxrwxrwx 1 root root      38 Sep 24 12:19 
/usr/local/lib/libboost_graph-gcc41-mt-1_36.so -> 
libboost_graph-gcc41-mt-1_36.so.1.36.0*
-rwxr-xr-x 1 root root  482740 Sep 24 12:19 
/usr/local/lib/libboost_graph-gcc41-mt-1_36.so.1.36.0*
lrwxrwxrwx 1 root root      30 Sep 24 12:19 
/usr/local/lib/libboost_graph-gcc41-mt.a -> libboost_graph-gcc41-mt-1_36.a
lrwxrwxrwx 1 root root      38 Sep 24 12:19 
/usr/local/lib/libboost_graph-gcc41-mt.so -> 
libboost_graph-gcc41-mt-1_36.so.1.36.0*
lrwxrwxrwx 1 root root      53 Sep 24 12:20 /usr/local/lib/libboost_graph-mt.so 
-> /usr/local/lib/libboost_graph-gcc41-mt-1_36.so.1.36.0*
-rw-r--r-- 1 root root   60802 Sep 24 12:19 
/usr/local/lib/libboost_iostreams-gcc41-mt-1_36.a
lrwxrwxrwx 1 root root      42 Sep 24 12:19 
/usr/local/lib/libboost_iostreams-gcc41-mt-1_36.so -> 
libboost_iostreams-gcc41-mt-1_36.so.1.36.0*
-rwxr-xr-x 1 root root   39564 Sep 24 12:19 
/usr/local/lib/libboost_iostreams-gcc41-mt-1_36.so.1.36.0*
lrwxrwxrwx 1 root root      34 Sep 24 12:19 
/usr/local/lib/libboost_iostreams-gcc41-mt.a -> 
libboost_iostreams-gcc41-mt-1_36.a
lrwxrwxrwx 1 root root      42 Sep 24 12:19 
/usr/local/lib/libboost_iostreams-gcc41-mt.so -> 
libboost_iostreams-gcc41-mt-1_36.so.1.36.0*
lrwxrwxrwx 1 root root      57 Sep 24 12:20 
/usr/local/lib/libboost_iostreams-mt.so -> 
/usr/local/lib/libboost_iostreams-gcc41-mt-1_36.so.1.36.0*
-rw-r--r-- 1 root root  168554 Sep 24 12:19 
/usr/local/lib/libboost_math_c99f-gcc41-mt-1_36.a
lrwxrwxrwx 1 root root      42 Sep 24 12:19 
/usr/local/lib/libboost_math_c99f-gcc41-mt-1_36.so -> 
libboost_math_c99f-gcc41-mt-1_36.so.1.36.0*
-rwxr-xr-x 1 root root   51032 Sep 24 12:19 
/usr/local/lib/libboost_math_c99f-gcc41-mt-1_36.so.1.36.0*
lrwxrwxrwx 1 root root      34 Sep 24 12:19 
/usr/local/lib/libboost_math_c99f-gcc41-mt.a -> 
libboost_math_c99f-gcc41-mt-1_36.a
lrwxrwxrwx 1 root root      42 Sep 24 12:19 
/usr/local/lib/libboost_math_c99f-gcc41-mt.so -> libboost_


      
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to