79791494

Date: 2025-10-15 18:17:19
Score: 0.5
Natty:
Report link

ld.lld: error: unable to find library -lc++_shared

https://github.com/termux/termux-packages/issues/10225#issuecomment-3384437985 also references this message. The only other result for this message, is on a chess forum.

Google Assistant suggests apt install libc++, plus export LD_LIBRARY_PATH=/path/to/libc++\_shared:$LD_LIBRARY_PATH.

Found the path to use:

~ $ apt install libc++
libc++ is already the newest version (28c).

Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
~ $ find ~/../usr/ | grep "libc++_shared"

/data/data/com.termux/files/home/../usr/lib/libc++_shared.so
~ $ export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib/
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Swudu Susuwu