runtime: Can't execute dotnet-arm64 on asuswrt

# ./dotnet
./dotnet: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

# uname -a
Linux RT-AX86U 4.1.52 #2 SMP PREEMPT Sat Jul 25 23:55:08 CST 2020 aarch64 Merlin_Koolshare_RT-AX86U

But /lib and /opt/lib have the file libpthread.so.0

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 20 (13 by maintainers)

Most upvoted comments

I have found that the symbol _dl_exception_create was added in glibc 2.27 and it was not present in 2.26. So it seems that the problem is actually that there is ld-linux-aarch64.so.1 from glibc 2.26 that is being loaded. My guess is that it resides in /lib64.

That would explain why @am11’s suggestion didn’t help.

Having two different glibc versions in the system is a recipe for problems in general, as things like this can happen. It seems that a fix would be to upgrade the glibc in /lib64 to 2.27 if that’s possible.