Hello Audrey,
When I was working off a custom built Win32 Mapnik, I experienced a similar
error with the PostGIS plugin. My build was dynamically linking libpq and I
had to set an environment variable (LTDL_LIBRARY_PATH) to point to the
location of libpq.dll. Perhaps you could try setting that variable to point
to the gdal/ogr .dll.
I have since moved to the standard project-released binaries and have
noticed that I no longer need LTDL_LIBRARY_PATH set. I presume they are
statically linking the required libraries. Using static libraries could be
another option for you.
Best of luck,
-- Ryan
On , "AMal." <[email protected]> wrote:
Hi Nicolas,
I have the same problem. I built mapnik, agg, input_raster and
input_shapefile successfully with vs 2005.
I have the same error wih ogr and gdal plugin. (libtool can't open the
module)
Did you find a solution?
Best regards,
Audrey Malherbe
Nicolas Gillet wrote:
>
> Hello
>
>
>
> I'm slowly discovering the world of mapnik in pure C++.
>
>
>
> I wanted to use raster file and in order to do this I think I have the
> choice between raster.input and gdal.input plugins.
>
>
>
> I successfully built both from trunk sources under Visual Studio 2005
and
> used raster plugin but I coan't use gdal plugin.
>
>
>
> I made a test based on the rundemo.cpp I successfully ran before but at
> the
> beginning of the program I have an error saying :
>
> Problem loading plugin library: C:\...gdal.input (libtool error: can't
> open
> the module)
>
> @ line : register_datasources(mapnik_dir
> +
> "/input/"); >>
>
> I'm using gnuWin32 libtool-1.5.26
>
>
>
> I read (here http://trac.mapnik.org/wiki/PluginArchitecture) that gdal
> plugin is still in beta so it wonder if there is something special to do
> to
> enable it.
>
> I tried to use the gdal.input given with the python example but the
result
> is the same.
>
>
>
> Any tips in this area ?
>
>
>
> Thank you
>
>
>
> Nicolas
>
> Gillet
>
>
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
>
>
--
View this message in context:
http://www.nabble.com/c%2B%2B-libtool-can%27t-open-gdal.input-tp24702337p25531087.html
Sent from the Mapnik - Users mailing list archive at Nabble.com.
_______________________________________________
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