Subject: | Build.PL problems on Debian systems |
It does not seem to be possible to use Build.PL out-of-the box on Debian installs, even if the systems' libhts-dev is installed. Problem is that the .so goes to /usr/lib/x86_64 (or similar directories on architectures), which is not searched by default in Build.PL. Setting LD_LIBRARY_PATH=/usr/lib/x86_64 does not help, because Build.PL expects that include and library files share the same parent directory (I think).
However if one runs Makefile.PL then things work --- probably because the Makefile.PL does not have any checks.
Maybe it would be better to use something like Devel::CheckLib, which handles the edge cases of library and header detection?