Summary: | print/hplip-plugin - 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" | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Andreas Beck <jarles.live> | ||||
Component: | Individual Port(s) | Assignee: | Max Brazhnikov <makc> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | tijl | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(makc) |
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Andreas Beck
2016-05-10 14:13:18 UTC
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 |