Bug 708806 - missing /usr/lib/libX11.so -> ./libX11.so.6 symlink
Summary: missing /usr/lib/libX11.so -> ./libX11.so.6 symlink
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: libX11
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: [cat:others]
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-29 17:20 UTC by paolo borelli
Modified: 2012-06-12 04:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-12 04:10:54 UTC
Type: ---


Attachments (Terms of Use)

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?


Note You need to log in before you can comment on or make changes to this bug.