AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



2007.04.05 22:47 "Installation "libjpeg.la seems to be moved"", by Adam Talbot

    Hi all,
    I have tried to install this software several times unsuccessfully.
    Each time I come across the same error and I can find no information 
about it on the net.
    If anyone has any suggestions or insight that would be greatly 
appreciated.
    The configure and the make seem to work just fine.  I su as root and 
run "make install" and I get the error (shown below).

The main problem seems to be with the command:
/bin/sh /home/atalbot/Download/tiff-3.8.2/libtool  --tag CXX 
--mode=relink g++ -g -O2 -o libtiffxx.la -rpath /usr/local/lib 
-no-undefined -version-number 3:8:2 tif_stream.lo ../libtiff/libtiff.la 
../port/libport.la -ljpeg -lz -lm -lc

Which has the following output:
libtool: relink: warning: 
`/usr/lib/gcc/i386-redhat-linux/3.4.6/../../..//libjpeg.la' seems to be 
moved
mv: cannot move `libtiffxx.so.3.8.2' to `libtiffxx.so.3.8.2U': 
Permission denied

    Thanks,
    Adam.

    I am running on RedHat Enterprise Linux Version:
Linux version 2.6.9-42.0.10.ELsmp (brewbuilder@hs20-bc1-5.build.redhat.com)
gcc version 3.4.6 20060404
Red Hat 3.4.6-3 #1 SMP Fri Feb 16 17:17:21 EST 2007

    The error is:
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/sh ../libtool --mode=install /usr/bin/install -c  'libtiffxx.la' 
'/usr/local/lib/libtiffxx.la'
libtool: install: warning: relinking `libtiffxx.la'
libtool: install: (cd /home/atalbot/Download/tiff-3.8.2/libtiff; /bin/sh 
/home/atalbot/Download/tiff-3.8.2/libtool  --tag CXX --mode=relink g++ 
-g -O2 -o libtiffxx.la -rpath /usr/local/lib -no-undefined 
-version-number 3:8:2 tif_stream.lo ../libtiff/libtiff.la 
../port/libport.la -ljpeg -lz -lm -lc )
libtool: relink: warning: 
`/usr/lib/gcc/i386-redhat-linux/3.4.6/../../..//libjpeg.la' seems to be 
moved
mv: cannot move `libtiffxx.so.3.8.2' to `libtiffxx.so.3.8.2U': 
Permission denied
libtool: install: error: relink `libtiffxx.la' with the above command 
before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/atalbot/Download/tiff-3.8.2/libtiff'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/atalbot/Download/tiff-3.8.2/libtiff'
make: *** [install-recursive] Error 1