[magick-users] Error Compiling PhpMagickWand into php5

James Andrews thenetimp at gmail.com
Tue Jul 31 20:31:37 PDT 2007


Hope you guys can help.

Here's my basic info.

Fedora Core 6.  Apache 2.2.4, Php 5.2.3
ImageMagick 6.3.5 and MagicWand for Php 1.0.4

If I configure php without the --with-magickwand it configures and  
will compile no problem.  I add magickwand to the config and it does.

Here's what I find in the config.log file

configure:68115: checking for ImageMagick / MagickWand 6.3.3 or  
greater with /usr/local/bin/Wand-config
configure:68119: result: 6.3.5
configure:68339: checking for MagickSetImageTicksPerSecond in -lWand
configure:68371: gcc -o conftest -I/usr/include -g -O2  -L/usr/lib  - 
Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lWand
     -lMagick -lfreetype -ljpeg -lz -lpthread -lm -lpthread -lWand - 
lMagick -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -Wl,-- 
rpath -Wl,/usr/local/lib -lfreetype -lz
    -lcurl -lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lcurl -lxml2 -lz - 
lm -lMagick -lfreetype -ljpeg -lz -lm -lWand -lMagick -lfreetype -lz >&5
/usr/local/lib/libMagick.so: undefined reference to  
`omp_get_num_threads'
/usr/local/lib/libMagick.so: undefined reference to  
`GOMP_parallel_start'
/usr/local/lib/libMagick.so: undefined reference to `GOMP_parallel_end'
/usr/local/lib/libMagick.so: undefined reference to `omp_get_thread_num'
collect2: ld returned 1 exit status

I have no idea what these references are, and how to get them to be  
defined.  I did compile ImageMagick myself, I can supply whatever  
info is necessary to help.

James


More information about the Magick-users mailing list