You might also wanne check your library path? Try adding /usr/local/lib to
LD_LIBRARY_PATH if it's not already there...
I recently got mapnik 0.7.0 running on RHEL 5.4 with boost 1.42.0, ICU 4.2.1
and haven't seen any problems so far!
I did a bootstrap for Boost like this:
/bootstrap.sh --with-python=/usr/bin/
python25 --with-libraries=filesystem --with-libraries=iostreams
--with-libraries=math --with-libraries=mpi --with-libraries=program_options
--with-libraries=python --with-libraries=regex --with-libraries=system
--with-libraries=thread --prefix=/usr/local

If you add certain "--with-libraries=XXX" while building Boost, keep in mind
that it won't build any other libraries but the ones you gave it as an
option! So make sure you add all the libraries mapnik needs...

I then build it using bjam:
./bjam toolset=gcc -sNO_BZIP2=1 -sHAVE_ICU=1 -sICU_PATH=/opt/ICU42/ -a
install

I m not quite sure if oyu should build it without regex support since it a
requirement of mapnik, isn't it? Let me know if I'm wroing!

Dom


On Sun, Feb 28, 2010 at 10:30 PM, Dane Springmeyer <[email protected]>wrote:

> Hi Paul,
>
> *.sconf_temp/conftest_12: error while loading shared libraries:
> libicuuc.so.42: cannot open shared object file: No such file or directory
> .sconf_temp/conftest_13: error while loading shared libraries:
> libicuuc.so.42: cannot open shared object file: No such file or directory
> Checking for Boost version >= 1.34... no
> Boost version 1.34 or greater is requred*
>
>
> Things to ensure/try:
>
> 1) Is '/usr/local/lib' in /etc/ld.so.conf and have you run ldconfig?
>
> I recently built Mapnik on CentOS 5.4 and noticed that unlike Ubuntu/Debian
> systems, user installed libraries are not automatically found if installed
> in /usr/local/lib.
>
> So I did:
>
> sudo bash -c "echo '/usr/local/lib' > /etc/ld.so.conf.d/local.conf"
> sudo /sbin/ldconfig
>
> 2) Did you build boost with regex support? It is only the regex library
> that optionally uses icu, so it should be easy to rebuild boost to not
> include the regex library and this error would also go away.
>
> Exiting... the following required dependencies were not found:
>    - boost version >=1.34 (more info see:
> http://trac.mapnik.org/wiki/MapnikInstallation & http://www.boost.org)
>
>
> This of course is a red herring, you have an acceptable version of boost
> installed, it is simply a problem in the boost libraries linking that is
> making the check for the version (by Mapnik's build scripts) fail.
>
>
> I am using:
> boost 1.42.0
> ICU4C 1.42.1
> mapnik-0.7.0
>
> libicuuc.so.42 is in /usr/local/lib and there is a libicuuc.so.42.1 there
> as well
>
>
> So you confirmed that you don't have duplicate libicuuc on your system?
>
> I've tried setting BOOST_VERSION=1_42_0, but that results in far more
> errors related to not having any boost features being found e.g. regex,
> filesystem, iostreams, thread,  etc.
>
>
> No, I think this is simply a boost library problem so you can't do anything
> like that on the Mapnik build side to fix it.
>
> Dane
>
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to