mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 991 forks source link

Library no version information available in Centos 7.9 #3646

Open noobvie opened 3 years ago

noobvie commented 3 years ago

I tried to run grin node latest version v5.1.0 in the CentOS 7.9 but got following error although the library is existing, I also tried older version but same messages.

Below is the error:

[12:41][root@viper.local grin]# ./grin
./grin: /lib64/libtinfo.so.5: no version information available (required by ./grin)
./grin: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by ./grin)
./grin: /lib64/libncursesw.so.5: no version information available (required by ./grin)
./grin: /lib64/libncursesw.so.5: no version information available (required by ./grin)

Below is the library symbolic link:

[12:42][root@viper.local grin]# ll /lib64/libtinfo.so.5
lrwxrwxrwx. 1 root root 15 Oct 16  2017 /lib64/libtinfo.so.5 -> libtinfo.so.5.9

[12:43][root@viper.local grin]# ll /lib64/libc.so.6
lrwxrwxrwx 1 root root 12 May  6 15:43 /lib64/libc.so.6 -> libc-2.17.so

[12:43][root@viper.local grin]# ll /lib64/libncursesw.so.5
lrwxrwxrwx. 1 root root 18 Oct 16  2017 /lib64/libncursesw.so.5 -> libncursesw.so.5.9

[12:43][root@viper.local grin]# ll /lib64/libncursesw.so.5
lrwxrwxrwx. 1 root root 18 Oct 16  2017 /lib64/libncursesw.so.5 -> libncursesw.so.5.9

Below is the kernel/OS version:

[12:43][root@viper.local grin]# uname -a
Linux viper.local 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[12:44][root@viper.local grin]# cat /etc/*release
123.09beta01.b687
CentOS Linux release 7.9.2009 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.9.2009 (Core)
CentOS Linux release 7.9.2009 (Core)

And CPU info:

[12:48][root@viper.local ~]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : QEMU Virtual CPU version (cpu64-rhel6)
stepping        : 3
microcode       : 0x1
cpu MHz         : 2199.998
cache size      : 4096 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 4
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl eagerfpu pni cx16 hypervisor lahf_lm
bogomips        : 4399.99
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : QEMU Virtual CPU version (cpu64-rhel6)
stepping        : 3
microcode       : 0x1
cpu MHz         : 2199.998
cache size      : 4096 KB
physical id     : 1
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 4
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl eagerfpu pni cx16 hypervisor lahf_lm
bogomips        : 4399.99
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

Thanks for your suggestions.

mojitoo commented 2 years ago

i also have the same bug

[root@racknerd-6ec3e6 ~]#  systemctl status grinpp.service
● grinpp.service - Grin Node Service
   Loaded: loaded (/etc/systemd/system/grinpp.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2022-05-02 01:54:16 EDT; 1h 12min ago
 Main PID: 55845 (grin)
    Tasks: 25 (limit: 4376)
   Memory: 532.2M
   CGroup: /system.slice/grinpp.service
           └─55845 /usr/local/bin/grin

mai 02 01:54:16 racknerd-6ec3e6 systemd[1]: Started Grin Node Service.
mai 02 01:54:16 racknerd-6ec3e6 grin[55845]: /usr/local/bin/grin: /lib64/libtinfo.so.5: no version information available (required by /usr/local/bin/grin)
mai 02 01:54:16 racknerd-6ec3e6 grin[55845]: /usr/local/bin/grin: /lib64/libncursesw.so.5: no version information available (required by /usr/local/bin/grin)
mai 02 01:54:16 racknerd-6ec3e6 grin[55845]: 20220502 01:54:16.490 WARN grin::cmd::server - Starting GRIN w/o UI...
mai 02 01:54:16 racknerd-6ec3e6 grin[55845]: 20220502 01:54:16.542 WARN grin_api::handlers - Starting HTTP Node APIs server at 127.0.0.1:3413.
mai 02 01:54:16 racknerd-6ec3e6 grin[55845]: 20220502 01:54:16.543 WARN grin_api::handlers - HTTP Node listener started.
mai 02 01:54:16 racknerd-6ec3e6 grin[55845]: 20220502 01:54:16.543 WARN grin_servers::grin::server - Grin server started

library symbolic link

[root@racknerd-6ec3e6 ~]# ll /lib64/libtinfo.so.5
lrwxrwxrwx 1 root root 15 13 oct.   2021 /lib64/libtinfo.so.5 -> libtinfo.so.5.9
[root@racknerd-6ec3e6 ~]# ll /lib64/libc.so.6
lrwxrwxrwx 1 root root 12 15 mars  11:59 /lib64/libc.so.6 -> libc-2.28.so
[root@racknerd-6ec3e6 ~]# ll /lib64/libncursesw.so.5
lrwxrwxrwx 1 root root 18 13 oct.   2021 /lib64/libncursesw.so.5 -> libncursesw.so.5.9
[root@racknerd-6ec3e6 ~]# ll /lib64/libncursesw.so.5
lrwxrwxrwx 1 root root 18 13 oct.   2021 /lib64/libncursesw.so.5 -> libncursesw.so.5.9

OS INFO

[root@racknerd-6ec3e6 ~]#  uname -a
Linux racknerd-6ec3e6 4.18.0-305.7.1.el8_4.x86_64 #1 SMP Tue Jun 29 19:22:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@racknerd-6ec3e6 ~]#  cat /etc/*release
NAME="Rocky Linux"
VERSION="8.4 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel fedora"
VERSION_ID="8.4"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.4 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8.4:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
Rocky Linux release 8.4 (Green Obsidian)
Rocky Linux release 8.4 (Green Obsidian)
Rocky Linux release 8.4 (Green Obsidian)

CPU INFO

[root@racknerd-6ec3e6 ~]# cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 62
model name  : Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz
stepping    : 4
microcode   : 0x42e
cpu MHz     : 2799.998
cache size  : 16384 KB
physical id : 0
siblings    : 1
core id     : 0
cpu cores   : 1
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust smep erms xsaveopt arat umip md_clear arch_capabilities
bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs
bogomips    : 5599.99
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:
phyro commented 2 years ago

Do you have the requirements that are listed here https://github.com/mimblewimble/grin/blob/master/doc/build.md ? (not sure what the centos equivalents are)