[Bug 269709] graphics/p5-Barcode-ZBar does not work
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 269709] graphics/p5-Barcode-ZBar does not work"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269709] graphics/p5-Barcode-ZBar does not work"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269709] graphics/p5-Barcode-ZBar does not work"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 269709] graphics/p5-Barcode-ZBar does not work"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Feb 2023 10:02:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269709
Bug ID: 269709
Summary: graphics/p5-Barcode-ZBar does not work
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: perl@FreeBSD.org
Reporter: bonkor@gmail.com
Assignee: perl@FreeBSD.org
Flags: maintainer-feedback?(perl@FreeBSD.org)
graphics/p5-Barcode-ZBar depends of libzbar.so but libzbar.so is not mentioned
in LDDLFLAGS string in resulting Makefile
LDDLFLAGS = -shared -L/usr/local/lib/perl5/5.32/mach/CORE -lperl
-L/usr/local/lib -fstack-protector-strong
So:
[kostya@www:~]$ ldd
/usr/local/lib/perl5/site_perl/mach/5.32/auto/Barcode/ZBar/ZBar.so | grep zbar
[kostya@www:~]$
and if we start perl-script with use we can see:
[kostya@www:~]$ perl -e 'use Barcode::ZBar;'
ld-elf.so.1:
/usr/local/lib/perl5/site_perl/mach/5.32/auto/Barcode/ZBar/ZBar.so: Undefined
symbol "zbar_get_symbol_name"
[kostya@www:~]$
if we change string LDDLFLAGS to
LDDLFLAGS = -shared -L/usr/local/lib/perl5/5.32/mach/CORE -lperl -lzbar
-L/usr/local/lib -fstack-protector-strong
library work fine.
--
You are receiving this mail because:
You are the assignee for the bug.