[mapserver-users] tiff problem,

Pushkar Pradhan pushkar at ERC.MsState.Edu
Fri Feb 1 14:17:29 EST 2002


Ed, David and Perry,
You were all very helpful I finally converted my 24 bit TIFF to 8 bit
TIFF, seems like photoshop didn't do it right so my peers used some other
utility I can't recollect.
Anyway my apache error log reads:
ld.so.1: mapserv: fatal: relocation error: file mapserv: symbol
TIFFIsByteSwapped: referenced symbol not found
[Fri Feb  1 13:09:33 2002] [error] [client 127.0.0.1] Premature end of
script headers: /rstc/user1/erc/pushkar/apache_1.3.22/cgi-bin/mapserv

Which I found was due to multiple copies of libtiff.so on my system, after
researching mailing list archives, I found the foll:

**************
Stephen wins the prize. This was exactly the problem: another version of
libtiff.so lying around.... Thanks!

Andy

On Wed, 7 Jun 2000, Stephen Lime wrote:

> Might there be other versions of libtiff on the system? Perhaps in the
other libs defined in LD_LIBRARY_PATH?
>
> s.
>
> <<< Andrew E Long <aelon at sph.umich.edu>  6/ 7  9:49p >>>
> Hi Folks,
>
> I've got the ms_3.3.010 mapserver & demo running using the latest and
> greatest of the usual software suspects (e.g. libtiff), but am crashing
> ignominously when I get to the LandSat TM Image: if I try to display it,
> all crashes. Checking the error log for my web server, I find
>
> ld.so.1: mapserv: fatal: relocation error: file mapserv: symbol
> TIFFIsByteSwapped: referenced symbol not found
>
>       TIFFIsByteSwapped is definitely contained in the libtiff
> distribution, and I find it in libtiff.so, which is in
> /usr/local/lib.
>
>       I've added the LD_LIBRARY_PATH variable to Apache (thanks Daniel
> Morissette), which includes /usr/local/lib, i.e.
>
> SetEnv LD_LIBRARY_PATH
/usr/lib:/usr/openwin/lib:/usr/ucblib:/usr/local/lib
>

*********
So my que. is now what if I have multiple copies of libtiff.so, what is
the remedy?
Thanks,
-Pushkar




More information about the mapserver-users mailing list