<div dir="ltr">Hi, I can confirm that appending LDFLAGS=-Wl,--no-as-needed to configure solves the problem, thank you.<br><div><div class="gmail_extra"><br></div><div class="gmail_extra">/Antonello<br></div><div class="gmail_extra">

<br><div class="gmail_quote">On 18 November 2013 18:09, Stefan Vigerske <span dir="ltr">&lt;<a href="mailto:stefan@math.hu-berlin.de" target="_blank">stefan@math.hu-berlin.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Hi,<br>
<br>
a wild guess: Can you try rerunning configure with option<br>
LDFLAGS=-Wl,--no-as-needed<br>
and see if that would help?<br>
That resolved some issues I saw with linking Ipopt libraries on some Ubuntu system.<span class=""><font color="#888888"><br>
<br>
Stefan</font></span><div class=""><div class="h5"><br>
<br>
On 11/18/2013 05:44 PM, Antonello Lobianco wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hello, trying to compile ipopt 3.11.6 in Ubuntu 13.10 x64 I got the<br>
following error:<br>
g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type<br>
-Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion<br>
-Wno-unknown-pragmas -Wno-long-long -DIPOPT_BUILD -o .libs/ipopt<br>
ampl_ipopt.o  ./.libs/libipoptamplinterface.<u></u>so<br>
../../Interfaces/.libs/<u></u>libipopt.so<br>
/home/lobianco/programs/linux/<u></u>src/ipopt/ThirdParty/ASL/.<u></u>libs/libcoinasl.so<br>
/home/lobianco/programs/linux/<u></u>src/ipopt/ThirdParty/Mumps/.<u></u>libs/libcoinmumps.so<br>
/home/lobianco/programs/linux/<u></u>src/ipopt/ThirdParty/Metis/.<u></u>libs/libcoinmetis.so<br>
-L/usr/lib/gcc/x86_64-linux-<u></u>gnu/4.8<br>
-L/usr/lib/gcc/x86_64-linux-<u></u>gnu/4.8/../../../x86_64-linux-<u></u>gnu<br>
-L/usr/lib/gcc/x86_64-linux-<u></u>gnu/4.8/../../../../lib -L/lib/../lib<br>
-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-<u></u>gnu/4.8/../../.. -lpthread<br>
-lgfortran -lquadmath -llapack -lblas -lm -ldl<br>
../../Interfaces/.libs/<u></u>libipopt.so: undefined reference to `dlopen&#39;<br>
../../Interfaces/.libs/<u></u>libipopt.so: undefined reference to `dlclose&#39;<br>
../../Interfaces/.libs/<u></u>libipopt.so: undefined reference to `dlerror&#39;<br>
../../Interfaces/.libs/<u></u>libipopt.so: undefined reference to `dlsym&#39;<br>
collect2: error: ld returned 1 exit status<br>
make[3]: *** [ipopt] Error 1<br>
<br>
I coudn&#39;t find anything specific to ipopt, and I see that the linker flag<br>
-ldl, that is often &quot;accused&quot; to be the reason behind this error is instead<br>
already there.. any clue??<br>
<br>
/Antonello<br>

<br>
On 28 April 2013 03:36, Tae-Hyuk Ahn &lt;<a href="mailto:ahn.no1@gmail.com" target="_blank">ahn.no1@gmail.com</a>&gt; wrote:<br>
<br clear="all"></blockquote></div></div></blockquote></div><br>-- <br><div dir="ltr">Antonello Lobianco<br>AgroParisTech, Laboratoire d&#39;Economie Forestière<br>14 Rue Girardet - 54000 Nancy, France<br>Tel: +33.383396865<br>

Email: <a href="mailto:antonello.lobianco@nancy.inra.fr" target="_blank">antonello.lobianco@nancy.inra.fr</a><br><a href="http://antonello.lobianco.org/" target="_blank">http://antonello.lobianco.org</a></div>
</div></div></div>