8000 旧世界 .NET 8 无法运行 · Issue #5 · AOSC-Dev/liblol · GitHub
[go: up one dir, main page]

Skip to content

旧世界 .NET 8 无法运行 #5

Closed

Description

@KatyushaScarlet

使用dotnet --info命令可以输出如下信息,其中包含错误信息。
目前无法编译、无法运行.net程序。

Error message: Unable to load shared library 'libSystem.Native' or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you're using glibc, consider setting the LD_DEBUG environment variable: 
/home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined symbol: pthread_attr_setstacksize
libSystem.Native.so: cannot open shared object file: No such file or directory
/home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/liblibSystem.Native.so: cannot open shared object file: No such file or directory
/home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native: cannot open shared object file: No such file or directory
/home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/liblibSystem.Native: cannot open shared object file: No such file or directory

Failed to create CoreCLR, HRESULT: 0x80131524

Host:
  Version:      8.0.0
  Architecture: loongarch64
  Commit:       894f13793e
  RID:          linux-loongarch64

.NET SDKs installed:
  8.0.100 [/home/katyusha/sdk/dotnet/dotnet8/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 8.0.0 [/home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 8.0.0 [/home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/home/katyusha/sdk/dotnet/dotnet8]

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

Loongson's .NET version:
  8.0.100-ea2
$ ld /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so
ld: warning: cannot find entry symbol _start; not setting start address
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `tcsetattr@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `opendir@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getpwnam_r@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `strcasecmp@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `vfork@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getpid@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_mutex_unlock@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `freeifaddrs@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_setcancelstate@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `strncpy@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `memcmp@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `gethostname@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `msync@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `rmdir@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `listen@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_condattr_destroy@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `sendfile64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `vsnprintf@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getaddrinfo@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `syslog@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `poll@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `waitid@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `sched_getcpu@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `environ@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `fchmod@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `symlink@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getgrouplist@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `_exit@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `strcmp@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `geteuid@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `link@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `qsort@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `abort@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `sync@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `bind@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `inotify_init1@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `mkfifo@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `readlink@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `madvise@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pread64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `gai_strerror@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `fcntl64@GLIBC_2.28'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getpeername@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `shutdown@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `sysconf@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `close@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getauxval@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `__lxstat64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `seteuid@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `waitpid@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `flock@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `statfs64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `__xmknod@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `stderr@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `sscanf@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `execve@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `readdir64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `realpath@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `sigfillset@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getsid@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getenv@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_attr_setdetachstate@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pipe2@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getpwuid_r@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `mkdtemp@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `futimens@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_attr_init@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getnameinfo@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `ftruncate64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_attr_destroy@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `memcpy@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `fallocate64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `snprintf@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_cond_signal@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_self@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `dup2@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getegid@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `__environ@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `__fxstat64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `strerror_r@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `read@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `fflush@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `fsync@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `strdup@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `open64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `access@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `if_indextoname@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `__cxa_atexit@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `realloc@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_condattr_init@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `malloc_usable_size@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `closedir@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_mutex_init@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `setgroups@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getdomainname@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pwrite64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_cond_wait@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pathconf@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getpriority@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `time@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `free@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `__errno_location@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `accept4@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_cond_init@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `shm_unlink@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getifaddrs@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `endmntent@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `chdir@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `mkstemps64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `shm_open@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `fwrite@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `__xstat64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `send@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `aligned_alloc@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `sigaction@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `calloc@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `kill@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_mutex_lock@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `setuid@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `__stack_chk_fail@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `chmod@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `preadv64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getsockname@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `recv@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `sched_getaffinity@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `if_nametoindex@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `ioctl@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `setrlimit64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `exit@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `munmap@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `setsockopt@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `sendmsg@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `setgid@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_mutex_destroy@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `freeaddrinfo@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `__libc_current_sigrtmax@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `write@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `setmntent@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getmntent_r@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `epoll_wait@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getrlimit64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getrusage@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `fstatfs64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `srand48@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `strlen@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getcwd@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getgroups@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `uname@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `clock_gettime@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `lseek64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `connect@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `malloc@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `isatty@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `memset@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `inotify_rm_watch@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `mmap64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `recvmsg@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pwritev64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `inotify_add_watch@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_cond_timedwait@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `lrand48@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getsockopt@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `epoll_ctl@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `unlink@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `utimensat@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `socket@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `epoll_create1@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `stdout@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `tcgetattr@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `setpriority@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `getgrgid_r@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `sched_setaf
9C88
finity@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `pthread_cond_destroy@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `posix_fadvise64@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `mkdir@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `rename@GLIBC_2.27'
ld: /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: undefined reference to `syscall@GLIBC_2.27'
$ ldd /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so
/home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: /usr/lib/librt.so.1: version `GLIBC_2.27' not found (required by /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so)
/home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: /usr/lib/libc.so.6: version `GLIBC_2.28' not found (required by /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so)
/home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so: /usr/lib/libc.so.6: version `GLIBC_2.27' not found (required by /home/katyusha/sdk/dotnet/dotnet8/shared/Microsoft.NETCore.App/8.0.0/libSystem.Native.so)
	linux-vdso.so.1 (0x00007ffffc328000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007ffff26f0000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007ffff2544000)
	ld.so.1 => /usr/lib/ld.so.1 (0x00007ffff250c000)
	/usr/lib64/ld-linux-loongarch-lp64d.so.1 (0x00007ffff2758000)

Activity

  1. added a commit that references this issue on Jan 14, 2024
    ac32bbf
  2. shankerwangmiao commented on Jan 14, 2024

    @shankerwangmiao
    Collaborator

    0.1.1-0~pre2 应该解决了这个问题

    root@b8dff102785c [ dotnet ] # ./dotnet --info
    .NET SDK:
     Version:           8.0.100
     Commit:            57efcf1350
     Workload version:  8.0.100-manifests.2d90560f
    
    运行时环境:
     OS Name:     aosc
     OS Version:  11.0.1
     OS Platform: Linux
     RID:         linux-loongarch64
     Base Path:   /opt/apps/dotnet/sdk/8.0.100/
    
    已安装 .NET 工作负载:
     Workload version: 8.0.100-manifests.2d90560f
    没有要显示的已安装工作负载。
    
    Host:
      Version:      8.0.0
      Architecture: loongarch64
      Commit:       894f13793e
    
    .NET SDKs installed:
      8.0.100 [/opt/apps/dotnet/sdk]
    
    .NET runtimes installed:
      Microsoft.AspNetCore.App 8.0.0 [/opt/apps/dotnet/shared/Microsoft.AspNetCore.App]
      Microsoft.NETCore.App 8.0.0 [/opt/apps/dotnet/shared/Microsoft.NETCore.App]
    
    Other architectures found:
      None
    
    Environment variables:
      Not set
    
    global.json file:
      Not found
    
    Learn more:
      https://aka.ms/dotnet/info
    
    Download .NET:
      https://aka.ms/dotnet/download
    
    Loongson's .NET version:
      8.0.100-ea2
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0