Problem with building libgcrypt

Tijl Coosemans tijl at
Mon Feb 13 10:37:11 UTC 2017

On Mon, 13 Feb 2017 19:01:07 +1100 (EST) Dave Horsfall <dave at> wrote:
> On Sun, 12 Feb 2017, Tijl Coosemans wrote:
>>>     *** [] 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/ /usr/local/lib/ -lz -llzma -L/usr/lib -lm  -O2 -fstack-protector -Wl,--version-script=./libxslt.syms -fstack-protector   -Wl,-soname -Wl, -o .libs/
>     cc: error: no such file or directory: '/usr/local/lib/'
>     gmake[4]: *** [Makefile:534:] Error 1

That's probably still because of some .la file.  Does
/usr/local/lib/ still exist?  What is the output of
"pkg which /usr/local/lib/"?  If it says "not found in
database" remove it.  If it says "installed by package X" rebuild X.
Same for /usr/local/lib/

More information about the freebsd-ports mailing list