Public bug reported: Seen on 11.10
$ dpkg -L libx11-dev | grep ".so$" /usr/lib/x86_64-linux-gnu/libX11.so However, libx11-dev does not install a /usr/lib/i386-linux-gnu/libX11.so (even though it installs /usr/lib/i386-linux-gnu/libX11.so.6) Even though libx11-dev is installed, the linker can't find it: $ gcc -m32 -lX11 blah.c # Error "cannot find -lX11" ** Affects: libx11 (Ubuntu) Importance: Undecided Status: New ** Description changed: - dpkg -L libx11-dev | grep ".so$" shows /usr/lib/x86_64-linux- - gnu/libX11.so, but no 32bit equivalent (even though libX11.so.6 is - installed in /usr/lib/i386-linux-gnu) + Seen on 11.10 - gcc -m32 -lX11 blah.c # Error "cannot find -lX11" even though we have + $ dpkg -L libx11-dev | grep ".so$" + /usr/lib/x86_64-linux-gnu/libX11.so + + However, there is no /usr/lib/i386-linux-gnu/libX11.so (even though + there is a /usr/lib/i386-linux-gnu/libX11.so.6) + + $ gcc -m32 -lX11 blah.c # Error "cannot find -lX11" even though we have installed libx11-dev ** Description changed: Seen on 11.10 $ dpkg -L libx11-dev | grep ".so$" /usr/lib/x86_64-linux-gnu/libX11.so - However, there is no /usr/lib/i386-linux-gnu/libX11.so (even though - there is a /usr/lib/i386-linux-gnu/libX11.so.6) + However, libx11-dev does not install a /usr/lib/i386-linux-gnu/libX11.so + (even though it installs /usr/lib/i386-linux-gnu/libX11.so.6) - $ gcc -m32 -lX11 blah.c # Error "cannot find -lX11" even though we have - installed libx11-dev + Even though libx11-dev is installed, the linker can't find it: + $ gcc -m32 -lX11 blah.c # Error "cannot find -lX11" ** Summary changed: - libx11-dev does not include /usr/lib/i386-linux-gnu/libX11.so + libx11-dev does not provide /usr/lib/i386-linux-gnu/libX11.so -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libx11 in Ubuntu. https://bugs.launchpad.net/bugs/887731 Title: libx11-dev does not provide /usr/lib/i386-linux-gnu/libX11.so To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/887731/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp