2003.08.08 19:20 "[Tiff] linking errors in mpi environment", by Pushkar Pradhan

2003.08.10 04:43 "[Tiff] ld.so.1, TIFFmalloc not found", by Pushkar Pradhan

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=` -lgcc
main-mpi.c:
Rgblhs.c:
Titan[241] pushkar$

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