Package: coinor-libipopt-dev
Version: 3.10.2-1.1
Severity: normal

Dear Maintainer,
I have written an m4 tests that looks for an installation of ipopt.
While it has worked with hand-installed older versions of IPOpt (<=3.5.5),
it doesn't work with the one in Debian, because it fails to link a
test program.  I attach the relevant snippet from my config.log.
I'll be happy to provide more information if needed.

PS: I am hacking my way around 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684062
for this one.

configure:38257: checking for IPOPT
configure:38264: $PKG_CONFIG --exists --print-errors "ipopt"
configure:38267: $? = 0
configure:38281: $PKG_CONFIG --exists --print-errors "ipopt"
configure:38284: $? = 0
configure:38326: result: yes
configure:38377: g++ -std=c++0x -o conftest -g  -I/home/sander/include   
conftest.cpp -lm  -lipopt -ldmumps -lblas -lm -ldl   >&5
conftest.cpp:83:0: warning: "HAVE_BOOST" redefined [enabled by default]
conftest.cpp:82:0: note: this is the location of the previous definition
/usr/bin/ld: warning: libblas.so.3gf, needed by 
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libdmumps.so, may conflict 
with libblas.so.3
/usr/lib/liblapack.so.3: undefined reference to `ATL_zptgemm'
/usr/lib/liblapack.so.3: undefined reference to `ATL_scopy'
/usr/lib/liblapack.so.3: undefined reference to `ATL_stpsv'
/usr/lib/liblapack.so.3: undefined reference to `ATL_dtrsv'
/usr/lib/liblapack.so.3: undefined reference to `ATL_sptgemm'
/usr/lib/liblapack.so.3: undefined reference to `ATL_zgemv'
/usr/lib/liblapack.so.3: undefined reference to `ATL_cher'
/usr/lib/liblapack.so.3: undefined reference to `ATL_ssbmv'
/usr/lib/liblapack.so.3: undefined reference to `ATL_caxpy'
/usr/lib/liblapack.so.3: undefined reference to `ATL_sptsymm'
/usr/lib/liblapack.so.3: undefined reference to `ATL_cgerc'
/usr/lib/liblapack.so.3: undefined reference to `ATL_dnrm2'
/usr/lib/liblapack.so.3: undefined reference to `ATL_dsyreflect'
/usr/lib/liblapack.so.3: undefined reference to `ATL_sdsdot'
/usr/lib/liblapack.so.3: undefined reference to `ATL_zrotg'
/usr/lib/liblapack.so.3: undefined reference to `ATL_strsv'

[...]

