tos has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

after an enervating installation-process including recompilation of gcc-2.95.3 to support f77 and several problems with lib-references and glx i finally succeeded in the installation of PDL v2.4.0 on my Linux-2.4.20-Athlon-System with perl, v5.8.0 built for i686-linux-thread-multi.

As a reward i now want to enjoy a visual pleasant 3D-Plot which i saw in a PC-journal. The plot should show a 3d-function in three partially coloured lattice-levels on top of each other.

#!/usr/bin/perl use strict; use warnings; use PDL; use PDL::Graphics::TriD; my $size = 25; # compute coordinates of the surface my $x = (xvals zeroes $size+1, $size+1)/$size; my $y = (yvals zeroes $size+1, $size+1)/$size; my $z = 0.5 + 0.5 * (sin($x*6.3) * sin($y*6.3)) ** 3; # coordinates determ color my $r=$x; my $g=$y; my $b=$z; # create 3d-plot imag3d [$x,$y,$z]; hold3d(); # ... colored surface above imag3d_ns [$x,$y,$z], [$r,$g,$b]; # ... colored lattice below lattice3d [$x,$y,$z-1], [$r,$g,$b];
Unfortunately all i get is
# perl pdl perl: error while loading shared libraries: /usr/local/lib/perl5/site_ +perl/5.8.0/i686-linux-thread-multi/auto/PDL/Graphics/OpenGL/ +: undefined symbol: gluOrtho2D
Any suggestions ?

thanks in advance, tos

p.s.: which documation would you recommend for piddle-newbies ?