tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

p5-Tk: PNG issues on Darwin



When running the regression tests for p5-Tk on Darwin (ABI=64, Mac OS 10.8), the PNG and JPEG submodules do not work:

t/Require.t .................. 1/95 Tk/JPEG.pm: Can't load '/usr/pkgsrc/x11/p5-Tk/work/Tk-804.030/blib/arch/auto/Tk/JPEG/JPEG.bundle' for module Tk::JPEG: dlopen(/usr/pkgsrc/x11/p5-Tk/work/Tk-804.030/blib/arch/auto/Tk/JPEG/JPEG.bundle, 2): Symbol not found: _jpeg_resync_to_restart Referenced from: /usr/pkgsrc/x11/p5-Tk/work/Tk-804.030/blib/arch/auto/Tk/JPEG/JPEG.bundle
  Expected in: dynamic lookup
 at t/Require.t line 20
Compilation failed in require at t/Require.t line 20.
Tk/PNG.pm: Can't load '/usr/pkgsrc/x11/p5-Tk/work/Tk-804.030/blib/arch/auto/Tk/PNG/PNG.bundle' for module Tk::PNG: dlopen(/usr/pkgsrc/x11/p5-Tk/work/Tk-804.030/blib/arch/auto/Tk/PNG/PNG.bundle, 2): Symbol not found: _png_create_info_struct Referenced from: /usr/pkgsrc/x11/p5-Tk/work/Tk-804.030/blib/arch/auto/Tk/PNG/PNG.bundle
  Expected in: dynamic lookup
 at t/Require.t line 20
at /usr/pkg/lib/perl5/5.14.0/darwin-thread-multi-2level/DynaLoader.pm line 98 DynaLoader::croak('Can\'t load \'/usr/pkgsrc/x11/p5-Tk/work/Tk-804.030/blib/arch...') called at /usr/pkg/lib/perl5/5.14.0/darwin-thread-multi-2level/DynaLoader.pm line 194 DynaLoader::bootstrap('Tk::PNG', 804.03) called at /usr/pkgsrc/x11/p5-Tk/work/Tk-804.030/blib/lib/Tk/PNG.pm line 13
    require Tk/PNG.pm called at t/Require.t line 20
    eval {...} called at t/Require.t line 20
Compilation failed in require at t/Require.t line 20.
 at t/Require.t line 20
    eval {...} called at t/Require.t line 20

The same is true when trying to use the installed package.

The relevant package versions:
p5-Tk-804.030       Perl5 interface to Tk
png-1.5.12          Library for manipulating PNG images
jpeg-8d             IJG's jpeg compression utilities

The relevant bundles are not linked against libpng or libjpeg:
PNG.bundle:
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
JPEG.bundle:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)

Does anybody have an idea?

--Benny.


Home | Main Index | Thread Index | Old Index