Ok, I clarify myself a bit. There seems the code lacks an entry point, from another part of the crash log:
iPuja`abort_could_not_find_entry_point___debug_dylib:
0x102ab1440 <+0>: stp x29, x30, [sp, #-0x10]!
0x102ab1444 <+4>: mov x29, sp
0x102ab1448 <+8>: bl 0x102ab1620 ; symbol stub for: abort
Then it seems it keeps on finding a entry point until it crashes.
iPuja`getDebugDylibEntryPoint:
0x102ab05d4 <+0>: sub sp, sp, #0x70
0x102ab05d8 <+4>: stp x26, x25, [sp, #0x20]
0x102ab05dc <+8>: stp x24, x23, [sp, #0x30]
0x102ab05e0 <+12>: stp x22, x21, [sp, #0x40]
0x102ab05e4 <+16>: stp x20, x19, [sp, #0x50]
0x102ab05e8 <+20>: stp x29, x30, [sp, #0x60]
0x102ab05ec <+24>: add x29, sp, #0x60
0x102ab05f0 <+28>: adrp x8, 8
0x102ab05f4 <+32>: ldr x8, [x8, #0x8]
0x102ab05f8 <+36>: ldr x8, [x8]
0x102ab05fc <+40>: str x8, [sp, #0x18]
0x102ab0600 <+44>: adrp x24, 12
0x102ab0604 <+48>: ldrb w8, [x24]
0x102ab0608 <+52>: adrp x23, 12
0x102ab060c <+56>: adrp x19, 12
0x102ab0610 <+60>: add x19, x19, #0x100 ; debugDylibEntryPointName
0x102ab0614 <+64>: tbnz w8, #0x0, 0x102ab0834 ; <+608>
0x102ab0618 <+68>: bl 0x102ab14f8 ; OUTLINED_FUNCTION_6
0x102ab061c <+72>: cbz w0, 0x102ab063c ; <+104>
0x102ab0620 <+76>: bl 0x102ab1564 ; OUTLINED_FUNCTION_15
Of course I may not be so much clearer than that, because if I knew what was the cause for the linking error I could fix it by myself...
In brief, how do I replace the entry point, and where that is located?