pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Confusing error installing graphics/tiff
I'm trying to build tiff on Solaris 10(06/06)/x86 and I'm not sure what I need
to do to get it to build and install properly.
I have pkgsrc set to build with sunstudio 10, but when tiff failed to build with
sunstudio I ran make clean, changed my path to exclude sunstudio and set CC and
CXX to use the gcc that comes with solaris. It compiled after that, but during
the install portion I got the message "relink with the above command before
installing it" and I'm not sure what command they mean.
Enclosed is the output of the 'make install' portion up until it crashes.
===
===> Installing for tiff-3.8.2nb3
Making install in port
Making install in libtiff
test -z "/usr/pkg/lib" || /bin/ksh ../config/mkinstalldirs "/usr/pkg/lib"
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -o root -g root
'libtiff.la' '/usr/pkg/lib/libtiff.la'
/usr/ucb/install -c -o root -g root .libs/libtiff.so.3.8.2
/usr/pkg/lib/libtiff.so.3.8.2
(cd /usr/pkg/lib && { ln -s -f libtiff.so.3.8.2 libtiff.so.3 || { rm -f
libtiff.so.3 && ln -s libtiff.so.3.8.2 libtiff.so.3; }; })
(cd /usr/pkg/lib && { ln -s -f libtiff.so.3.8.2 libtiff.so || { rm -f libtiff.so
&& ln -s libtiff.so.3.8.2 libtiff.so; }; })
chmod +x /usr/pkg/lib/libtiff.so.3.8.2
/usr/ucb/install -c -o root -g root .libs/libtiff.lai /usr/pkg/lib/libtiff.la
/usr/ucb/install -c -o root -g root .libs/libtiff.a /usr/pkg/lib/libtiff.a
chmod 644 /usr/pkg/lib/libtiff.a
ranlib /usr/pkg/lib/libtiff.a
----------------------------------------------------------------------
Libraries have been installed in:
/usr/pkg/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
- use the `-RLIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/ksh ../libtool --mode=install /usr/ucb/install -c -o root -g root
'libtiffxx.la' '/usr/pkg/lib/libtiffxx.la'
libtool: install: warning: relinking `libtiffxx.la'
(cd /usr/pkgsrc/graphics/tiff/work/tiff-3.8.2/libtiff; /bin/sh
/usr/pkg/bin/libtool --tag=CXX --mode=relink CC -O
-L/usr/pkgsrc/graphics/tiff/work/.buildlink/lib -Wl,-R/usr/pkg/lib -o
libtiffxx.la -rpath /usr/pkg/lib -no-undefined -version-number 3:8:2
tif_stream.lo -L../libtiff/.libs ../libtiff/libtiff.la -L../port/.libs
../port/libport.la -ljpeg -lz -lm -lc )
rm -fr .libs/libtiffxx.lax
mkdir .libs/libtiffxx.lax
rm -fr .libs/libtiffxx.lax/libport.a
mkdir .libs/libtiffxx.lax/libport.a
(cd .libs/libtiffxx.lax/libport.a && ar x
/usr/pkgsrc/graphics/tiff/work/tiff-3.8.2/libtiff/../port/.libs/libport.a)
mv: cannot access libtiffxx.so.3.8.2
libtool: install: error: relink `libtiffxx.la' with the above command before
installing it
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/graphics/tiff/work/tiff-3.8.2/libtiff
*** Error code 1
Home |
Main Index |
Thread Index |
Old Index