HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ld.so reports TIFFFaxBlackTable not found (was: [ nosubject ] )



-----BEGIN PGP SIGNED MESSAGE-----

On Sat, 26 Sep 1998, David Woolley wrote:

> > Can anyone tell me why this is failing:
> > 
> > hylafax-v4.0p11, Solaris 2.5.1, gcc 2721
> > 
> > 110 % !!
> > /usr/local/sbin/faxq
> > ld.so.1: /usr/local/sbin/faxq: fatal: relocation error: file
> > /usr/local/sbin/faxq: symbol TIFFFaxBlac
> > kTable: referenced symbol not found
> > Killed
> 
> You have the wrong TIFF shared library on your LD_LIBRARY_PATH

Except that SunOS and I believe Solaris, do not permit the use of
LD_LIBRARY_PATH for programs running as "root" for security
reasons. Therefore, the appropriate -L/librarypath and/or
- -R/librarypath must be added at compilation time for these operating
systems.

Gcc as a compiler automatically includes /usr/lib, /usr/local/lib, and
/usr/local/lib/gcc-lib/[various other names] in its compiled
binaries. But using the LD_LIBRARY_PATH at compilation time or when
runnign programs as a user rather than as root can be very confusing.

I've run into this lovely bit of security obscurity before....

			Nico Kadel-Garcia
			Senior Engineer, CIRL 
			Mass. Eye and Ear Infirmary
			raoul@cirl.meei.harvard.edu

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNg6xTT/+ItycgIJRAQH4AgP/f4ulYJk6XVfAIyCU4tz00xh+PmSnbpuT
tUyRRQn3Hc0eNic7FBiv9tPT368TvB3TCzdxBSz4PlqGFTBzavE44jWFC+Kjyh6G
XUhYvqCR5Z+SCaFV0Mfsi21Ro2zlQqXYa1dpaMf27aRp8/NOhS+gHsJowcX6tMME
twDioe1FjrQ=
=fupn
-----END PGP SIGNATURE-----




Project hosted by iFAX Solutions