On Wednesday 2024-10-16 17:22, Johannes Kastl wrote:
Hi Andreas, On 16.10.24 10:52 Andreas Schwab wrote:
On Okt 16 2024, Johannes Kastl wrote:
I am not a GCC expert, but my guess would be the "ld: cannot find..." errors. Not sure how to solve those?
It's verbatim in your spec file:
export LDFLAGS="-pie -ltirpc -lgrpc -labsl_synchronization -labsl_log_internal_check_op -labsl_log_internal_nullguard -labsl_log_internal_message"
Why is this working on SLE15 SP5 and fails on Leap 15.5?
configure:3661: gcc -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Wno-unused-local-typedefs -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-sizeof-pointer-memaccess -Wno-cpp -fPIE -pie -ltirpc -lgrpc -labsl_synchronization -labsl_log_internal_check_op -labsl_log_internal_nullguard -labsl_log_internal_message conftest.c >&5 /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -labsl_synchronization: No such file or directory /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -labsl_log_internal_check_op: No such file or directory
Seems pretty obvious that ABSL is not installed (BuildRequired) or that ABSL (if it is installed) is so old that it does not contain libabsl_log_internal_check_op.so yet.