You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GNU ld (GNU Binutils) 2.23.2
Copyright 2012 Free Software Foundation, Inc.
AmigaOS4.1FE update 1
I have a project where, on linking, i get an error about a missing libc.so:
Development:Coding/SDK/gcc/ppc-amigaos/bin/ld: warning: libc.so, needed by /SDK/local/newlib/lib/libSDL2.so, not found (try using -rpath or -rpath-link)
Snoopy shows that ld is in fact looking in the wrong path (or so i believe) for libc.so:
libs.so though, together with all the other libs, reside in SDK:local/newlib/lib (as installed per the SDK installer)
For some reason it also refuses to look into the other subdirs to search for the file (like it does with libSDL2 libs), instead it picks up the static lib and links with that, leading to a crashing exe obviously.
A workaround would be to softlink a libc.so into that directory, but maybe ld needs to be fixed to also look in the local dir.
The text was updated successfully, but these errors were encountered:
GNU ld (GNU Binutils) 2.23.2
Copyright 2012 Free Software Foundation, Inc.
AmigaOS4.1FE update 1
I have a project where, on linking, i get an error about a missing libc.so:
Development:Coding/SDK/gcc/ppc-amigaos/bin/ld: warning: libc.so, needed by /SDK/local/newlib/lib/libSDL2.so, not found (try using -rpath or -rpath-link)
Snoopy shows that ld is in fact looking in the wrong path (or so i believe) for libc.so:
16440 : ld : o.k. = GetFilePosition(0x13D86B42) = 1024 [2uS]
16441 : ld : FAIL = Open("SDK:newlib/lib/libc.so",OLD) = [0x00000000] [35uS]
16442 : ld : o.k. = Open("SDK:newlib/lib/libc.a",OLD) = [0x13D86B78] [37uS]
16443 : ld : o.k. = ExamineObject(0x42F3C618) [15uS]
libs.so though, together with all the other libs, reside in SDK:local/newlib/lib (as installed per the SDK installer)
For some reason it also refuses to look into the other subdirs to search for the file (like it does with libSDL2 libs), instead it picks up the static lib and links with that, leading to a crashing exe obviously.
A workaround would be to softlink a libc.so into that directory, but maybe ld needs to be fixed to also look in the local dir.
The text was updated successfully, but these errors were encountered: