<font size="2"><font face="tahoma,sans-serif"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div><font size="2"><font face="tahoma,sans-serif"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Hi,</span></font></font></div>
<div><font size="2"><font face="tahoma,sans-serif"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></font></font></div><div><font size="2"><font face="tahoma,sans-serif"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Thanks for the replies, I was away for a couple of days and I couldn't test your proposals. </span></font></font></div>
<div><font size="2"><font face="tahoma,sans-serif"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Sadly nothing seemed to work...I checked that the dmd.conf that I think it was using was actually the one used and also that the DFLAG argument </span></font></font></div>
</span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">-L-L/usr/local/lib/lib32 is present. </span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div>
<font size="2"><font face="tahoma,sans-serif"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">Running the nm command echos </span></font></font></div>
<div><font size="2"><font face="tahoma,sans-serif"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><br></span></font></font></div></span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">nm: aio_read64.o: no symbols</span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div>
<div>nm: aio_write64.o: no symbols</div><div>nm: lio_listio64.o: no symbols</div><div>clock_gettime.o:</div><div>0000000000000000 T clock_gettime</div><div>nm: shm_unlink.o: no symbols</div></div><div><br></div><div>So I' currently stuck. :(</div>
<div><br></div>> On Sat, 27 Aug 2011 16:40:39 +0300, Radu Toev wrote:<br>><br>> There are two possibilities I can imagine:<br>>  A.  The phobos2 library was somehow incomplete or not built correctly.<br>>  To check this possibility, use the 'nm' command and search for the<br>
> missing symbol.  I used the Ubuntu standard dmd package, so my<br>> directories may by slightly different.<br>><br>> # The 'T' symbol means 'text', and that the function definition exists.<br>
> $ nm /usr/lib64/librt.a | grep clock_gettime<br>> clock_gettime.o:<br>> 0000000000000000 T clock_gettime<br>><br>>  B.  Another possibility is that the search path is bad?<br>> Check your dmd.conf file and make sure that "-L-L/usr/local/lib/lib32" is<br>
> part of the options under "DFLAGS".<br>><br>> I would personally recommend going with the pre-compiled Ubuntu package<br>> though.<br><br><br>It's probably also worth checking whether it's actually using the dmd.conf<br>
that you think it's using (strace should do the trick). I don't know the<br>search path list offhand, but it checks in quite a few places.</span></font></font>