Skip to content

tmap-3.2.0 - link error on OSX 10.8.2, missing symbols #3

@2bits

Description

@2bits

Hello. I'm reporting this for Homebrew, a package installer for OSX. We are having trouble upgrading to version 3.2.0 of tmap, and we are getting some strange undefined symbols during linking that I'm not able to "find" :-)

I am using OSX 10.8.2 on a Core i5 iMac, with XCode-4.5.1. My deps are:

  • autoconf: 2.69
  • automake: 1.12.4
  • libtool: 2.4.2

My install log showing the error is here.
My config.log is in a gist here.
The nm output from a couple of those object files is here.

You'll see from the logs that I have patched your configure.ac for the purposes of debugging this to remove the debug flag and the optimization flag -g -Wall -O3. On OSX, O3 can optimize out some symbols, but even though I've disabled optimization, they symbols are still either U undefined or T defined with a weird address of zero, eg. 0x0000000000 The problem occurs even if I don't patch anything and just try to build this by extracting, configuring, making without using Homebrew at all.

I would offer a patch, but I'm out of ideas atm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions