POV-Ray : Newsgroups : povray.unix : Another small compilation problem. : Re: Another small compilation problem. Server Time
5 Jul 2024 12:42:25 EDT (-0400)
  Re: Another small compilation problem.  
From: destroyedlolo
Date: 16 Nov 2003 07:33:20
Message: <3FB77BDA.3090900@yahoo.com>
Warp wrote:
> destroyedlolo <l_f### [at] yahoocom> wrote:
> 
>>I'm fighting now with linking problem against TIFF library on my Ultra 
>>under Solaris ...
> 
> 
>   Link the tiff library statically. That should fix the problem.
> 
>   That is, locate the libtiff.a file in your system and then replace
> "-ltiff" with "/the/location/of/libtiff.a".

This is the problem : there is another "old" TIFF library flying in 
openwin directories. So, to solve this problem, you MUST have 
/usr/local/lib (or whatever) before other system directories.

 >  There is a really strange problem in some Solaris systems where the
 > dynamic version of the tiff library is not compatible with the static
 > library, which is the correct one.

-r--r--r--   1 laurent  staff    1284230 nov  14 18:57 
/usr/local/lib/libtiff.a
-r-xr-xr-x   1 laurent  staff     526973 nov  14 18:57 
/usr/local/lib/libtiff.so

but I got the same thing w/ other library :

-rw-r--r--   1 laurent  other     212436 sep  16  2001 
/usr/local/lib/libpng.a
-rwxr-xr-x   1 laurent  other     179308 sep  16  2001 
/usr/local/lib/libpng.so.3.1.2.0

and it seems everything is working fine w/ PNG in both static or dynamic.


Anyway, now it's working and I've done "Benchmark.pov" in ... 10h14m !
Fare from fastest PCs but not so bad for an old machine w/o strong 
optimisation (GCC done the compilation).

Bye

Lolo


Post a reply to this message

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