Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d8f1af1a2c21a2d3aa437a62f88f298be6091907
Ticket: 3534990fffffffffffffffffffffffffffffffff
Configure tk 8.5.11 for 32-bit on x86_64 misleads linker
User & Date: bgriffin on 2013-01-28 05:00:22
Changes

  1. icomment:
    I've been having a similar problem on SuSE Enterprise 10.4 and here's what I learned.
    
    To begin with, the --disable-64bit option doesn't work when it comes to just the basic compiler, which is why CC="gcc -m32" is required in the first place.  This shouldn't be necessary.
    
    I found a missing link in /usr/lib  libfreetype.so -> libfreetype.so.6, libfontconfig.so -> libfontconfig.so.1
    Because the linker was looking for lib<name>.so for -lfreetype -lfontconfig, it failed to find it and then tried /usr/lib64 which gives the misleading error message about incompatible libraries.
    
    The xft-config script does not, and cannot, report the correct options for 32-bit xft library usage.  This causes the configure script to feed the wrong options to the test compiles.
    
    There are more problems then I could sort out with the configure script and the underlying OS support for 32-bit development. 
    
    Bottom line is the SuSE environment is screwed up when it comes to 32-bit development.  Much of the OS seems to make a base assumption that it's 64-bit all the time and 32-bit is reluctantly present for legacy support of existing programs.
    
    
    
    
  2. login: "bgriffin"
  3. mimetype: "text/plain"
  4. username: "bgriffin"