MySQL Forums
Forum List  »  Install & Repo

Re: Build v8.0.36 on RHEL 9 Fails With Unresolved xdr_ Symbols
Posted by: William Jastrow
Date: April 19, 2024 09:14AM

After reviewing another (Oracle) reference

https://docs.oracle.com/en/database/oracle/oracle-database/19/lacli/supported-red-hat-enterprise-linux-8-distributions-for-x86-64.html

I installed the following libraries (some of which were already present):

bc
binutils
elfutils-libelf
elfutils-libelf-devel
fontconfig-devel
glibc
glibc-devel
ksh
libaio
libaio-devel
libXrender
libX11
libXau
libXi
libXtst
libgcc
libnsl
librdmacm
libstdc++
libstdc++-devel
libxcb
libibverbs
make
policycoreutils
policycoreutils-python-utils
smartmontools
sysstat

After repeating the cmake/make process, I still encounter:

[ 78%] Building CXX object unittest/gunit/libmysqlgcs/CMakeFiles/gcs_xcom_network_provider_manager-t.dir/xcom/gcs_xcom_network_provider_manager-t.cc.o
[ 78%] Linking CXX executable ../../../runtime_output_directory/gcs_xcom_network_provider_manager-t
/opt/rh/gcc-toolset-12/root/usr/bin/ld: ../../../plugin/group_replication/libmysqlgcs/libmysqlgcs.a(gcs_xcom_proxy.cc.o): in function `Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request, xcom_input_request_ptr_deleter> >::push_internal(app_data*, void (*)(void*, pax_msg*))':
/home/mysql/mysql-8.0.36/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_input_queue.h:232: undefined reference to `xdr_free'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: /home/mysql/mysql-8.0.36/plugin/group_replication/libmysqlgcs/src/bindings/xcom/gcs_xcom_input_queue.h:223: undefined reference to `xdr_free'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: ../../../plugin/group_replication/libmysqlgcs/libmysqlgcs.a(xcom_base.cc.o): in function `handle_set_leaders(app_data*)':
/home/mysql/mysql-8.0.36/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.cc:3764: undefined reference to `xdr_free'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: ../../../plugin/group_replication/libmysqlgcs/libmysqlgcs.a(xcom_base.cc.o): in function `handle_leaders(app_data*)':
/home/mysql/mysql-8.0.36/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.cc:3764: undefined reference to `xdr_free'
/opt/rh/gcc-toolset-12/root/usr/bin/ld: ../../../plugin/group_replication/libmysqlgcs/libmysqlgcs.a(xcom_base.cc.o): in function `xcom_client_send_die(connection_descriptor*)':
/home/mysql/mysql-8.0.36/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.cc:8088: undefined reference to `xdr_free'

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.