[Wine] Re: Cups problems while compiling WINE

vitamin wineforum-user at winehq.org
Sat Jul 26 19:23:08 CDT 2008

Gargi wrote:
> After installing libcom_err_devel-32bit it looks like that now:
> Code:
> configure:15037: checking cups/cups.h usability
> configure:15054: gcc -m32 -c -g -O2   conftest.c >&5
> configure:15060: $? = 0
> configure:15074: result: yes
> configure:15078: checking cups/cups.h presence
> configure:15093: gcc -m32 -E   conftest.c
> configure:15099: $? = 0
> configure:15113: result: yes
> configure:15146: checking for cups/cups.h
> configure:15154: result: yes
> configure:15162: checking for -lcups
> configure:15197: gcc -m32 -o conftest -g -O2    conftest.c -lcups  -lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt  >&5
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../libkeyutils.so when searching for -lkeyutils
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libkeyutils.so when searching for -lkeyutils
> /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lkeyutils
> collect2: ld returned 1 exit status

Oh I see, I was one day behind the GIT. It's the new addition: http://source.winehq.org/git/wine.git/?a=commit;h=289ea33803bf936885a87c2d142230ddf604a68c

$ cups-config --libs
-lcups -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lssl -lcrypto -lz -lpthread -lm -lcrypt

So you'll need all those libraries. And this:

sudo ln -s /lib/libkeyutils.so.1 /usr/lib/libkeyutils.so

More information about the wine-users mailing list