There is a bug in print/hplip-plugin (hplip-plugin-3.16.2_2) When i want to scan with the HP Pro MFP m125nw, i get this error in /var/log/messages: hp-scan: common/utils.c 188: unable to load library /usr/local/share/hplip/scan/plugins/bb_soapht.so: Shared object "bb_soapht.so.1" not found, required by "bb_soapht.so" hp-scan: common/utils.c 220: Invalid Library hanlder pLibHandler = NULL. Printing works... Greets
When I reinstall print/hplip-plugin, this is the output: ===> Registering installation for hplip-plugin-3.16.2_2 (hplip-plugin-3.16.2_2) /usr/ports/print/hplip-plugin/work/stage//usr/local/share/hplip/fax/plugins/fax_marvell.so - required shared library fax_marvell-x86_64.so.1 not found (hplip-plugin-3.16.2_2) /usr/ports/print/hplip-plugin/work/stage//usr/local/share/hplip/scan/plugins/bb_escl.so - required shared library bb_escl.so.1 not found (hplip-plugin-3.16.2_2) /usr/ports/print/hplip-plugin/work/stage//usr/local/share/hplip/scan/plugins/bb_marvell.so - required shared library bb_marvell.so.1 not found (hplip-plugin-3.16.2_2) /usr/ports/print/hplip-plugin/work/stage//usr/local/share/hplip/scan/plugins/bb_soap.so - required shared library bb_soap.so.1 not found (hplip-plugin-3.16.2_2) /usr/ports/print/hplip-plugin/work/stage//usr/local/share/hplip/scan/plugins/bb_soapht.so - required shared library bb_soapht.so.1 not found Installing hplip-plugin-3.16.2_2... ===> Cleaning for hplip-plugin-3.16.2_2
Created attachment 170181 [details] patch Can you try this patch for the port? The problem is that some of the plugin libraries have an SONAME field that is different from the name of the library. The patch first builds dummy plugins without an SONAME and then links the wrapper libraries against that.
Yes, with the patch it works. Installation without Problems and scanning is now possible. Thanks!
fixed
A commit references this bug: Author: tijl Date: Tue May 10 16:46:36 UTC 2016 New revision: 414946 URL: https://svnweb.freebsd.org/changeset/ports/414946 Log: Some plugins have an SONAME field that is different from the library name so the wrapper library that links to such a plugin cannot find it at runtime. Create dummy plugins without SONAME and link the wrapper libraries against that. PR: 209426 Tested by: Andreas Beck <jarles.live@gmail.com> Changes: head/print/hplip-plugin/Makefile