[Ipopt] Strange problem in building 3.5.4

Robinson, Melvin D melvin.robinson at mavs.uta.edu
Fri Jan 30 05:43:40 EST 2009

config.log gives me some interesting output when trying to find lblas:

configure:28066: checking whether -lblas has BLAS
configure:28334: g++ -o conftest -O3 -fomit-frame-pointer -pipe -DNDEBUG -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas     conftest.cc -lblas  >&5
Undefined symbols:
  "___gxx_personality_v0", referenced from:
      ___gxx_personality_v0$non_lazy_ptr in ccAkg9jE.o
ld: symbol(s) not found

I looked into this a little more and my compiler output is:
Justin:Ipopt melrobin$ g++ -v
Using built-in specs.
Target: powerpc-apple-darwin9.4.0
Configured with: ../gcc-4.4-20080801/configure --enable-languages=fortran,c++
Thread model: posix
gcc version 4.4.0 20080801 (experimental) (GCC)

It seems like I might have some things screwed up with my compiler, right?  I do not think that the target should be powerpc-apple-darwin9.4.0.  This will give me the room to troubleshoot a little more.

From: Stefan Vigerske [stefan at math.hu-berlin.de]
Sent: Friday, January 30, 2009 3:14 AM
To: ipopt at list.coin-or.org
Cc: Robinson, Melvin D
Subject: Re: [Ipopt] Strange problem in building 3.5.4


The config.log file in the Ipopt subdirectory
(Ipopt-3.5.4/Ipopt/config.log ?) should tell you why -lblas did not
work. Maybe there are additional dependencies.


> I'm having this strange problem building version 3.5.4 and was wondering if someone could impart some sage wisdom.
> Here are the results of doing a configure, no special flags--even though I know that I will need them later because the target system is Mac OS X 10.5.
> .
> .
> .
> checking whether finite is declared... yes
> checking whether va_copy is declared... yes
> checking whether drand48 is declared... yes
> checking whether rand is declared... yes
> checking whether srand is declared... yes
> checking whether -lblas has BLAS... no
> configure: error: cannot find BLAS
> configure: error: /bin/sh './configure' failed for Ipopt
> Justin:Ipopt-3.5.4 melrobin$
> Now I have BLAS, actually a libblas.a which is symbolically linked to ATLAS:
> Justin:Ipopt-3.5.4 melrobin$ ls -l /usr/lib/libblas.a
> lrwxr-xr-x  1 root  wheel  19 Oct 23 21:44 /usr/lib/libblas.a -> /usr/lib/libatlas.a
> Justin:Ipopt-3.5.4 melrobin$ ls -l /usr/lib/libatlas.a
> -rw-r--r--  1 root  wheel  10314920 Jun 23  2008 /usr/lib/libatlas.a
> Shouldn't this be OK?  Everything worked in the previous version of Ipopt.  I do not recall having to compile the obtain and compile the BLAS and LAPACK that is included in order to get things working.  Is my memory failing me or do you have any ideas?
> ------------------------------------------------------------------------
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt

Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics

More information about the Ipopt mailing list