Red Hat Bugzilla – Bug 3635
undefined symbol: _fxstat in libtiff.so
Last modified: 2008-05-01 11:37:50 EDT
It seems that the libtiff that comes with 6.0 has a problem;
I tried using
ee to open a tiff file, and got:
error in loading shared libraries: /usr/lib/libtiff.so.3:
So, for the heck of it, I nm'd the static version (as close
as i could to
nm'ing the shared lib)
nm libtiff.a|grep fxs
and then /usr/lib/libc.a:
nm /usr/lib/libc.a | grep fxs
0000000000000000 T __fxstat
0000000000000000 W _fxstat
0000000000000000 T __fxstat64
So I tried rebuilding libtiff.so.3.4 and explicitly linking
it against libc, still no dice.
More reading revealed that I should look at
/usr/lib/libc.so, and some other comments hinted that
/usr/lib/libc_nonshared.a needed to be linked in, so I tried
linking *that* into libtiff.so, and that didn't help either.
The reference is being inlined correctly but failing to be
resolved. This is presumably actually a dynamic linker
problem since ee is not linked against libtiff. This
indicates it's being dlopen'd. Note that this works just
fine on Redhat 6.0/intel, making the sparc dynamic linker
Note that this seems to occur only on sparc.
can I get this verified?
assigned to dlt for verification
This works for me. There must be some type of other pollution in iyour
environment (like temporarily switching to a different compiler or and
having static object code laying around or soemthing like that?)