r.in.tiff library error

Hello Grass-people

I'm running GRASS 4.2.1 on RedHat Linux 6.0, and when trying to run
r.in.tiff receive the message:

r.in.tiff: error loading shared libraries: libjpeg.so.6: cannot open shared
object file: No such file or directory

I believe this problem has arisen before with GRASS 4.2.1 and RHL, but I'm
not sure what the solution is. (I don't want to upgrade to GRASS 5 until
it's stable!)

Thanks in advance
Roy

----------------------------------------------------------------------------
Roy Sanderson
Centre for Land Use and Water Resources Research
Porter Building
University of Newcastle
Newcastle upon Tyne
NE1 7RU
United Kingdom

Tel: +44 191 222 7789
Fax: +44 191 222 6563
r.a.sanderson@newcastle.ac.uk
URL: http://www.cluwrr.ncl.ac.uk
----------------------------------------------------------------------------

On Fri, Oct 20, 2000 at 05:39:47PM +0000, Roy Sanderson wrote:

Hello Grass-people

I'm running GRASS 4.2.1 on RedHat Linux 6.0, and when trying to run
r.in.tiff receive the message:

r.in.tiff: error loading shared libraries: libjpeg.so.6: cannot open shared
object file: No such file or directory

Hi Roy,

this means that you have to install the JPEG library. It should be an
extra package on Redhat.

It's part of the system, not of GRASS. You should find it in your
Linux distribution.

Kind regards

Markus Neteler

Solution to the following r.in.tiff error (can occur on GRASS 4.2.1 or
GRASS 5)

r.in.tiff: error loading shared libraries: libjpeg.so.6: cannot open shared
object file: No such file or directory

First, check that the jpeg library has been installed correctly. This is
installed in RedHat Linux 6.0 as /usr/lib/libjpeg.so.62, which GRASS won't
find. Therefore you need to create a symbolic link called libjpeg.so.6
pointing to libjpeg.so.62 to correct the problem.

Thanks everyone for your help.
Roy