Well I'm progressing -slowly

David Wilson dw at botanicus.net
Mon Feb 18 03:03:19 PST 2008


Hi Ty,

Have you got the static variants of those libraries installed? (i.e.
libm.a)  Seems you are doing a static link using dynamic libraries..

On Debian, these are found in package "libc6-dev", other distros will
have them elsewhere.


David.

On 2/18/08, Ty Tower <tytower at hotmail.com.au> wrote:
> After analising the command line sent for a small example program I am trying to compile I have found that my dmd command is having trouble . Probably any one of you could have explained this had you trie a little harder .
>
> Anyway here is the latest output
>
> [tytower at linuxbox dwt-linux]$ dmd MyStuff/main.d
> gcc main.o -o main -m32 -Xlinker -L/usr/bin/../lib -ltango-user-dmd -ltango-base-dmd -lpthread -lm
> /usr/bin/ld: cannot find -lm
> collect2: ld returned 1 exit status
> --- errorlevel 1
>
> Now all of the libraries are and were there all the time , albeit in /usr/lib/  for the majority and in /lib/ for the libm,so.6 which is linked to libm-2.4.so.
>
> In the error noted above however the "ld" cannot find it. Now without all the other extraneous b/s of versions etc , surely someone can suggest why this might be.
>
> I have tried copying bth the libm file and link into /usr/lib to no avail.
>
> If it seems like I am rude ,it is because I have been on this ,on and off for more than a week and I tend to call bullshit for what it is.
>
>
>


More information about the Digitalmars-d-dwt mailing list