[GRASS-user] Re: [gdal-dev] Compile with ECW: library error

Markus Neteler neteler at osgeo.org
Tue Nov 18 03:33:11 EST 2008


Richard,

On Mon, Nov 17, 2008 at 11:13 PM, Richard Chirgwin
<rchirgwin at ozemail.com.au> wrote:
> Hi,
>
> I'm a Grass-GIS user with a problem in GDAL 1.5.2.
>
> Folllowing the instructions here:
> http://trac.osgeo.org/gdal/wiki/ECW
>
> I added ECW support with the ER Mapper library.
>
> The libecwj2-3.3 configure > make > make install reported no errors.
>
> The GDAL configure using --with-ecw=/usr/local/lib went fine, and in the
> "supported formats" output we have:
> ECW support:               yes
>
> Make and make install complete successfully.
>
> However, when I try to run anything, a libNCSEcw.lib.so error happens:
> gdalinfo --formats|grep ECW
>
> gdalinfo: error while loading shared libraries: libNCSEcw.so.0: cannot
> open shared object file: No such file or directory
>
> libNCSEcw.so.0 exists in /usr/local/lib
>
> The machine is on OpenSUSE 10.3.
>
> What did I miss in the configuration?

is /usr/local/lib in
/etc/ld.so.conf
or in a related file? I have for example

cat /etc/ld.so.conf.d/gdal.conf
/usr/local/lib

And, did you run
ldconfig
after library installation?

Markus


More information about the grass-user mailing list