I'd guess there is some easy to understand library/linking error that is being experienced by libtool but not reported. Calling ldd on the plugins might give clues. This error can happen under normal circumstances when libtool,via libmapnik, tries to load plugins that are themselves linking to an old, non-existant, or duplicate libmapnik. In this case recompiling each plugin fixing things.

Dane

--- \o/ ---
Sent from my phone

On Jun 14, 2010, at 2:16 AM, VeaaC FDIRCT <[email protected]> wrote:

I have a shared C++ library that uses mapnik. This library is loaded
dynamically from my main program.
When registering the input plugins with mapnik libtool throws an
error. This error disappears when compiling the library a a static
executable.
The library is realized as a QtPlugin library.

System: Ubuntu 10.4, amd_64
Mapnik: 0.7
Code:
mapnik::datasource_cache::instance()->register_datasources(
"/usr/lib/mapnik/0.7/input/" );
Error:
Problem loading plugin library: /usr/lib/mapnik/0.7/input/raster.input
(libtool error: file not found)
Problem loading plugin library: /usr/lib/mapnik/0.7/input/shape.input
(libtool error: file not found)
Problem loading plugin library: /usr/lib/mapnik/0.7/input/kismet.input
(libtool error: file not found)
Problem loading plugin library:
/usr/lib/mapnik/0.7/input/postgis.input (libtool error: file not
found)
Problem loading plugin library: /usr/lib/mapnik/0.7/input/sqlite.input
(libtool error: file not found)

Greetings

Christian Vetter
_______________________________________________
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