>>
> Yes, this is definitely an old version of librados getting picked up
> somewhere in your library load path.
>
> You can find where the old librados is via:
>
> strace -f -e open ./rbd ls 2>&1 | grep librados.so

Thanks very much, Josh!
That's a big help.

Indeed! I had a pile of Ceph libs here: /usr/lib/x86_64-linux-gnu

As I intend to install in /usr/local, I removed all the Ceph related libs
from: /usr/lib/x86_64-linux-gnu

And next, I rebuilt and installed all.
Then:

$ ceph -s
Traceback (most recent call last):
  File "/usr/local/bin/ceph", line 914, in <module>
    retval = main()
  File "/usr/local/bin/ceph", line 663, in main
    conffile=conffile)
  File "/usr/lib/python2.7/dist-packages/rados.py", line 208, in __init__
    self.librados = CDLL(librados_path)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: librados.so.2: cannot open shared object file: No such file or
directory


strace is going to be my new best friend, now. ;)

-az
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to