Skip to content

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

@huangyingw

Description

@huangyingw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixManaged by stale[bot]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions