-
Notifications
You must be signed in to change notification settings - Fork 128
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
Build Error : Undefined Reference in Ubuntu 20.04 LTS in WSL #31
Comments
I went further and removed brew (homebrew) and installed the apt-get dependencies, everything ran fine until the make -j 8 command
|
I have the same problem |
Hello guys,
I'm currently running into these errors:
/micro/libs/cpprestsdk/build.release/Binaries/libcpprest.a(http_compression.cpp.o): in function
web::http::compression::builtin::zlib_decompressor_base::reset()': http_compression.cpp:(.text._ZN3web4http11compression7builtin22zlib_decompressor_base5resetEv[_ZN3web4http11compression7builtin22zlib_decompressor_base5resetEv]+0x26): undefined reference to
inflateReset'/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
pthread_setspecific@GLIBC_2.34' /usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
dlopen@GLIBC_2.34'/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
pthread_rwlock_init@GLIBC_2.34' /usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
pthread_rwlock_wrlock@GLIBC_2.34'/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
dlerror@GLIBC_2.34' /usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
pthread_getspecific@GLIBC_2.34'/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
dlclose@GLIBC_2.34' /usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
pthread_rwlock_rdlock@GLIBC_2.34'/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
pthread_key_delete@GLIBC_2.34' /usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
fstat@GLIBC_2.33'/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
stat@GLIBC_2.33' /usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
pthread_once@GLIBC_2.34'/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
dladdr@GLIBC_2.34' /usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
pthread_rwlock_destroy@GLIBC_2.34'/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
pthread_key_create@GLIBC_2.34' /usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to
pthread_rwlock_unlock@GLIBC_2.34'/usr/bin/ld: /home/linuxbrew/.linuxbrew/Cellar/openssl@3/3.0.7/lib/libcrypto.so: undefined reference to `dlsym@GLIBC_2.34'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/micro-service.dir/build.make:156: micro-service] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/micro-service.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
The ubuntu install uses g++ version 9 so I'm not sure if that's the problem.
The text was updated successfully, but these errors were encountered: