OpenBSD 3.3: gd/GD.pm can't find libz.so.2.0

OpenBSD 3.3: gd/GD.pm can't find libz.so.2.0

Post by James Greenfie » Thu, 19 Jun 2003 04:15:53



I just built and installed gd 1.8.3 and GD.pm 1.41 (both out of the
ports tree) and all their dependencies.

But when trying to use GD.pm I get the following error:

/usr/libexec/ld.so: perl: libz.so.2.0: No such file or directory

I've checked the installed libs and libz.so.1.4 is installed in
/usr/lib. I can't find anything about libz 2.0 support in OpenBSD. As
far as I'm aware the ports tree should work as is with the version of
OpenBSD it ships with so I assume that I've screwed something up
somewhere.

Any help would be appreciated. In case someone has a better
suggestion, what I'm trying to do is find a tool to resample jpg
images on the command line _without_ requiring X (this box runs
headless as a webserver so X is overkill and since it's on a live IP
I'd like to keep what's running on it to a minimum so I stand a chance
of keeping it secure).

Regards
James Greenfield

 
 
 

1. Can't build GD.pm on Solaris8

I cant't build GD-1.41 on Solaris 8. When building, I get:
gcc -B/usr/ccs/bin/ -c  -I/usr/local/include -I/usr/local/include/gd2
-fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"1.41\" -DX
S_VERSION=\"1.41\" -fPIC
"-I/usr/local/lib/perl5/5.8.3/sun4-solaris/CORE"  -DHAVE_JPEG -DHA
VE_TTF -DHAVE_XPM GD.c
GD.xs: In function `newDynamicCtx':
GD.xs:342: structure has no member named `free'
GD.xs: In function `XS_GD__Image_newFromPngData':
GD.xs:395: structure has no member named `free'
GD.xs: In function `XS_GD__Image_newFromGdData':
GD.xs:412: structure has no member named `free'
GD.xs: In function `XS_GD__Image_newFromGd2Data':
GD.xs:429: structure has no member named `free'
GD.xs: In function `XS_GD__Image_newFromJpegData':
GD.xs:472: structure has no member named `free'
GD.xs: In function `XS_GD__Image_newFromWBMPData':
GD.xs:494: structure has no member named `free'
make: *** [GD.o] Error 1

I'm using
- v5.8.3 built for sun4-solaris
- gcc version 3.2.3
- libgd gd-2.0.23 with jpeg & png & freetype

I've asked my friend Google about this and the only time this has
happened was, when someone tried to compile GD.pm with old libgd (pre
1.8)..

It's true that I had libgd 1.8.4 before but have rebuilt libgd anew
(for couple of times) and it's 2.0.23 now (or should be at least)

Any hints how to get to the bottom of this

Tnx
Jure

2. CDROM on a Gatway

3. GD.pm compile problem

4. ACPI in Linux?

5. GD.pm on Solaris 2.4 Question

6. gcc-2.4.5

7. where to download either libz.tar or 64 bits libz.so libz.a

8. Login to MS Exchange to send e-mail

9. php-4.0.3pl1 et gd-1.8.3 sur OpenBSD 2.8

10. PHP and GD 2.0

11. Povray RPM & 'libz.so'

12. 'libz.so.1'

13. Can't get Sony CDU-31A-GD to mount