To provide a bit of additional information (I should have pasted in
the
config.log output as well), the existing check fails on x86_64
because it
uses -shared to link the test object but doesn't use -fPIC. This
works on
x86, but other platforms, such as x86_64, require all objects that
go into
a shared object be built PIC and the link dies with relocation errors.
There's probably something better to do here than just blindly add -
fPIC,
based on what the correct PIC flag is for the compiler used, but I
wasn't
sure how to get at that.
How about using libtool ? Can you test this patch ?
http://www.h5l.org/fisheye/changelog/heimdal/?cs=23146
Love