Re: Imagick installation issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, I was having trouble posting to the 'php-general@xxxxxxxxxxxxx' mailing
list directly. All my posts are bounced. I found this forum and so I will
continue here since I still have had no luck and my entire project hangs on
some sort of graphic support. The server admin told me GD support is not
possible at this point so I am trying to install imagick on the server.

Regrading imagemagick-dev. I am not sure what that is. I haven't seen any
info on it while researching imagemagick.

In regards to ImageMagick itself, I did the following...
tar xvfz ImageMagick.tar.gz
cd ImageMagick-6.4.1
./configure
make
make install
/usr/local/bin/convert logo: logo.gif

logo.gif is created

This is how I created imagick (instructions from
http://us.php.net/manual/en/install.pecl.phpize.php)...

cd imagick-2.1.1
phpize
./configure
make
make install

I didn't see anything that set off a red flag in the the output messages,
but then again I didn't understand 1/2 of the output messages. Other than a
lack of errors, I am not sure what to expect from make. 


bornplaydie-2 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
> 

-- 
View this message in context: http://www.nabble.com/Imagick-installation-issue-tp17711827p18029226.html
Sent from the PHP - General mailing list archive at Nabble.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux