On 6/7/08, BornPlayDie <bornplaydie@xxxxxxxxxxx> wrote: > > > I am trying to install ImageMagick and Imagick on my server. I am running > the following... > > Apache version > 1.3.37 (Unix) > PHP version > 5.2.1 > > I have installed the following... > > ImageMagick 6.4.1 > Imagick 2.1.1 > > I ran the convert logo test for ImageMagick and it works fine. However > imagick.so will not load. I confirmed the so file is in the correct > extensions dir specified by extension_dir in php.ini. I also confirmed this > is the correct php.ini file. > > My php test file looks like this... > > if (!extension_loaded('imagick')) { > dl("imagick.so"); > if (!extension_loaded('imagick')) { > echo "PHP IMagick will not load!"; > exit; > } > } > $image = new Imagick('test.jpg'); > $image->thumbnailImage(100, 0); > $image->writeImage('test-thumb.jpg'); > header("Location: test.html"); /* display the thumbnail */ > > But I get the following error... > > Warning: dl() [function.dl <http://pimpmysnaps.com/function.dl>]: > Unable to load dynamic library > '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so' - > /usr/local/lib/php/extensions/no-debug-non-zts-20060613/imagick.so: > undefined symbol: zend_ce_iterator in /home/pimpms/public_html/test.php > on line 4 > > > PHP IMagick will not load! > > > > > This is the output for ldd -r for imagick.so. There are a number of > dependencies that I don't recognize > and I think there may be other packages that need to be installed. > > > > undefined symbol: zend_ce_iterator > (/usr/local/lib/php/extensions/no-debug-non-zts-20060613//imagick.so) > > undefined symbol: core_globals > (/usr/local/lib/php/extensions/no-debug-non-zts-20060613//imagick.so) > > undefined symbol: executor_globals > (/usr/local/lib/php/extensions/no-debug-non-zts-20060613//imagick.so) > > undefined symbol: zval_add_ref > (/usr/local/lib/php/extensions/no-debug-non-zts-20060613//imagick.so) > > undefined symbol: OnUpdateBool > (/usr/local/lib/php/extensions/no-debug-non-zts-20060613//imagick.so) > > undefined symbol: zend_hash_internal_pointer_reset_ex > > ... (and the list goes on) > > Any help would be appreciated. > > Thanks, > Mark > > > _________________________________________________________________ > It's easy to add contacts from Facebook and other social sites through > Windows Live™ Messenger. Learn how. > https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow Have you tried restarting apache? its usually required if you've made changes -- Bastien Cat, the other other white meat