[Bioperl-l] problems with libraries for Bio::Graphics
Lincoln Stein
lstein at cshl.edu
Mon Jul 21 19:01:16 EDT 2003
Hi,
You're entering dynamic link library hell. The best way to escape is to move
all copies of libpng and png.h to a safe hiding place, then to recompile
libpng from source. Then recompile gd.
As long as you are doing this with libpng-1.X, older applications should still
continue to work. I've had to do this from time to time and never ran into
problems.
Lincoln
On Monday 21 July 2003 01:53 am, Sergiy Ivakhno wrote:
> Greatings.
>
> I downloaded and installed GD 2.07 in order to run Bio::Graphics with
> render1.pl but I've got error massage libpng warning: Application was
> compiled with png.h from libpng-1.0.12
>
> libpng warning: Application is running with png.c from libpng-1.2.2
>
> gd-png: fatal libpng error: Incompatible libpng version in application and
> library
>
> Segmentation fault (core dumped)
>
> I installed libpng-1.0.12 (though I didn't delete libpng-1.2.2 - not sure
> how will run other programs).
>
> Now the other massage appear
>
> Can't load
> '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/GD/GD.so' for
> module GD:
>
> libpng12.so.0: cannot open shared object file: No such file or directory at
> /usr/lib/perl5/5.8.0/
>
> i386-linux-thread-multi/DynaLoader.pm line 229.
>
> What should I do? Have I done something wrong?
>
> Sergiy.
--
========================================================================
Lincoln D. Stein Cold Spring Harbor Laboratory
lstein at cshl.org Cold Spring Harbor, NY
========================================================================
More information about the Bioperl-l
mailing list