[Samba] CUPS not linked in

nigeljk at pnrco.plus.com nigeljk at pnrco.plus.com
Mon Mar 17 18:41:40 GMT 2008


Hi

I have compiled 3.0.28 on to my SuSE 9.2 Linux system, as an upgrade from
3.0.2.  After some jiggling, the shares now work, but the printing does
not.  You get messages like

[2008/03/16 20:09:29, 0] smbd/service.c:make_connection(1191)
  socrates (192.168.0.5) couldn't find service hp_deskjet895
[2008/03/16 20:11:22, 0] printing/pcap.c:pcap_cache_reload(159)
  Unable to open printcap file cups for read!

So, I read the HOWTO, and it says Samba should be built with CUPS
libraries linked in.  But I get:

$ ldd /usr/local/samba/sbin/smbd
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40030000)
        libcap.so.1 => /lib/libcap.so.1 (0x40062000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40066000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40078000)
        libdl.so.2 => /lib/libdl.so.2 (0x4008e000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40091000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

-- no CUPS.  There were no obvious errors or warnings when it built,
unless they scrolled off unnoticed.
The HOWTO isn't very obvious on how to deal with this branch of events.  I
tried downloading the most likely looking binaries, but RPM declared my
LDAP libraries too old, I don't use LDAP and I can see dependency hell
looming...

So, can I set something so it will compile/link-in the CUPS  module?

Many thanks

Nigel




More information about the samba mailing list