Re: libxml2 Port Blocking Upgrades
- Reply: Mark Tinka : "Re: libxml2 Port Blocking Upgrades"
- In reply to: Mark Tinka : "Re: libxml2 Port Blocking Upgrades"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Apr 2022 05:57:53 UTC
Hi Mark.
If this actual...
Below fragment your build output:
> mv -f .deps/transform.Tpo .deps/transform.Plo
> /bin/sh ../libtool --tag=CC --mode=link cc -
> I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fstack-
> protector-strong -isystem /usr/local/include -fno-strict-aliasing -
> Wall -Wextra -Wformat=2 -Wmissing-format-attribute -Wshadow -Wl,--
> version-script=./libxslt.syms -version-info 2:35:1 -fstack-protector-
> strong -L/usr/local/lib -o libxslt.la -rpath /usr/local/lib
> attrvt.lo xslt.lo xsltlocale.lo xsltutils.lo pattern.lo templates.lo
> variables.lo keys.lo numbers.lo extensions.lo extra.lo functions.lo
> namespaces.lo imports.lo attributes.lo documents.lo preproc.lo
> transform.lo security.lo -L/usr/local/lib -lxml2 -lz -llzma -pthread
> -licudata -licui18n -licuuc -lm -lm
> 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 -L/usr/local/lib
> /usr/local/lib/libxml2.a -lz -llzma -licudata -licui18n -licuuc -lm
> -O2 -fstack-protector-strong -Wl,--version-script=./libxslt.syms -
> fstack-protector-strong -pthread -pthread -Wl,-soname -
> Wl,libxslt.so.1 -o .libs/libxslt.so.1.1.35
> cc: error: no such file or directory: '/usr/local/lib/libxml2.a'
You have: libxml2-2.9.13
I think problem in invalid output from /usr/local/bin/xml2-config
May be your system contains files from previous version of libxml2
(before 2.9.13).
libxml2 package contain files which use for building libxslt (they are
sh-scripts):
/usr/local/bin/xml2-config
/usr/local/lib/xml2Conf.sh (not used by libxslt, but check it)
- Check please output from xml2-config --libs
It must not contain libxml2.a
- Check libxml2 package checksums:
pkg check -s libxml2
By method of excluding:
If those files is last and returns correct output(without libxml2.a) -
the problem in libxslt.
Problem can be in configure-file (make -C /usr/ports/textproc/libxslt
extract)
${PORTS_DIR}/textproc/libxslt/work/libxslt-xxx/configure: $XML_CONFIG
--libs
Variable LIBXML_LIBS must not contain /usr/local/lib/libxml2.a