HylaFAX The world's most advanced open source fax server

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

Re: HylaFax & Redhat Linux 6.0



On Mon, 16 Aug 1999, Thomas Nilsen wrote:
> 
> I have just started having a look at Hylafax 4.0pl2 on a Redhat 6.0 Linux
> box. However, some libraries are not included with the Redhat distribution
> and I am having difficulties finding one of them elsewhere. The library in
> question is:
> 
> libjpeg.so.6
> 
> Can anyone point me in the right direction of an ftp server which holds this
> set?
> 

I had the same problem, though my settings are slightly different from
yours:
Redhat 5.2 (kernel 2.0.36)
hylafax-4.0pl2-3rh5 (rpm package)

The HylaFAX package installed successfully, say, no failing
dependencies.
But every time the cron daemon launched the "/etc/cron.hourly/hylafax"
job,
the faxmaster (aliased to root) got a mail with this body:
"/usr/sbin/faxqclean: error in loading shared libraries:
libjpeg.so.6: cannot open shared object file: No such file or directory"

I went to the /usr/lib directory and verified the libjpeg.so library was
there. Yes, it was (still is ;-) a symbolic link to libjpeg.so.62.0.0 .
Then, I issued these commands, as root:
sh# cat /etc/ld.so.conf
/usr/lib    <=== just check this path is included
...
sh# ln -s libjpeg.so.62.0.0 /usr/lib/libjpeg.so.6
sh# /sbin/ldconfig

ldconfig updates the dynamic linker/loader cache (/etc/ld.so.cache). You
can also "print shared library dependencies" for the faxqclean binary,
to
check that all of them are satisfied:
sh# /usr/bin/ldd /usr/sbin/faxqclean

Hope this helps.

Xavier Armengou i Sala
<armengou@fonocom.es>




Project hosted by iFAX Solutions