Hello list,

I am new here, so I apologize if this question is better directed to the dev 
list.  If so, please let me know and I will post there instead!

I am attempting to compile GT 5.2.5 on a Mac running OS X 10.9.  I have 
compiled GNU libtool 2.4.2 using

./configure --prefix=$HOME/lib --program-prefix=g
make
make install

And that has proceeded without issue. Then I set the following environment 
variables:

export CPPFLAGS="-I$HOME/lib/include”
export LDFLAGS=“-L$HOME/lib/lib”

and started to build GT:

/configure --prefix=$HOME/globus
make

On the compile commands I can see that the include directory in the CPPFLAGS 
variable is not being used and, unsurprisingly, the libtool headers cannot be 
found.  I thought I would be really clever and symlink ltdl.h and the libltdl 
directory into the search paths I was seeing, but then I get the following 
error:

Undefined symbols for architecture i386:
  "_lt_dlerror", referenced from:
      _main in globus_redia.o
  "_lt_dlopenext", referenced from:
      _main in globus_redia.o
  "_lt_dlsym", referenced from:
      _main in globus_redia.o
ld: symbol(s) not found for architecture i386

which suggested to me that GT is being built as a 32-bit binary, while libtool 
built 64-bit… or something even more confusing is going on. Has anyone 
successfully built GT on OS X 10.9? What steps were required?

Reply via email to