2006.03.28 22:05 "Re: [Tiff] lots of compile errors on solaris for v 3.8.2", by Bob Friesenhahn
Hi, I'm trying to build libtiff and am getting a lot of errors on compilation. The ./configure runs with no complaints, and make starts off well also. then i get
Text relocation remains referenced
against symbol offset in file
and about 1300 lines of (no, really) stuff like this:
The symbol and offsets vary pretty widely, but the referenced file is always libstdc++.a, with some or another .o file in parenthesis. The
I don't have root access to this machine. Is this something I can work around myself, or is it something wrong on a higher level? I've been doing a lot of building of late, and this is the first time I've seen anything like this. Any help is greatly appreciated.
Are you using Solaris 2.6? It is good to make sure that you are not using a compiler built for an older version of Solaris since doing so can cause problems...
Regardless, the error is caused by GCC's C++ library not being built as a shared library. In order for libtiff's shared library to link with it, GCC's C++ library also needs to be built as a shared library.
If you are not planning to use the C++ interface, then you can try configuring libtiff like
This should disable the C++ component of libtiff so the problem goes away. There is also the option of specifying --disable-shared but this will have the effect of building libtiff itself as only a static library.
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/