Closed farhanmohdtahir closed 1 month ago
Update:
Since I have no luck using package installer to install glusterfs-server, I've tried to install glusterfs-server by compile source code (v11.1) from this git, and it works.
For those who are having hard time to resolve the issue related to the above libraries (undefined symbol: gf_async_ctrl), you can try to compile source code from this git. Thank you. Can close this issue.
Description of problem:
Hi,
I want to upgrade glusterfs server from glusterfs:3.2-1 to latest glusterfs (11.1-1). All the process of completely uninstall and install the new one was seems normal without any error message. But, when I run glusterfs --version, I get an error message of :
glusterfs: symbol lookup error: /lib/x86_64-linux-gnu/libgfrpc.so.0: undefined symbol: gf_async_ctrl
Your help is much appreciated.The exact command to reproduce the issue:
Uninstall completely glusterfs:3.2-1
apt-get remove glusterfs-client glusterfs-server glusterfs-common
apt-get autoremove
Install latest version of glusterfs (11.1-1)
1. curl https://download.gluster.org/pub/gluster/glusterfs/11/rsa.pub | gpg --dearmor > /usr/share/keyrings/glusterfs-archive-keyring.gpg
2. DEBID=$(grep 'VERSION_ID=' /etc/os-release | cut -d '=' -f 2 | tr -d '"')
3. DEBVER=$(grep 'VERSION=' /etc/os-release | grep -Eo '[a-z]+')
4. DEBARCH=$(dpkg --print-architecture)
5. echo "deb [signed-by=/usr/share/keyrings/glusterfs-archive-keyring.gpg] https://download.gluster.org/pub/gluster/glusterfs/LATEST/Debian/${DEBID}/${DEBARCH}/apt ${DEBVER} main" | tee /etc/apt/sources.list.d/gluster.list
6. apt-get update
7. apt install -y glusterfs-server
The processes above works perfectly without any error messages or issue.
The full output of the command that failed: But, when I run the following command:
glusterfs --version
The following error appeared:glusterfs: symbol lookup error: /lib/x86_64-linux-gnu/libgfrpc.so.0: undefined symbol: gf_async_ctrl
Expected results: I am expecting to see the glusterfs --version after the installation
Mandatory info:
ldd /usr/sbin/glusterd
apt-get install glusterfs-server
.
Additional info:
Note: Please hide any confidential data which you don't want to share in public like IP address, file name, hostname or any other configuration