https://bugzilla.novell.com/show_bug.cgi?id=700822 https://bugzilla.novell.com/show_bug.cgi?id=700822#c0 Summary: Wrong library names (symlink) in 32bit packages causes link to fail Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: P.Suetterlin@royac.iac.es QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.8.131 Version/11.11 I'm trying to compile a 32bit program (using gcc -m32). All neccessary tools are installed. Compiling the code succeeds, but final link gives /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libXext.so when searching for -lXext /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lXext The reason is that the package creates/contains symlinks like /usr/lib/libX11.so.6 -> libX11.so.6.3.0 but the linker expects /usr/lib/libX11.so -> libX11.so.6.3.0 If I manually create those symlinks the final link succeeds, too, and I get a working binary. Reproducible: Always Steps to Reproduce: 1. 2. 3. An upstream issue? I found a similar report from Ubuntu: http://sandeep.wordpress.com/2010/01/31/32-bit-compile-on-64-bit-ubuntu-not-... which actually led me to the solution... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.