forked from erigontech/erigon
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: while make command #1635
Comments
Couple of questions:
|
same issue:
|
fyi, builds on 24.04
but it should be possible to build on 20.04 ? |
fwiw, also compiles on 22.04
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
make cdk-erigon
Building cdk-erigon
github.com/ledgerwatch/erigon/cmd/cdk-erigon
/usr/local/go/pkg/tool/linux_amd64/link: running g++ failed: exit status 1
/usr/bin/g++ -m64 -o $WORK/b001/exe/a.out -rdynamic -Wl,--compress-debug-sections=zlib /tmp/go-link-832749308/go.o /tmp/go-link-832749308/000000.o /tmp/go-link-832749308/000001.o /tmp/go-link-832749308/000002.o /tmp/go-link-832749308/000003.o /tmp/go-link-832749308/000004.o /tmp/go-link-832749308/000005.o /tmp/go-link-832749308/000006.o /tmp/go-link-832749308/000007.o /tmp/go-link-832749308/000008.o /tmp/go-link-832749308/000009.o /tmp/go-link-832749308/000010.o /tmp/go-link-832749308/000011.o /tmp/go-link-832749308/000012.o /tmp/go-link-832749308/000013.o /tmp/go-link-832749308/000014.o /tmp/go-link-832749308/000015.o /tmp/go-link-832749308/000016.o /tmp/go-link-832749308/000017.o /tmp/go-link-832749308/000018.o /tmp/go-link-832749308/000019.o /tmp/go-link-832749308/000020.o /tmp/go-link-832749308/000021.o /tmp/go-link-832749308/000022.o /tmp/go-link-832749308/000023.o /tmp/go-link-832749308/000024.o /tmp/go-link-832749308/000025.o /tmp/go-link-832749308/000026.o /tmp/go-link-832749308/000027.o /tmp/go-link-832749308/000028.o /tmp/go-link-832749308/000029.o /tmp/go-link-832749308/000030.o /tmp/go-link-832749308/000031.o /tmp/go-link-832749308/000032.o /tmp/go-link-832749308/000033.o /tmp/go-link-832749308/000034.o /tmp/go-link-832749308/000035.o /tmp/go-link-832749308/000036.o /tmp/go-link-832749308/000037.o /tmp/go-link-832749308/000038.o /tmp/go-link-832749308/000039.o /tmp/go-link-832749308/000040.o /tmp/go-link-832749308/000041.o /tmp/go-link-832749308/000042.o /tmp/go-link-832749308/000043.o /tmp/go-link-832749308/000044.o /tmp/go-link-832749308/000045.o /tmp/go-link-832749308/000046.o /tmp/go-link-832749308/000047.o /tmp/go-link-832749308/000048.o /tmp/go-link-832749308/000049.o /tmp/go-link-832749308/000050.o /tmp/go-link-832749308/000051.o /tmp/go-link-832749308/000052.o /tmp/go-link-832749308/000053.o -O2 -g -fPIC -O2 -g -lpthread -O2 -g -O2 -g -lrt -O2 -g -O2 -g -O2 -g -O2 -g -lsilkworm_capi -L/home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64 -Wl,-rpath,$ORIGIN -Wl,-rpath,$ORIGIN/../lib -Wl,-rpath /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64 -no-pie
/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_setspecific@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
dlopen@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_mutexattr_setrobust@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_mutexattr_setprotocol@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve()@GLIBCXX_3.4.29' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_rwlock_init@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
fstat64@GLIBC_2.33' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_rwlock_wrlock@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_sigmask@GLIBC_2.32' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_mutexattr_init@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_condattr_setclock@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
dlerror@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
std::__throw_bad_array_new_length()@GLIBCXX_3.4.29' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
stat64@GLIBC_2.33'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_getspecific@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_create@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const &@GLIBCXX_3.4.29' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_mutex_trylock@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_mutexattr_destroy@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_attr_setstacksize@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
std::__exception_ptr::exception_ptr::_M_release()@CXXABI_1.3.13' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
__libc_single_threaded@GLIBC_2.32'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_mutexattr_settype@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_join@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
dlclose@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_mutexattr_setpshared@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_detach@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
std::__exception_ptr::exception_ptr::_M_addref()@CXXABI_1.3.13' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_setname_np@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_rwlock_rdlock@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_key_delete@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_once@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
std::to_chars(char*, char*, double)@GLIBCXX_3.4.29'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
dladdr@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_rwlock_destroy@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_key_create@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_rwlock_unlock@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
dlsym@GLIBC_2.34' /usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to
pthread_mutex_consistent@GLIBC_2.34'/usr/bin/ld: /home/anurag/go/pkg/mod/github.com/erigontech/[email protected]/lib/linux_x64/libsilkworm_capi.so: undefined reference to `lstat64@GLIBC_2.33'
collect2: error: ld returned 1 exit status
make: *** [Makefile:114: cdk-erigon.cmd] Error 1
ldd --version
ld.so (GNU libc) stable release version 2.34.
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
The text was updated successfully, but these errors were encountered: