POV-Ray : Newsgroups : povray.unix : POV-Ray 3.7 RC 6 not compiling : Re: POV-Ray 3.7 RC 6 not compiling Server Time
27 Apr 2024 23:33:21 EDT (-0400)
  Re: POV-Ray 3.7 RC 6 not compiling  
From: James Holsenback
Date: 10 Jul 2012 07:24:35
Message: <4ffc10f3$1@news.povray.org>
On 07/09/2012 07:01 PM, clipka wrote:
> Am 09.07.2012 20:31, schrieb Chaanakya:
>> Hey guys!  Quick question.
>>
>> Currently, I have POV-Ray 3.6 installed and working.  I am trying to
>> get POV-Ray
>> 3.7 working (mainly for the multithreading).  ./configure works fine
>> (exits with
>> no errors).  However, make throws several errors, the most severe of
>> which is:
>>
>> ...../source/base/libbase.a(png.o): In function `ReadPNGUpdateInfo':
>> png.cpp:(.text+0x36b): undefined reference to `png_set_longjmp_fn'
>> ...../source/base/libbase.a(png.o): In function `ReadPNGImage':
>> png.cpp:(.text+0x3bb): undefined reference to `png_set_longjmp_fn'
>> ...../source/base/libbase.a(png.o): In function
>> `pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
>> pov_base::Image::WriteOptions const&)':
>> png.cpp:(.text+0x21a5): undefined reference to `png_set_longjmp_fn'
>> png.cpp:(.text+0x2c5b): undefined reference to `png_set_longjmp_fn'
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [povray] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> I googled the error and did not get much to go from.  Has anyone else
>> encountered this error and if so, how did you fix it?
>
> Do you happen to have multiple versions of libpng installed? Is the
> libpng-dev up to date to match the libpng version?

I have multiple versions installed ... 1.2.49-9.9.1 and 1.4.11-3.9.1 and 
configure has always found 1.4 just fine.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.