Package Details: html-xml-utils 7.7-1

Git Clone URL: https://aur.archlinux.org/html-xml-utils.git (read-only)
Package Base: html-xml-utils
Description: A number of simple utilities for manipulating HTML and XML files.
Upstream URL: http://www.w3.org/Tools/HTML-XML-utils/
Licenses: W3C
Submitter: matoro
Maintainer: matoro
Last Packager: matoro
Votes: 7
Popularity: 0.358352
First Submitted: 2016-11-30 23:41
Last Updated: 2019-03-04 18:14

Latest Comments

stueja commented on 2019-03-04 18:41

Oh my, yes, sorry, my bad. The package, indeed, reinstalled from cache. I uninstalled, cleared the cache, installed from scratch. This time, the package compiled anew, and, voilá, it works. Thank you for your valuable hint!

matoro commented on 2019-03-04 18:15

@stueja, libidn should be added as a dep which I have done however I have no idea how you managed to get your binary linked to libidn2.so.4 as the soname for the current version of libidn2 is libidn2.so.0. Furthermore, rebuilding from source does link my binary to the correct lib:

$ ldd /usr/bin/hxwls
...
    libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007fb7627c3000)
...

Did you make sure to totally rebuild rather than just reinstalling a cached binary package? If you still have issues, shoot me an email (listed in the PKGBUILD)

stueja commented on 2019-03-01 00:24

The hxwls tool has stopped working a time ago.

[jst@brick jan]# hxwls
hxwls: error while loading shared libraries: libidn2.so.4: cannot open shared object file: No such file or directory
[jst@brick jan]# ldd /usr/bin/hxwls 
...
    libidn2.so.4 => not found
...
[jst@brick jan]# find / -mount -type f -name libidn2.so.4  (# that's what ldd said)
[jst@brick jan]# pacman -Fs libidn2.so.4
[jst@brick jan]# pacman -Fo libidn2.so.4  (# no package providing libidn2.so.4)
[jan@brick jan]# pacman -Ss libidn
core/libidn 1.35-1 [installed]
    Implementation of the Stringprep, Punycode and IDNA specifications
core/libidn2 2.1.1-2 [installed]
    Free software implementation of IDNA2008, Punycode and TR46
(# other versions are installed)

From the web page https://www.w3.org/Tools/HTML-XML-utils/README:
"2) Warning about "libidn not found":

  Without libidn2 or libidn, hxwls will not be able to translate
  Internationalized Domain Names to ASCII (option -a). You can install
  either libidn2 or libidn.

  If you install them in a non-standard location, use --with-libidn2
  or --with-libidn when invoking ./configure. E.g., if you install
  libidn from MacPorts on Mac OS X, run:

      ./configure --with-libidn=/opt/local
"

Uninstall and reinstall of html-xml-utils from AUR did not help.

How can I make hxwls work again?