Re: libxml2 Port Blocking Upgrades
- Reply: Herbert J. Skuhra: "Re: libxml2 Port Blocking Upgrades"
- In reply to: Kalashnikov Ilya : "Re: libxml2 Port Blocking Upgrades"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Apr 2022 08:03:49 UTC
On 4/8/22 07:57, Kalashnikov Ilya wrote: > 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 Yes, this file is present. > /usr/local/lib/xml2Conf.sh (not used by libxslt, but check it) This one too, with the following contents: # # Configuration file for using the XML library in GNOME applications # XML2_LIBDIR="-L/usr/local/lib" XML2_LIBS="-lxml2 -lz -llzma -pthread -licudata -licui18n -licuuc -lm" XML2_INCLUDEDIR="-I/usr/local/include/libxml2" MODULE_VERSION="xml2-2.9.13" > > - Check please output from *xml2-config --libs* > It must not contain libxml2.a #xml2-config --libs -L/usr/local/lib -lxml2 -lz -llzma -pthread -licudata -licui18n -licuuc -lm -ldl # > - Check libxml2 package checksums: > pkg check -s libxml2 #pkg check -s libxml2 Checking libxml2: 100% # > > 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 I checked /usr/ports/textproc/libxslt/work/libxslt-1.1.35/configure, and there is no mention of libxml2.a anywhere in the file. Mark.