<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr">Il giorno mar 8 gen 2019 alle ore 14:16 Alice Wonder <<a href="mailto:alice@librelamp.com">alice@librelamp.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/8/19 3:53 AM, Catonano wrote:<br>
> Il giorno mar 8 gen 2019 alle ore 01:03 Alice Wonder <br>
> <<a href="mailto:alice@librelamp.com" target="_blank">alice@librelamp.com</a> <mailto:<a href="mailto:alice@librelamp.com" target="_blank">alice@librelamp.com</a>>> ha scritto:<br>
> <br>
> <br>
> My guess (and just a guess) is that it is linking against shared libs<br>
> not in the ld.so.conf path.<br>
> <br>
> <br>
> I thought so too<br>
> <br>
> But then I added a /etc/ld.so.conf.d/nettle.conf file with<br>
> <br>
> /home/catonano/opt/lib<br>
> in it<br>
> <br>
> So then<br>
> <br>
> $ sudo ldconfig -v | grep nettle<br>
> /sbin/ldconfig.real: Impossibile fare stat di <br>
> /usr/local/lib/x86_64-linux-gnu: File o directory non esistente<br>
> /sbin/ldconfig.real: Percorso "/lib/x86_64-linux-gnu" fornito più di una <br>
> volta<br>
> /sbin/ldconfig.real: Percorso "/usr/lib/x86_64-linux-gnu" fornito più di <br>
> una volta<br>
> /sbin/ldconfig.real: /lib/x86_64-linux-gnu/<a href="http://ld-2.27.so" rel="noreferrer" target="_blank">ld-2.27.so</a> <br>
> <<a href="http://ld-2.27.so" rel="noreferrer" target="_blank">http://ld-2.27.so</a>> is the dynamic linker, ignoring<br>
> <br>
> libnettle.so.6 -> libnettle.so.6.5<br>
> libnettle.so.6 -> libnettle.so.6.4<br>
> <br>
> <br>
> The libnettle.so.6.5 is the one in my $HOME/opt/lib<br>
> <br>
> And that error came up anyway<br>
> <br>
> Shoud I reconfigure and rebuild with this new ldconfig configuration on ?<br>
> <br>
> Thanks !<br>
<br>
I would try that, though I don't see how it will make a difference but <br>
it could. It may be confused because both libnettle libraries are <br>
different versions of libnettle.so.6<br>
<br>
Another thing you could try is compiling gnutls with rpath enabled. I'm <br>
not exactly sure what the switch for that is, may just be --enable-rpath ???<br></blockquote><div><br></div><div>Hi Alice !</div><div><br></div><div>I just wanted to let you now that I managed to run the tests on Gnunet successfully !</div><div><br></div><div>This is the configure command I used:</div><div><br></div><div>./configure \<br>--prefix=/home/catonano/opt \<br>GUILE="/usr/bin/guile" \<br>PKG_CONFIG_PATH="/home/catonano/opt/lib/pkgconfig/" \<br>LT_SYS_LIBRARY_PATH="/home/catonano/opt/lib" \<br>NETTLE_LIBS="-L/home/catonano/opt/lib -lnettle" \<br></div><div><br></div><div>I'm not sure about LT_SYS_LIBRARY_PATH <br></div><div><br></div><div>But what solved the situation finally was the NETTLE_LIBS switch</div><div><br></div><div>I searched on line informations about this error message</div><div>DSO missing from command line</div><div><br></div><div>and it turns out it's about a lib NOT being given on the command line (DSO stands for dinamic shared objec)t<br></div><div><br></div><div>This happened with Nettle in the tests</div><div><br></div><div>I expected that a set of switches that makes the build succeed would also have made running the tests succeed</div><div>But I was wrong <br></div><div><br></div><div>Well, All's well that ends well</div><div><br></div><div>Thanks<br></div></div></div></div>