Hi Dom,

Try adding :  -lboost_system to the list of libraries e.g


g++ -o utils/shapeindex/shapeindex utils/shapeindex/shapeindex.o
 src/envelope.o plugins/input/shape/shapefile.o -Lagg -Lsrc -L/usr/lib64
 -L/usr/local/lib64 -L/opt/icu/lib -L/usr/local/lib -lboost_program_options
 -lboost_iostreams -lboost_filesystem -lboost_system


Regards,
Artem


On 8 March 2010 14:20, Dom Lehr <[email protected]> wrote:
> Hey guys!
> I got some issues getting mapnik compiled on Red Hat Enterprise Linux 5. All
> dependencies get solved properly, tho scons.py still ends up with an error
> saysing: "scons: *** [utils/shapeindex/shapeindex] Error 1". It appears
> while compiling shapeindex:
> g++ -o utils/shapeindex/shapeindex utils/shapeindex/shapeindex.o
> src/envelope.o plugins/input/shape/shapefile.o -Lagg -Lsrc -L/usr/lib64
> -L/usr/local/lib64 -L/opt/icu/lib -L/usr/local/lib -lboost_program_options
> -lboost_iostreams -lboost_filesystem utils/shapeindex/shapeindex.o: In
> function `__static_initialization_and_destruction_0(int, int)'
> shapeindex.cpp:(.text+0x44): undefined reference to
> `boost::system::get_system_category()'
>
> I got boost 1.42, compiled from source.
>
> Has anyone an idea what that could be?
>
> Thanks in advance!
>
> Dom
>
> _______________________________________________
> 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