[Ipopt] Error during Ipopt compilation using Cygwin

Austin Herrema aherrema at iastate.edu
Tue May 16 12:16:39 EDT 2017


Having zero experience with Cygwin myself, this may be way off. But it
looks like "libtool: link: ERROR: object name conflicts" is your problem
either way. A quick Google search on that error yielded this:

http://stackoverflow.com/questions/12060186/libtool-object-name-conflicts-in-archive-netcdf-mingw

Perhaps the solution lies therein?

On Tue, May 16, 2017 at 10:53 AM, Brian Macdonald <macbdog at gmail.com> wrote:

> Hello all
>
> I am having difficulty attempting to compile Ipopt using the Cygwin
> interface. I am following the steps as listed in the documentation. The
> Ipopt code (Ipopt 3.12) was acquired by svn, and I am using the HSL linear
> solvers.
>
> Running ../configure works fine, but using the make command resulted in
> the following error:
>
> rm -fr  .libs/libipopt.lax
> rm -fr .libs/libipopt.lax
> mkdir .libs/libipopt.lax
> rm -fr .libs/libipopt.lax/libLinearSolverLoader.a
> mkdir .libs/libipopt.lax/libLinearSolverLoader.a
> (cd .libs/libipopt.lax/libLinearSolverLoader.a && ar x
> /usr/bin/coinIpopt/build/Ipopt/src/Interfaces/../c
>
>                                         ontrib/LinearSolverLoader/.
> libs/libLinearSolverLoader.a)
> libtool: link: ERROR: object name conflicts: .libs/libipopt.lax/
> libLinearSolverLoader.a//usr/bin/coinIpop
>
> t/build/Ipopt/src/Interfaces/../contrib/LinearSolverLoader/.
> libs/libLinearSolverLoader.a
> make[2]: *** [Makefile:480: libipopt.la] Error 1
> make[2]: Leaving directory '/usr/bin/coinIpopt/build/Ipopt/src/Interfaces'
> make[1]: *** [Makefile:679: all-recursive] Error 1
> make[1]: Leaving directory '/usr/bin/coinIpopt/build/Ipopt'
> make: *** [Makefile:323: all-recursive] Error 1
>
> Looking at previous threads, I found one that suggested using
> --disable-linear-solver-loader with configure to get around this error.
> When I do that and then attempt to use make again, I am getting the
> following error:
>
> rm -fr  .libs/libipopt.lax
> rm -fr .libs/libipopt.lax
> mkdir .libs/libipopt.lax
> rm -fr .libs/libipopt.lax/libcgpenalty.a
> mkdir .libs/libipopt.lax/libcgpenalty.a
> (cd .libs/libipopt.lax/libcgpenalty.a && ar x /usr/bin/coinIpopt/build/
> Ipopt/src/Interfaces/../contrib/CGPenalty/.libs/libcgpenalty.a)
> libtool: link: ERROR: object name conflicts: .libs/libipopt.lax/
> libcgpenalty.a//usr/bin/coinIpopt/build/Ipopt/src/Interfaces/../contrib/
> CGPenalty/.libs/libcgpenalty.a
> make[2]: *** [Makefile:480: libipopt.la] Error 1
> make[2]: Leaving directory '/usr/bin/coinIpopt/build/Ipopt/src/Interfaces'
> make[1]: *** [Makefile:679: all-recursive] Error 1
> make[1]: Leaving directory '/usr/bin/coinIpopt/build/Ipopt'
> make: *** [Makefile:323: all-recursive] Error 1
>
> I have tried starting from scratch, but I keep getting the same errors.
> Any help with this is greatly appreciated.
>
> Brian Macdonald
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/ipopt
>
>


-- 
*Austin Herrema*
PhD Student | Graduate Research Assistant | Iowa State University
Wind Energy Science, Engineering, and Policy | Mechanical Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20170516/73e48e24/attachment.html>


More information about the Ipopt mailing list