Forum Bugs

libxml2 2.14.4 upgrade on FreeBSD ports

jeroenp
Hi,

FreeBSD ports upgraded textproc/libxml2 to 2.14.4. Prince 16 wants libxml2.so.2 but that file/symlink no longer exists. When I create a symlink to the .so file by hand, prince isn't happy with the new library:

ld-elf.so.1: /usr/local/lib/libxml2.so.2: version LIBXML2_2.6.27 required by /usr/local/lib/prince/bin/prince not defined

Is it possible to do a new release, or should I move back to the older libxml release?

kind regards,
Jeroen

https://www.freshports.org/textproc/libxml2/
wangp
The Prince 16.1 build now statically links libxml2 instead. Thanks for reporting the issue.
jeroenp
Thanks!

I now bump into a runtime error:

/tmp # prince bla.html
prince: error: error initialising curl share handle

I don't remember that being the case before the libxml2 issue.

curl on my system is version 8.14.1 and from what I can gather from `truss` is still loaded as an .so.

kind regards
Jeroen
wangp
Strange, I can't reproduce that error in either a FreeBSD 14.0 or FreeBSD 14.3 VM.
# pkg info curl
curl-8.14.1
Name           : curl
Version        : 8.14.1
Installed on   : Tue Jul 15 01:14:06 2025 UTC
Origin         : ftp/curl
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : ftp net www
Licenses       : MIT
Maintainer     : sunpoet@FreeBSD.org
WWW            : https://curl.se/
Comment        : Command line tool and library for transferring data with URLs
Options        :
        ALTSVC         : on
        BROTLI         : on
        CARES          : off
        COOKIES        : on
        CURL_DEBUG     : off
        DEBUG          : off
        DICT           : on
        DOCS           : on
        EXAMPLES       : on
        FTP            : on
        GNUTLS         : off
        GOPHER         : on
        GSSAPI_BASE    : on
        GSSAPI_HEIMDAL : off
        GSSAPI_MIT     : off
        GSSAPI_NONE    : off
        HTTP           : on
        HTTP2          : on
        IDN            : on
        IMAP           : on
        IPFS           : on
        IPV6           : on
        LDAP           : off
        LDAPS          : off
        LIBSSH         : off
        LIBSSH2        : on
        LIBUV          : off
        MQTT           : off
        NTLM           : on
        OPENSSL        : on
        POP3           : on
        PROXY          : on
        PSL            : on
        RTSP           : on
        SMB            : off
        SMTP           : on
        STATIC         : on
        TELNET         : on
        TFTP           : on
        THREADED_RESOLVER: on
        TLS_SRP        : on
        WEBSOCKET      : on
        WOLFSSL        : off
        ZSTD           : on
Shared Libs required:
        libasn1.so.11
        libbrotlidec.so.1
        libc.so.7
        libcom_err.so.5
        libcrypt.so.5
        libcrypto.so.30
        libgssapi.so.10
        libgssapi_krb5.so.10
        libheimbase.so.11
        libheimntlm.so.11
        libhx509.so.11
        libidn2.so.0
        libkrb5.so.11
        libnghttp2.so.14
        libpsl.so.5
        libroken.so.11
        libssh2.so.1
        libssl.so.30
        libthr.so.3
        libwind.so.11
        libz.so.6
        libzstd.so.1
Shared Libs provided:
        libcurl.so.4
Annotations    :
        FreeBSD_version: 1402000
        build_timestamp: 2025-07-03T02:04:00+0000
        built_by       : poudriere-git-3.4.2-12-g74a54a88
        cpe            : cpe:2.3:a:haxx:curl:8.14.1:::::freebsd14:x64
        port_checkout_unclean: no
        port_git_hash  : d7951ee86
        ports_top_checkout_unclean: no
        ports_top_git_hash: d7951ee86
        repo_type      : binary
        repository     : FreeBSD
jeroenp
Fixed! A fresh build of curl fixes the issue. I'm not sure what the issue was.