Problem with building libgcrypt
Tijl Coosemans
tijl at FreeBSD.org
Mon Feb 13 10:37:11 UTC 2017
On Mon, 13 Feb 2017 19:01:07 +1100 (EST) Dave Horsfall <dave at horsfall.org> wrote:
> On Sun, 12 Feb 2017, Tijl Coosemans wrote:
>>> *** [libgcrypt.la] Error code 1
>>
>> See the 20140909 entry in /usr/ports/UPDATING about missing .la files.
>
> Thanks - that did the trick.
>
> Next problem: when building misc/freebsd-doc-en, it fails with:
>
> libtool: link: cc -shared -fPIC -DPIC .libs/attrvt.o .libs/xslt.o .libs/xsltlocale.o .libs/xsltutils.o .libs/pattern.o .libs/templates.o .libs/variables.o .libs/keys.o .libs/numbers.o .libs/extensions.o .libs/extra.o .libs/functions.o .libs/namespaces.o .libs/imports.o .libs/attributes.o .libs/documents.o .libs/preproc.o .libs/transform.o .libs/security.o -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libxml2.so /usr/local/lib/libiconv.so -lz -llzma -L/usr/lib -lm -O2 -fstack-protector -Wl,--version-script=./libxslt.syms -fstack-protector -Wl,-soname -Wl,libxslt.so.1 -o .libs/libxslt.so.1.1.29
> cc: error: no such file or directory: '/usr/local/lib/libiconv.so'
> gmake[4]: *** [Makefile:534: libxslt.la] Error 1
That's probably still because of some .la file. Does
/usr/local/lib/libiconv.la still exist? What is the output of
"pkg which /usr/local/lib/libiconv.la"? If it says "not found in
database" remove it. If it says "installed by package X" rebuild X.
Same for /usr/local/lib/libxml2.la.
More information about the freebsd-ports
mailing list