POV-Ray : Newsgroups : povray.unix : ltiff.so can't be found on installed POV-Ray 3.5 : Re: ltiff.so can't be found on installed POV-Ray 3.5 Server Time
8 Jul 2024 17:36:46 EDT (-0400)
  Re: ltiff.so can't be found on installed POV-Ray 3.5  
From: MidnightLightning
Date: 23 Apr 2003 22:05:10
Message: <web.3ea74582ffae30776b67fde0@news.povray.org>
Warp wrote:
>
>  Did you replace "-ltiff" with "/path/to/libtiff.a" as I said?
>
>#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
>-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
>

Yes, here's the result. Here's it without a -l or -L switch in front of it.
With the -l switch, it gets a similar error.

$ make
c++  -Wno-multichar -O3 -finline-functions -ffast-math -fomit-frame-pointer
-funroll-loops -fexpensive-optimizations -foptimize-sibling-calls
-Wno-multichar  -o povray  atmosph.o bbox.o bcyl.o benchmark.o bezier.o
blob.o  boxes.o bsphere.o camera.o chi2.o colour.o colutils.o cones.o csg.o
 discs.o express.o file_pov.o fncode.o fnintern.o fnpovfpu.o fnsyntax.o
fpmetric.o fractal.o function.o gif.o gifdecod.o hcmplx.o hfield.o
histogra.o iff.o image.o interior.o isosurf.o jpeg_pov.o lathe.o  lbuffer.o
lightgrp.o lighting.o matrices.o media.o mesh.o normal.o  objects.o
octree.o optin.o optout.o parse.o parsestr.o parstxtr.o  pattern.o pgm.o
photons.o pigment.o planes.o png_pov.o point.o poly.o  polygon.o polysolv.o
pov_mem.o povms.o povmscpp.o povmsend.o povmsrec.o  povray.o pov_util.o
ppm.o prism.o quadrics.o quatern.o rad_data.o  radiosit.o ray.o render.o
renderio.o sor.o spheres.o sphsweep.o  splines.o statspov.o super.o targa.o
texture.o tiff_pov.o tokenize.o  torus.o triangle.o truetype.o txttest.o
userdisp.o userio.o vbuffer.o  vlbuffer.o warps.o unix.o povxlib.o
-L/home/boydb/downloads/jpeg-6b -L/usr/lib -L/usr/local/lib -ljpeg
/usr/local/lib/libtiff.a -lpng -lz -lm  -lX11
$ povray
ld.so.1: povray: fatal: libtiff.so: open failed: No such file or directory
Killed

with a -L switch it does:

 povxlib.o  -L/home/boydb/downloads/jpeg-6b -L/usr/lib -L/usr/local/lib
-ljpeg -L/usr/local/lib/libtiff.a -lpng -lz -lm  -lX11
Undefined                       first referenced
 symbol                             in file
TIFFGetField                        tiff_pov.o
TIFFGetFieldDefaulted               tiff_pov.o
TIFFOpen                            tiff_pov.o
TIFFSetErrorHandler                 tiff_pov.o
TIFFClose                           tiff_pov.o
TIFFComputeStrip                    tiff_pov.o
TIFFReadRGBAImage                   tiff_pov.o
TIFFReadEncodedStrip                tiff_pov.o
TIFFGetVersion                      optout.o
TIFFScanlineSize                    tiff_pov.o
TIFFStripSize                       tiff_pov.o
TIFFSetWarningHandler               tiff_pov.o
ld: fatal: Symbol referencing errors. No output written to povray
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `povray'

each time I remove the povray file and the povray.o file before running
'make' again


Post a reply to this message

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