WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: cups-files.conf  (Read 2397 times)

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
cups-files.conf
« on: June 14, 2017, 11:59:28 AM »
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.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: cups-files.conf
« Reply #1 on: June 14, 2017, 12:22:33 PM »
Just add the Cups config files in /usr/local/etc/cups to your .filetool.lst and do a backup.

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: cups-files.conf
« Reply #2 on: June 14, 2017, 12: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.

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: cups-files.conf
« Reply #3 on: June 15, 2017, 07: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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: cups-files.conf
« Reply #4 on: June 15, 2017, 07:57:00 AM »
which version and architecture of tinycore are you using?

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: cups-files.conf
« Reply #5 on: June 15, 2017, 08:14:20 AM »
TinyCore 5.4 i386

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: cups-files.conf
« Reply #6 on: June 15, 2017, 08: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?
« Last Edit: June 15, 2017, 08:31:35 AM by Juanito »

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: cups-files.conf
« Reply #7 on: June 15, 2017, 08: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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: cups-files.conf
« Reply #8 on: June 15, 2017, 08:54:24 AM »
You'd probably be better off to recompile the same version of cups-filters on tc-5.x
« Last Edit: June 15, 2017, 08:57:23 AM by Juanito »