This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Subject: [sf-perl] PerlMagick & C libraries...
From: Josh Rabinowitz <joshr@joshr.com>
Date: Thu, 13 Jul 2000 23:43:48 -0700
SFPUGers:
Can anyone help me to resolve this? I got further with PerlMagick,
but the following program:
#!/usr/bin/perl -w
use strict;
use Image::Magick;
p = new Image::Magick;
when run through perl, complains:
Can't load '.../Magick.so' for module Image::Magick:
.../Magick.so: undefined symbol: XOpenDisplay
at .../DynaLoader.pm line 169.
Now, obviously perl's complaining that the function XOpenDisplay
can't be found by the dynaloader... but before I go searching about
in rpm, library and C land, does anyone know an easy way to
workaround/fix this (perhaps with ./configure options at compile
time?) RHLinux6.1, perl5.005_3, and the system is running
gnome/xwindows.
Thanks in advance,
joshr
For the record, I discovered that the most basic problem I was having
before was that if you configure and build PerlMagick 5.1.1 and then
try a 'make -n install' (which I ususally do before actually
installing the software-- the '-n' makes it a dry run), make
complains "no rule to make target 'PerlMagick'". (I believe this is a
bug in the PerlMagick 5.1.1 makefile). If you just throw caution to
the wind and do a 'make install', however, does seem to find that
target and _install_ PerlMagick.
===