maintainer-feedback requested: [Bug 269709] graphics/p5-Barcode-ZBar does not work
- In reply to: 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
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-perl (Nobody) <perl@FreeBSD.org> for maintainer-feedback: Bug 269709: graphics/p5-Barcode-ZBar does not work https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269709 --- Description --- 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.