collect2: error: ld returned 1 exit status
configure:38377: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "dune-solvers"
| #define PACKAGE_TARNAME "dune-solvers"
| #define PACKAGE_VERSION "0.10"
| #define PACKAGE_STRING "dune-solvers 0.10"
| #define PACKAGE_BUGREPORT "san...@mi.fu-berlin.de"
| #define PACKAGE_URL ""
| #define PACKAGE "dune-solvers"
| #define VERSION "0.10"
| #define DUNE_SOLVERS_VERSION "0.10"
| #define DUNE_SOLVERS_VERSION_MAJOR 0
| #define DUNE_SOLVERS_VERSION_MINOR 10
| #define DUNE_SOLVERS_VERSION_REVISION 0
| #define PACKAGE "dune-solvers"
| #define VERSION "0.10"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_BLAS 1
| #define HAVE_LAPACK 1
| #define FC_FUNC(name,NAME) name ## _
| #define FC_FUNC_(name,NAME) name ## _
| #define HAVE_STATIC_ASSERT 1
| #define HAVE_NULLPTR 1
| #define HAVE_TYPE_TRAITS 1
| #define HAVE_TR1_TYPE_TRAITS 1
| #define HAVE_TUPLE 1
| #define HAVE_TR1_TUPLE 1
| #define HAVE_ARRAY 1
| #define HAVE_MEMORY 1
| #define HAVE_TR1_MEMORY 1
| #define HAVE_BOOST_SHARED_PTR_HPP 1
| #define SHARED_PTR_NAMESPACE std
| #define SHARED_PTR_HEADER <memory>
| #define HAVE_MAKE_SHARED 1
| #define HAS_ATTRIBUTE_DEPRECATED 1
| #define HAS_ATTRIBUTE_DEPRECATED_MSG 1
| #define HAS_ATTRIBUTE_UNUSED 1
| #define DUNE_MINIMAL_DEBUG_LEVEL 4
| #define HAVE_RPC_RPC_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STRING_H 1
| #define HAVE_LIBM 1
| #define HAVE_SQRT 1
| #define HAVE_STRCHR 1
| #define HAVE_DUNE_COMMON 1
| #define DUNE_COMMON_VERSION "2.3-svn"
| #define DUNE_COMMON_VERSION_MAJOR 2
| #define DUNE_COMMON_VERSION_MINOR 3
| #define DUNE_COMMON_VERSION_REVISION 0
| #define HAVE_DUNE_GEOMETRY 1
| #define DUNE_GEOMETRY_VERSION "2.3-svn"
| #define DUNE_GEOMETRY_VERSION_MAJOR 2
| #define DUNE_GEOMETRY_VERSION_MINOR 3
| #define DUNE_GEOMETRY_VERSION_REVISION 0
| #define HAVE_PTHREAD 1
| #define HAVE_ALBERTA ENABLE_ALBERTA
| #define DUNE_ALBERTA_VERSION 0x200
| #define HAVE_UG ENABLE_UG
| #define HAVE_AMIRAMESH 1
| #define PSURFACE_NAMESPACE psurface::
| #define HAVE_PSURFACE 1
| #define HAVE_ALUGRID_SERIAL_H 1
| #define HAVE_ALUGRID_PARALLEL_H 1
| #define HAVE_ALUGRID ENABLE_ALUGRID
| #define HAVE_DUNE_GRID 1
| #define DUNE_GRID_VERSION "2.3-svn"
| #define DUNE_GRID_VERSION_MAJOR 2
| #define DUNE_GRID_VERSION_MINOR 3
| #define DUNE_GRID_VERSION_REVISION 0
| #define HAVE_BOOST /**/
| #define HAVE_BOOST ENABLE_BOOST
| #define HAVE_BOOST_FUSION /**/
| #define HAVE_DUNE_ISTL 1
| #define DUNE_ISTL_VERSION "2.3-svn"
| #define DUNE_ISTL_VERSION_MAJOR 2
| #define DUNE_ISTL_VERSION_MINOR 3
| #define DUNE_ISTL_VERSION_REVISION 0
| #define HAVE_LIBGMP 1
| #define HAVE_GMP ENABLE_GMP
| #define HAVE_DUNE_LOCALFUNCTIONS 1
| #define DUNE_LOCALFUNCTIONS_VERSION "2.3-svn"
| #define DUNE_LOCALFUNCTIONS_VERSION_MAJOR 2
| #define DUNE_LOCALFUNCTIONS_VERSION_MINOR 3
| #define DUNE_LOCALFUNCTIONS_VERSION_REVISION 0
| /* end confdefs.h.  */
| #define HAVE_CSTDDEF
|              #include "coin/IpIpoptApplication.hpp"
| #ifdef F77_DUMMY_MAIN
| 
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int F77_DUMMY_MAIN() { return 1; }
| 
| #endif
| #ifdef FC_DUMMY_MAIN
| #ifndef FC_DUMMY_MAIN_EQ_F77
| #  ifdef __cplusplus
|      extern "C"
| #  endif
|    int FC_DUMMY_MAIN() { return 1; }
| #endif
| #endif
| int
| main ()
| {
| Ipopt::SmartPtr<Ipopt::IpoptApplication> app = new Ipopt::IpoptApplication();
|   ;
|   return 0;
| }
configure:38381: WARNING: IPOpt does not seem to work!

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coinor-libipopt-dev depends on:
ii  coinor-libipopt1  3.10.2-1.1

coinor-libipopt-dev recommends no packages.

coinor-libipopt-dev suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to