Several months ago I was able successfully install CUPS on my NAS but was not able to get my printer to work properly. With that said I have used the mybookworld for other purposes since then, installing various packages through optware. I recently received several new printers to test out — however, I found that the natively compiled version of CUPS no longer ran, instead the dreaded '__guard' error which I thought I had taken care of by using a natively compiled version was the only output. I then decided to update all the known dependencies via optware to their latest versions (which they currently are) and compile CUPS 1.3.9 to no avail (tried 1.4beta but that fails in compile)
I followed these and other instructions on this forum/wiki:
but still a no go. (and yes I am running /usr/sbin/cupsd not /opt/sbin/cupsd)
The following are the versions of the dependencies (that I am aware of) that I have installed, they are also the current versions in optware as of this post. I would like those of you, who currently have CUPS up and running to post the output of ldd /usr/sbin/cupsd as well as the versions of the packages listed (the packages names as listed in optware will be named):
[root@MyBookWorld~]# ldd /usr/sbin/cupsd libz.so.1 => /lib/libz.so.1 (0x4000d000) [zlib - 1.2.3-3]*** libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40028000) [openssl - 0.9.7m-4] libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x4005c000) [openssl - 0.9.7m-4] libldap-2.3.so.0 => /opt/lib/libldap-2.3.so.0 (0x40153000) [openldap-libs - 2.3.43-1]*** libcups.so.2 => /usr/lib/libcups.so.2 (0x4018e000) [cups - 1.3.9-1] libpthread.so.0 => /lib/libpthread.so.0 (0x401c2000) [libpth - 2.0.7-2] libm.so.0 => /lib/libm.so.0 (0x401dd000) [?no idea?] libcrypt.so.0 => /lib/libcrypt.so.0 (0x401f9000) [libgcrypt - 1.2.4-1] libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40215000) gcc 3.4.2 *NOT optware* libc.so.0 => /lib/libc.so.0 (0x40226000) ver 1.0 firmware libdl.so.0 => /lib/libdl.so.0 (0x40280000) [?no idea?] liblber-2.3.so.0 => /opt/lib/liblber-2.3.so.0 (0x4028a000) [libdb - 4.2.52-3]*** libsasl2.so.2 => /opt/lib/libsasl2.so.2 (0x4029d000) [cyrus-sasl-libs - 2.1.22-2]*** libresolv.so.0 => /lib/libresolv.so.0 (0x402bb000) [c-ares - 1.5.2-2]*** ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x40000000) ignore
The ones with *** (3 asterisks) should only appear as dependencies for the optware-compiled CUPS.
An easy way of determining the versions would be to:
which should yield something like this:
adduser - 1.10.3-1 - a multi-call binary for login and user account administration apr - 1.3.2-1 - apr-util - 1.3.2-1 - avahi - 0.6.23-2 - A system for multicast DNS service discovery, an implementation of Zeroconf. bzip2 - 1.0.5-1 - Very high-quality data compression program c-ares - 1.5.2-2 - C library that performs DNS requests and name resolves asynchronously cdrtools - 2.01-4 - low-level CD recording tools: cdrecord, mkisofs, etc. cups - 1.3.9-1 - Common Unix Printing System cups-doc - 1.3.9-1 - Common Unix Printing System documentation. cups-driver-gutenprint - 5.1.7-1 - CUPS driver from Gutenprint. cups-pdf - 2.4.6-2 - CUPS-PDF provides a PDF Writer backend to CUPS. This can cyrus-sasl-libs - 2.1.22-2 - Provides client or server side authentication (see RFC 2222). dbus - 1.1.1-3 - D-Bus is a message bus system, a simple way for applications to talk to one another. e2fslibs - 1.41.0-1 - expat - 2.0.1-1 - XML Parser library finch - 2.5.2-1 - Finch is a console-based IM program that lets you sign on to AIM, findutils - 4.2.32-1 - File finding utilities findutils-doc - 4.2.32-1 - Documentation for file finding utilities fontconfig - 2.5.0-0 - Font configuration library freetype - 2.3.6-1 - Free truetype library gconv-modules - 2.2.5-7 - Provides gconv modules missing from the firmware. gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. gettext - 0.14.5-2 - Set of tools for producing multi-lingual messages ghostscript - 8.63-1 - An interpreter for the PostScript (TM) language glib - 2.12.13-1 - gnutls - 2.4.2-2 - GNU Transport Layer Security Library. libcurl - 7.19.0-2 - libdaemon - 0.13-1 - A lightweight C library that eases the writing of UNIX daemons. libdb - 4.2.52-3 - Berkeley DB Libraries libgcrypt - 1.2.4-1 - GNU cryptography libray, needed by gnutls libgpg-error - 1.4-1 - Error handling library for libgcrypt libiconv - 1.11-2 - Converts between character encodings. libijs - 0.35-1 - IJS raster image transport protocol libjpeg - 6b-2 - collection of jpeg tools libpng - 1.2.33-1 - Portable Network Graphics Libraries libpth - 2.0.7-2 - Pth is a very portable POSIX/ANSI-C based library for Unix libsigc++ - 2.0.18-1 - libsigc++ implements a typesafe callback system for standard C++. libstdc++ - 6.0.3-6 - Standard C++ library, needed for dynamically linked C++ programs libtasn1 - 1.5-1 - ASN.1 structure parser library. libtiff - 3.8.2-1 - Tag Image File Format Libraries libtonnent - 0.12.2-1 - libusb - 0.1.12-1 - Library for interfacing to the USB subsystem. libxml2 - 2.6.32-1 - libxslt - 1.1.24-1 - An XML Stylesheet processor based on libxml2 lighttpd - 1.4.19-5 - mlocate - 0.15-1 - A merginging locate program to find files fast nano - 2.1.4-1 - ncurses - 5.6-3 - ncursesw - 5.6-2 - neon - 0.28.3-1 - an HTTP and WebDAV client library, with a C interface openldap-libs - 2.3.43-1 - Open Lightweight Directory Access Protocol openssl - 0.9.7m-4 - Openssl provides the ssl implementation in libraries libcrypto and libssl pcre - 7.8-1 - Perl-compatible regular expression library php - 5.2.6-2 - The php scripting language php-curl - 5.2.6-2 - libcurl extension for php php-fcgi - 5.2.6-1 - The php scripting language, built as an fcgi module proftpd - 1.3.1-4 - Highly configurable FTP server with SSL-TLS python - 2.5-1 - This is a package that sets up the default python. python25 - 2.5.2-2 - Python is an interpreted, interactive, object-oriented programming language. readline - 5.2-2 - The GNU Readline library provides a set of functions for use rtonnent - 0.8.0-1 - sane-backends - 1.0.19+cvs20080315-3 - SANE is a universal scanner interface screen - 4.0.3-2 - A screen manager that supports multiple logins on single terminal sqlite - 3.6.1-1 - svn - 1.5.2-1 - termcap - 1.3.1-2 - Terminal emulation library tranz - 1.33-2 - unrar - 3.7.8-1 - unrar is an application that can decompress files and archives unzip - 5.52-3 - A (de)compression library for the ZIP format usbutils - 0.73-3 - USB enumeration utilities wakelan - 1.1-2 - send the magic wakeup package over the LAN xmlrpc-c - 1.11.00-3 - A library providing modular implementation of XML-RPC for C and C++. zlib - 1.2.3-3 - zlib is a library implementing the 'deflate' compression system. Successfully terminated.