[Kst] Building from .src.rpm fails on 64 bit FC4

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Thu Dec 7 19:01:57 CET 2006


> I have just tried to build a rpm for FC4 (64 bits) with the 
> provided .src.rpm and it fails on the libXext test:
> 
> configure:28750: gcc -o conftest -std=iso9899:1990 -W -Wall 
> -Wchar-subscripts -Wshadow -Wpointer-arith 
> -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 
> -D_BSD_SOURCE -O2
> -Wformat-security -Wmissing-format-attribute   -L/usr/X11R6/lib
> conftest.c -lXext -lX11  >&5
> /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.so 
> when searching for -lXext
> /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libXext.a 
> when searching for -lXext
> /usr/bin/ld: cannot find -lXext
> collect2: ld returned 1 exit status
FYI in case someone else asks, there were missing links in
/usr/X11R6/lib64 (e.g. there was libXext.so.6 but not libXext.so), which
were the original cause of the problem. I don't know why these links are
missing (there probably is a good reason ?) but it sure creates problem
for people who want to compile their X11 apps :-(

Nicolas


More information about the Kst mailing list