Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 11:35:56 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Dave Horsfall <dave@horsfall.org>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Problem with building libgcrypt
Message-ID:  <20170213113556.1913eea4@kalimero.tijl.coosemans.org>
In-Reply-To: <alpine.BSF.2.20.1702131855170.46495@aneurin.horsfall.org>
References:  <alpine.BSF.2.20.1702122055080.46495@aneurin.horsfall.org> <20170212121812.49432548@kalimero.tijl.coosemans.org> <alpine.BSF.2.20.1702131855170.46495@aneurin.horsfall.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Feb 2017 19:01:07 +1100 (EST) Dave Horsfall <dave@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170213113556.1913eea4>