On Tuesday 2015-05-19 23:39, Werner LEMBERG wrote: > >> maybe I should have included the immediately preceding line: >> >> /usr/bin/ld: /usr/local/lib/libz.a(inflate.o): relocation R_X86_64_32S >> against `zcalloc' can not be used when making a shared object; >> recompile with -fPIC >> >> to >> /usr/local/lib/libz.a: could not read symbols: Bad value >> cc: error: linker command failed with exit code 1 (use -v to see >> invocation) > >Hmm, this looks like a non-FreeType problem. Can you use `libz.a' at >all with other applications or programs?
Someone attempted to build a shared library (likely the freetype library) using an archive (libz.a) with apparently non-PIC objects, which is not a workable combination. The OP needs to make sure that there is a libz.so, or that libz.a contains PIC objects (./configure --disable-shared --with-pic). Does FreeBSD not have a /usr/lib/libz* - why would a locally-overriding zlib in /usr/local be needed? _______________________________________________ Freetype mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype
