Install

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
davidber

Install

Post by davidber »

I am trying to install imagick on CentOs5.

Here is what I have done:

1. Installed imagemagick 6.3.5 from source.
2. Did a convert to make sure it was 6.3.5 and working. I got the long message with the options.
3. I did a pecl install imagick
4. I looked in my php/modules dir and it imagick.so was there.
5. I added the extension=imagick.so into php.ini
6. service httpd restart

This is in my apache error log

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/imagick.so' - libgomp.so.1: shared object cannot be dlopen()ed in Unknown on line 0

Now I am stumped and can not figure out what to do. Any ideas?

Is this a GCC issue? Anyone else solve this for Centos 5?

Thanks.

dave
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Re: Install

Post by mkoppanen »

davidber wrote:I am trying to install imagick on CentOs5.

Here is what I have done:

1. Installed imagemagick 6.3.5 from source.
2. Did a convert to make sure it was 6.3.5 and working. I got the long message with the options.
3. I did a pecl install imagick
4. I looked in my php/modules dir and it imagick.so was there.
5. I added the extension=imagick.so into php.ini
6. service httpd restart

This is in my apache error log

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/imagick.so' - libgomp.so.1: shared object cannot be dlopen()ed in Unknown on line 0

Now I am stumped and can not figure out what to do. Any ideas?

Is this a GCC issue? Anyone else solve this for Centos 5?

Thanks.

dave
You could try compiling ImageMagick with --disable-openmp. I've never ran into this problem before.
Mikko Koppanen
My blog: http://valokuva.org
davidber

Re: Install

Post by davidber »

Thank you.

That solved the issue.
Post Reply