tags 356565 patch thanks On Sun, Mar 12, 2006 at 08:41:07PM +0100, christian mock wrote: > Package: libg20-perl > Version: 0.70-1.1 > Severity: grave > Justification: renders package unusable > > When calling any G2 functions from perl, an error like the following occurs: > > perl: symbol lookup error: /usr/lib/perl5/auto/G2/G2.so: undefined symbol: > g2_open_X11
Hi, starting with version 0.70-1 libg20-perl is not built correctly if libg20 is not already installed. This is because g2_perl/Makefile.PL.in is missing the parent directory in the linker search path. The parent directory is removed in the Debian .diff.gz, but I can't see any reason for that. The attached patch fixes this. Cheers, -- Niko Tyni [EMAIL PROTECTED]
--- g2_perl/Makefile.PL.in 2006/04/20 06:18:03 1.1 +++ g2_perl/Makefile.PL.in 2006/04/20 06:18:11 @@ -4,7 +4,7 @@ WriteMakefile( 'NAME' => 'G2', 'VERSION_FROM' => 'G2.pm', # finds $VERSION - 'LIBS' => ['-lg2 @LDFLAGS@'], # e.g., '-lm' + 'LIBS' => ['-L./.. -lg2 @LDFLAGS@'], # e.g., '-lm' 'DEFINE' => '@DEFS@', # e.g., '-DHAVE_SOMETHING' 'INC' => '-I./../include -I../src -I../src/X11 -I../src/PS -I../src/GD -I../src/FIG', # e.g., '-I/usr/local/include' );