rpm build not working on Red Hat EL 4.6 (x86_64)

Michael Sweet mike at easysw.com
Thu Feb 14 07:39:07 PST 2008


Don Prezioso wrote:
> I have been trying to do
> 
> rpmbuild -ta cups-1.3.5-source.tar.gz
> 
> and it fails with the messages:
> 
> Linking 32-bit 32bit/libcups.so.2...
> /usr/bin/ld: skipping incompatible /usr/lib64/libgssapi_krb5.so when searching for -lgssapi_krb5
> /usr/bin/ld: skipping incompatible /usr/lib64/libgssapi_krb5.a when searching for -lgssapi_krb5
> /usr/bin/ld: cannot find -lgssapi_krb5
 > ...

The standard CUPS spec file builds both 32-bit and 64-bit on x86_64
systems, so you need to install all of the 32-bit -devel packages.

The alternative is to edit the spec file and remove the --enable-32bit
configure flag.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups mailing list