msink / kotlin-libui

Kotlin/Native interop to libui: a portable GUI library
MIT License
648 stars 49 forks source link

Depends on old version of libcrypt #47

Closed squidink7 closed 2 years ago

squidink7 commented 2 years ago

When executing an application created with this library on linux, it looks for libcrypt.so.1 which on Arch Linux has been deprecated and replaced with libcrypt.so.2. This issue can be solved simply by creating a symlink, which means theres no compatibility issues requiring the older version of the library, so I would recommend updating the dependency to the newer version.

msink commented 2 years ago

How this can be fixed here? Kotlin/Native compiler and linker use sysroot with very old Linux version, not host computer libraries. And only JetBrains Kotlin team can update that sysroot, AFAIK.

squidink7 commented 2 years ago

Ahh, I'm no expert with these kinds of things as I'm new to kotlin. I just noticed that the error only occurred when using this library which caused me to assume that's where the issue was caused.