Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: mbertrand on June 14, 2017, 02:59:28 PM

Title: cups-files.conf
Post by: mbertrand on June 14, 2017, 02:59:28 PM
I've changed the ServerRoot folder to be somewhere else to make changes made via web interface to be persistent. Adding printers work. Put when I print I get errors: "error while loading shared libraries: libpoppler.so.37: cannot open shared object file: No such file or directory". But if I use the default path alreay set to "/usr/local/etc/cups" it works.
Title: Re: cups-files.conf
Post by: gerald_clark on June 14, 2017, 03:22:33 PM
Just add the Cups config files in /usr/local/etc/cups to your .filetool.lst and do a backup.
Title: Re: cups-files.conf
Post by: mbertrand on June 14, 2017, 03:57:25 PM
That is already done. The problem is that user uses web interface to add printer or modify. The config files are now changed.  I can't have user execute the backup command.
On our systems we have two drives. So I have configured CUPS by changing the path to the second drive. This was done in the cups-files.conf by setting ServerRoot to path to second drive.
Title: Re: cups-files.conf
Post by: mbertrand on June 15, 2017, 10:32:36 AM
Still can't find what is going on. If I don't change ServerRoot then all works but when I change it I get errors on dependency libs it can't find. If I look at the error log it seems to find a filter that can do the job but one of the libs it depends on is not found. The filter in question is pdftoraster. Doing ldd on it shows that it can't find libpoppler.so.37 but I have libpoppler.so.44.
Title: Re: cups-files.conf
Post by: Juanito on June 15, 2017, 10:57:00 AM
which version and architecture of tinycore are you using?
Title: Re: cups-files.conf
Post by: mbertrand on June 15, 2017, 11:14:20 AM
TinyCore 5.4 i386
Title: Re: cups-files.conf
Post by: Juanito on June 15, 2017, 11:18:19 AM
Since the poppler extension was updated after the cups-filters extension in the tc-5.x x86 repo, I'd guess that it broke cups-filters?
Title: Re: cups-files.conf
Post by: mbertrand on June 15, 2017, 11:36:12 AM
Unfortunately we can't just upgrade our version of TC right now. Maybe I can install a more recent CUPS with it's dependencies? Is there anyways of telling the package app installer in TC to download packages from different version. Doing this online with all it's dependencies will be to long and pron to errors.
Title: Re: cups-files.conf
Post by: Juanito on June 15, 2017, 11:54:24 AM
You'd probably be better off to recompile the same version of cups-filters on tc-5.x