undefined reference to `__dso_handle'
Building ksh93 under Artix Linux fails with this error:
/usr/bin/ld: /usr/lib/libc_nonshared.a(atexit.oS): in function 'atexit':
(.text+0x7): undefined reference to '__dso_handle'
/usr/bin/ld: /usr/lib/libc_nonshared.a(atexit.oS): relocation R_X86_64_PC32 against undefined hidden symbol '__dso_handle' can not be used when making a shared object
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
Is there a fix for this?
AT&T has abandoned ksh and they will not fix this (or anything else). But development has been restarted as ksh 93u+m at https://github.com/ksh93/ksh. It is already the default ksh on several distros. Please clone that repo and try to build it, and let me know your results.
I think the project should highlight places where the code is being released, perhaps in NEWS.
Rocky Linux 9 (RHEL 9, and probably every distro in the downstream, but I haven't tried to load them all up) has u+m in their appstream repo.
On Fri, Jan 13, 2023 at 12:02 PM Martijn Dekker @.***> wrote:
AT&T has abandoned ksh and they will not fix this (or anything else). But development has been restarted as ksh 93u+m at https://github.com/ksh93/ksh. It is already the default ksh on several distros. Please clone that repo and try to build it, and let me know your results.
— Reply to this email directly, view it on GitHub https://github.com/att/ast/issues/1497#issuecomment-1382258084, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC32RF7WXIEHRP75SYOWQFDWSGRGDANCNFSM6AAAAAATYBVSXY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
We at AT&T aren’t endorsing any particular fork, not knowing much about them.
We’ve kept this repo open so that forks could advertise themselves, but we will probably archive it (make it read only) at some point.