|
![](/i/fill.gif) |
Warp wrote:
> destroyedlolo <l_f### [at] yahoo com> 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
|
![](/i/fill.gif) |