Operating System - HP-UX
1831483 Members
3320 Online
110025 Solutions
New Discussion

Problem compiling GD.pm (perl)

 
Pat Campbell
Honored Contributor

Problem compiling GD.pm (perl)

Trying to compile GD on HPUX 11.00. The "perl Makefile" seems to go ok, but the "make" fails - see below. I've installed libgd various ways - from HPUX Software Porting and Archive, from boutell.com. Any advice is appreciated.

/usr/lib/dld.sl: Unresolved symbol: jpeg_CreateDecompress (code) from /usr/loca
l/lib/libgd.sl
/usr/lib/dld.sl: Unresolved symbol: jpeg_set_defaults (code) from /usr/local/li
b/libgd.sl
/usr/lib/dld.sl: Unresolved symbol: jpeg_start_decompress (code) from /usr/loca
l/lib/libgd.sl
Can't load './blib/arch/auto/GD/GD.sl' for module GD: Unresolved external at /op
t/perl/lib/5.8.0/PA-RISC2.0/DynaLoader.pm line 229.
at t/GD.t line 11
Compilation failed in require at t/GD.t line 11.
BEGIN failed--compilation aborted at t/GD.t line 11.
t/GD....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
3 REPLIES 3
Stanimir
Trusted Contributor

Re: Problem compiling GD.pm (perl)

Hi!
There could be many reasons for "unsatisfied
symbols":
1.) the symbol is indeed missing on right place/check this with "nm" for only "indef"'s there/;
2.) The reference is wrong
3.) Incorrect link order
4.)Version conflict: /it's your problem I thing :)/ Often runtime libraries depend on each other, so you must have all libraries, compiled on 11.00 in order to escape from
build problems. Refer to attachment here.
Regards, Stan

Steve Steel
Honored Contributor

Re: Problem compiling GD.pm (perl)

Hi

Get the gd source and start again from that.


look at

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcc6d7e990647d4118fee0090279cd0f9,00.html



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Pat Campbell
Honored Contributor

Re: Problem compiling GD.pm (perl)

Thanks for responding.

I've tried to rebuild all dependent modules (libpng, jpge, zlib, freetype, gd). I thinks the problem may be related to libpng. I obtained an eval version of these libraries from TWWfsw and was able to get GD installed.