[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Re running make fails
From: |
Jan Engelhardt |
Subject: |
Re: [ft] Re running make fails |
Date: |
Tue, 19 May 2015 23:51:29 +0200 (CEST) |
User-agent: |
Alpine 2.20 (LSU 67 2015-01-07) |
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?