[Bug 29591] New: configure could be improved to check for libSM explicitly

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 12 08:34:20 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=29591

             Bug #: 29591
           Summary: configure could be improved to check for libSM
                    explicitly
           Product: Wine
           Version: 1.3.36
          Platform: x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: build-env
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: martin at lispworks.com
    Classification: Unclassified


When trying to build 32-bit on a 64-bit system, the "checking for -lGLU" phase
of configure was failing even though 32-bit libGLU.so was installed.  Looking
in config.log, I found:

configure:8947: checking for -lGLU
configure:8972: gcc -m32 -o conftest -g -O2    conftest.c -lGLU -lGL   -lSM
-lICE -lXext -lX11 -lm   >&5
/usr/bin/ld: skipping incompatible /usr/lib64/libSM.so when searching for -lSM
/usr/bin/ld: cannot find -lSM
collect2: ld returned 1 exit status

The error is true (32-bit libSM.so is not installed) but this is the first
reference to -lSM so the failure to use -lGLU is somewhat misleading.

Perhaps configure should check for -lSM explicitly?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list