From: pushkar@GRI.MsState.Edu (Pushkar Pradhan)
Date: Sat, 9 Aug 2003 23:43:42 -0500
Subject: [Tiff] ld.so.1, TIFFmalloc not found
Message-ID: <143101c35efa$26b18930$320d1282@ercwin.erc.msstate.edu>
Content-Type: multipart/alternative;
     boundary="----=_NextPart_000_142E_01C35ED0.1116A0D0"

This is a multi-part message in MIME format.

------=_NextPart_000_142E_01C35ED0.1116A0D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm getting run time errors due to TIFFmalloc in my mpi program,
I compile my program like this:
Titan[240] pushkar$ mpicc -I/usr/local/include -ltiff -lm -o main =
main-mpi.c Rgblhs.c -L`gcc -print-file-name=3D` -lgcc=20
main-mpi.c:
Rgblhs.c:
Titan[241] pushkar$=20

When I'm trying to run it using mpirun I get link error:
Titan[241] pushkar$ mpirun -np 2 main RGB.tif out.tif ld.so.1: =
/rstc/user1/erc/pushkar/data-fusion/main: fatal: relocation error: file =
/rstc/user1/erc/pushkar/data-fusion/main: symbol _TIFFmalloc: referenced =
symbol not found
rm_l_1_26454:  p4_error: net_recv read:  probable EOF on socket: 1
bm_list_26444:  p4_error: net_recv read:  probable EOF on socket: 1
Broken Pipe

I've tiff libraries libtiff.so, libtiff.a in 2 dirs. /usr/local/lib and =
/usr/openwin/lib on my system, both paths are in my $LD_LIBRARY_PATH so =
why is tiffmalloc still not found?

Thanks,
Pushkar Pradhan

------=_NextPart_000_142E_01C35ED0.1116A0D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3502.5390" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm getting run time errors due to =
TIFFmalloc in my=20
mpi program,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I compile my program like =
this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Titan[240] pushkar$ mpicc =
-I/usr/local/include=20
-ltiff -lm -o main main-mpi.c Rgblhs.c -L`gcc -print-file-name=3D` -lgcc =

<BR>main-mpi.c:<BR>Rgblhs.c:<BR>Titan[241] pushkar$ </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I'm trying to run it using mpirun =
I get link=20
error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Titan[241] pushkar$ mpirun -np 2 main =
RGB.tif=20
out.tif ld.so.1: /rstc/user1/erc/pushkar/data-fusion/main: fatal: =
relocation=20
error: file /rstc/user1/erc/pushkar/data-fusion/main: symbol =
_TIFFmalloc:=20
referenced symbol not found<BR>rm_l_1_26454:&nbsp; p4_error: net_recv=20
read:&nbsp; probable EOF on socket: 1<BR>bm_list_26444:&nbsp; p4_error: =
net_recv=20
read:&nbsp; probable EOF on socket: 1<BR>Broken Pipe<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I've tiff libraries libtiff.so, =
libtiff.a in 2=20
dirs. /usr/local/lib and /usr/openwin/lib on my system, both paths are =
in my=20
$LD_LIBRARY_PATH so why is tiffmalloc still not found?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Pushkar =
Pradhan</FONT></DIV></BODY></HTML>

------=_NextPart_000_142E_01C35ED0.1116A0D0--


