Skip to content

gluster: error while loading shared libraries: libglusterd.so.0: cannot open shared object file: No such file or directory #1365

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

Closed
huangyingw opened this issue Jul 11, 2020 · 3 comments
Labels
wontfix Managed by stale[bot]

Comments

@huangyingw
Copy link

Description of problem:
I compiled and build the glusterfs with following command:
./autogen.sh
./configure
--without-libtirpc
--enable-debug
--enable-gnfs
--enable-asan &&
make &&
make install

everything looks well, glusterfsd is working:

glusterfsd --version
glusterfs 9dev
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. https://www.gluster.org/
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

but gluster command failed.
gluster
gluster: error while loading shared libraries: libglusterd.so.0: cannot open shared object file: No such file or directory

The exact command to reproduce the issue:
gluster
gluster peer status

The full output of the command that failed:
gluster
gluster: error while loading shared libraries: libglusterd.so.0: cannot open shared object file: No such file or directory

- The operating system / glusterfs version:

glusterfsd --version
glusterfs 9dev
Repository revision: git://git.gluster.org/glusterfs.git
Copyright (c) 2006-2016 Red Hat, Inc. https://www.gluster.org/
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.

cat /etc/issue
Ubuntu 18.04.4 LTS \n \l

@huangyingw
Copy link
Author

I have found a solution, to run

ldconfig

would fix this issue

@stale
Copy link

stale bot commented Feb 8, 2021

Thank you for your contributions.
Noticed that this issue is not having any activity in last ~6 months! We are marking this issue as stale because it has not had recent activity.
It will be closed in 2 weeks if no one responds with a comment here.

@stale stale bot added the wontfix Managed by stale[bot] label Feb 8, 2021
@stale
Copy link

stale bot commented Feb 23, 2021

Closing this issue as there was no update since my last update on issue. If this is an issue which is still valid, feel free to open it.

@stale stale bot closed this as completed Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix Managed by stale[bot]
Projects
None yet
Development

No branches or pull requests

1 participant