Date: Mon, 20 Feb 2023 10:02:49 +0000 From: bugzilla-noreply@freebsd.org To: perl@FreeBSD.org Subject: maintainer-feedback requested: [Bug 269709] graphics/p5-Barcode-ZBar does not work Message-ID: <bug-269709-14331-agNdWvDo5k@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-269709-14331@https.bugs.freebsd.org/bugzilla/> References: <bug-269709-14331@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
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=3D269709 --- Description --- graphics/p5-Barcode-ZBar depends of libzbar.so but libzbar.so is not mentio= ned in LDDLFLAGS string in resulting Makefile LDDLFLAGS =3D -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 z= bar [kostya@www:~]$=20 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: Undefin= ed symbol "zbar_get_symbol_name" [kostya@www:~]$ if we change string LDDLFLAGS to LDDLFLAGS =3D -shared -L/usr/local/lib/perl5/5.32/mach/CORE -lperl -lzbar -L/usr/local/lib -fstack-protector-strong library work fine.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269709-14331-agNdWvDo5k>