[Gdal-dev] gdal-grass plugin rpm

Frank Warmerdam warmerdam at pobox.com
Wed Oct 26 10:30:41 EDT 2005


On 10/26/05, Otto Dassau <dassau at gdf-hannover.de> wrote:
> Hi,
>
> I (tried to) built a current gdal-grass plugin 1.3.1.1 as RPM and defined the
> PREFIX as:
> %define _prefix /usr
>
> When I install the package the support is missing:
...
> of course it works linking /usr/local/lib/gdalplugins to /usr/lib/gdalplugins,
> but that's not a real solution -  guess. Hopefully someone has an idea how to
> fix this problem.

Otto,

If GDAL is configured to install in /usr instead of
/usr/local then the GDAL_PREFIX macro in gdal/port/cpl_config.h
should be /usr and gdaldrivermanager.cpp should look in
/usr/lib/gdalplugins instead of /usr/local/lib/gdalplugins.

You might want to look into whether GDAL was built right.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list