Bug 708806

Summary: missing /usr/lib/libX11.so -> ./libX11.so.6 symlink
Product: [Fedora] Fedora Reporter: paolo borelli <pborelli>
Component: libX11Assignee: Peter Hutterer <peter.hutterer>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: peter.hutterer, sandmann
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: [cat:others]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-12 04:10:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description paolo borelli 2011-05-29 17:20:33 UTC
I am on fedora 15 x86_64 but I also installed the .i686 devel packages since I also need to create i686 binaries.

When compipling for 32 bit I get errors like:

/usr/bin/ld: skipping incompatible /usr/lib64/libX11.so when searching for -lX1
/usr/bin/ld: skipping incompatible /usr/lib64/libXext.so when searching for -lXext

Looking in /usr/lib I can see that there is libX11.so.6 but not the libX11.so symlink. In /usr/lib64 there are both.

Comment 1 Peter Hutterer 2012-06-12 04:10:54 UTC
$> rpm -qpl libX11-devel-1.4.99.901-2.fc17.i686.rpm | grep lib
/usr/include/X11/XKBlib.h
/usr/include/X11/Xlib-xcb.h
/usr/include/X11/Xlib.h
/usr/include/X11/XlibConf.h
/usr/include/X11/Xlibint.h
/usr/lib/libX11-xcb.so
/usr/lib/libX11.so
/usr/lib/pkgconfig/x11-xcb.pc
/usr/lib/pkgconfig/x11.pc
/usr/share/man/man3/XkbGetXlibControls.3.gz
/usr/share/man/man3/XkbSetXlibControls.3.gz


Don't know what version you have installed,but I suspect that if the system is looking for libX11 in /usr/lib64 your linker flags are broken?