Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: Service not available, remote server closed connection
-----BEGIN PGP SIGNED MESSAGE-----
Ueno mentioned a problem he was having, getting the new libtiff.a installed
for tiff-v3.4 on his SunOS. I thought I would include the answer for the
list: I'm not sure it is in the FAQ.
Ueno wrote:
I got tiff program of tiff-v3.4-tar.gz from sgi.com, I think my
compiling has no problem. So I cannot understand where is the
problem.
tiff-v3.4-tar.gz
-r--r--r-- 1 root daemon 646966 Feb 6 17:12 /usr/local/lib/libtiff.a
ld: /usr/local/lib/libtiff.a: warning: table of contents for archive is out of date; rerun ranlib(1)
ld: Undefined symbol
_TIFFSetCompressionScheme
_TIFFWriteDirectory
And I wrote:
Ohhh, yes. I remember this one. Sam wrote that stuff on an SGI
computer, which handles ranlib somewhat differently (it doesn't have
one). When he installs the /usr/local/lib/libtiff.a, it is with
permissions "444". Then, at least for SunOS, you have to run ranlib on
it to re-order the library. You cannot run ranlib on a file with
permissions 444: it barfs.
So, edit the Makefile to do a "chmod 644 /usr/local/lib/libtiff.a"
just before doing the ranlib, and "chmod 444 /usr/local/lib/libtiff.a"
after doing the ranlib.
Nico Garcia
Engineer, CIRL
Mass. Eye and Ear Infirmary
raoul@cirl.harvard.edu
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface
iQCVAwUBMvoITz/+ItycgIJRAQFA5QP+NJi8bPLDDKF6t1TO8Yu97EcxEweWa/c9
hVaAN64dM8WHASzHx5p6N7U2mSjYOxevVwhc5hFanwxS37BimEZYy4zmXMPgup2K
2WRe7qVQPJN25ye19yp66IGNurmA+BacwnpfCRTUrXpU5IX0HiUY8tEtL5QLhEuh
OJJz9tYcITs=
=OpqM
-----END PGP SIGNATURE-----