You are not logged in.

#1 2009-01-19 01:53:44

mongoose088
Member
Registered: 2008-09-14
Posts: 32

A libhx error with CUPS [UNSOLVED]

Hello all,

    I've never been able to print in Arch, but today I decided to take another shot at it, and have encountered a problem when trying to start the CUPS daemon.

Here's the terminal output:
[tom@laptop ~]$ sudo /etc/rc.d/cups start

:: Starting CUPS Daemon
[BUSY] /usr/sbin/cupsd: error while loading shared libraries: libhx509.so.3: cannot open shared object file: No such file or directory

Basically from what I've read, it means there's some kind of a mismatch between the version of cups and the version of libhx. So I issued a pacman -Syu sucessfully, and had this result with terminal:

[tom@laptop ~]$ locate libhx
/usr/lib/libhx509.a
/usr/lib/libhx509.so
/usr/lib/libhx509.so.4
/usr/lib/libhx509.so.4.0.0

So my library is up to so.4, and cups is trying to use so.3, which doesn't exist. I was considering symlinking, but it's said that's a generally bad idea. I've tried reinstalling cups, but it still wants to use so.3.

How do I update CUPS so it will use so.4 instead, or, how do I add so.3 with so.4?

Thanks in advance!

Last edited by mongoose088 (2009-01-20 04:58:03)

Offline

#2 2009-01-19 01:59:12

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: A libhx error with CUPS [UNSOLVED]

Is your whole system up to date?  I cannot replicate on my system (i686).

> ldd /usr/sbin/cupsd | grep libhx
    libhx509.so.4 => /usr/lib/libhx509.so.4 (0xb7c94000)

Offline

#3 2009-01-19 05:42:25

mongoose088
Member
Registered: 2008-09-14
Posts: 32

Re: A libhx error with CUPS [UNSOLVED]

Yes, my system is also i686. I'm sure the system is up to date because I issued a pacman -Syu and it updated without error.

However, I ran it again (pacman -Syu, that is), and got a strange error:
checking package integrity...
(242/242) checking for file conflicts               [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
klibc: /usr/lib/klibc/include/asm/Kbuild exists in filesystem
klibc: /usr/lib/klibc/include/asm/a.out.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/acpi.h exists in filesystem
klibc: /usr/lib/klibc/include/asm/agp.h exists in filesystem

There were MANY more errors with klibc stating all the files already existed in the filesystem, but I don't suspect this is the problem.

I then ran your code, and received an expected error:
>      ldd /usr/sbin/cupsd | grep libhx
    libhx509.so.4 => /usr/lib/libhx509.so.4 (0xb7d1a000)
    libhx509.so.3 => not found

if it helps, I'm using ftp://ftp.archlinux.org/$repo/os/i686 as my mirror.

Last edited by mongoose088 (2009-01-19 05:44:19)

Offline

#4 2009-01-19 05:44:54

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: A libhx error with CUPS [UNSOLVED]

Fix the klibc problem with http://bbs.archlinux.org/viewtopic.php?id=56431

Then update.  It looks like you have many, many updates waiting (242 packages to be precise).


Edit: You should change your mirror.  The ftp.archlinux.org mirror has a bandwidth limit on it so others are bound to be faster.  Also, it uses up system resources that are better used for other things.

Offline

#5 2009-01-19 17:20:04

mongoose088
Member
Registered: 2008-09-14
Posts: 32

Re: A libhx error with CUPS [UNSOLVED]

Thanks Allan, I changed my Server, removed the symlink, updated pacman, and was able to get CUPS almost completely working.

The only problem is, though, my printer won't print black ink. It will accept the job, it sounds like it's processing the job, but ink isn't being sprayed onto the page. (It's a Canon S300 using the Gutenprint Driver, installed using the CUPS wizard). I first attempted to print black by setting the model to "greyscale" but it spits out a blank page.

However, if I set it to color mode and print in some other colors (red, blue, etc.) it works fine. I don't THINK I'm out of ink, but is there a way to test the levels?

Offline

#6 2010-01-06 22:42:28

SiegeMachine
Member
Registered: 2009-03-26
Posts: 157

Re: A libhx error with CUPS [UNSOLVED]

I'm having this same problem with the

/usr/sbin/cupsd: error while loading shared libraries: libhx509.so.3: cannot open shared object file: No such file or directory

error.

[siegemachine@localhost ~]$ sudo ldd /usr/sbin/cupsd | grep libhx
    libhx509.so.4 => not found
    libhx509.so.5 => /usr/lib/libhx509.so.5 (0xb717b000)

Is it because I'm missing so.4 AND so.3? First the new version of cups wouldn't detect my usb printer it just always said waiting to be available, now the daemon wont even start after I updated cups, this is ridiculous.

Offline

#7 2010-02-12 13:37:45

Rulatir
Banned
Registered: 2007-02-05
Posts: 94

Re: A libhx error with CUPS [UNSOLVED]

BUMP same problem here on a friend's machine I don't have regular access to. The friend has AAARGHH!!! Linux installed because I used to be an AAARGHH!!! Linux advocate.

Offline

Board footer

Powered by FluxBB