Versions 6.8.1-9 and later don't function

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

the result of make:

CC utilities/animate.o
CCLD utilities/animate
/usr/ccs/bin/ld: Unsatisfied symbols:
pthread_create (first referenced in magick/.libs/libMagickCore-6.Q16.a(magick_libMagickCore_6_Q16_la-distribute-cache.o)) (code)
pthread_attr_init (first referenced in magick/.libs/libMagickCore-6.Q16.a(magick_libMagickCore_6_Q16_la-distribute-cache.o)) (code)
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Versions 6.8.1-9 and later don't function

Post by broucaries »

magick could you try to put the newest AX_CHECk_PTHREAD macro form autoconf-archive..

hrd_hpux: could you post the config.log and the faileld line with make V=1

Bastien
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Versions 6.8.1-9 and later don't function

Post by magick »

Look for the patch in the ImageMagick Subversion trunk in just a few hours. Thanks.
clava
Posts: 1
Joined: 2013-04-15T09:24:08-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by clava »

I have the same problem with "don't know how to make "magick/ImageMagick-6.Q16.pc"
This solution was help me:
I was install lower version of ImageMagick (6.8.0.0), "make install" say "not found -libltdl"
Than I install libltdl from ports :
/usr/ports/devel/libltdl
make install clean
and than again install ImageMagick 6.8.0.0

sorry if it is some offtopic
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

I had posted the config.log and "make V=1", quite long. It is now gone. Was it received?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Versions 6.8.1-9 and later don't function

Post by magick »

It was too long to post to this forum. Instead post a URL so we can review it.
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

I have placed config.log on ftp.aoml.noaa.gov/hrd/pub/griffin. I hope this helps.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Versions 6.8.1-9 and later don't function

Post by magick »

We updated the ax_pthread.m4 macro in ImageMagick 6.8.5-0 Beta. It will be available tomorrow. Try this release and see if it fixes the problem.
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

I tried the 6.8.5.0 beta and still have the unsatisfied symbol during make for pthread_create at animate.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Versions 6.8.1-9 and later don't function

Post by magick »

The only thing we can suggest is to edit Makefile and add -lpthread (or whatever your pthread library is called) to the linker command line. We don't have access to an HP machines to determine why the pthread test is failing. You can also try
  • ./configure --without-threads
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

I already had "configure --without-threads" so that's out. My libpthread.a doesn't seem to have pthread_create in it. A mystery as to what HP did.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Versions 6.8.1-9 and later don't function

Post by magick »

Try this. Edit magick/distribute-cache.c and change
  • #if defined(MAGICKCORE_HAVE_SOCKET)
to
  • #if defined(MAGICKCORE_HAVE_SOCKET) && defined(MAGICKCORE_HAVE_PTHREAD)
hrd_hpux
Posts: 13
Joined: 2013-03-12T08:52:40-07:00
Authentication code: 6789

Re: Versions 6.8.1-9 and later don't function

Post by hrd_hpux »

Still a no go, it fails to make animate, and the error output did not change.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Versions 6.8.1-9 and later don't function

Post by magick »

We have run out of ideas and unfortunately we do not have access to an HPUX machine to investigate further.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Versions 6.8.1-9 and later don't function

Post by broucaries »

Smell like this http://gcc.gnu.org/ml/gcc-patches/2008-01/msg00739.html

Does adding -lptrhread solve the problem ?

aka CC="$CC -lpthread" make
Post Reply