bdrewery / zfstools

Various ZFS scripts. Most notably, zfs-auto-snapshot, a ruby clone of OpenSolaris auto snapshotting
Other
141 stars 29 forks source link

zfs-auto-snapshot not run.Shared object "libdl.so.1" not found #40

Closed fangxirui closed 4 years ago

fangxirui commented 5 years ago

hi

I installed zfstools.

zfs-auto-snaphot can't run.

It prompts Shared object "libdl.so.1" not found, required by "ruby"

freebsd version is 11.1-RELEASE

dlangille commented 5 years ago

Sounds like the problem is with ruby:

root@120R-head:~ # ldd /usr/local/bin/ruby
/usr/local/bin/ruby:
    libruby25.so.25 => /usr/local/lib/libruby25.so.25 (0x800247000)
    libelf.so.2 => /lib/libelf.so.2 (0x80052d000)
    libunwind.so.8 => /usr/local/lib/libunwind.so.8 (0x800547000)
    libexecinfo.so.1 => /usr/lib/libexecinfo.so.1 (0x800761000)
    libprocstat.so.1 => /usr/lib/libprocstat.so.1 (0x800766000)
    libthr.so.3 => /lib/libthr.so.3 (0x800774000)
    libdl.so.1 => /usr/lib/libdl.so.1 (0x80079f000)
    libcrypt.so.5 => /lib/libcrypt.so.5 (0x8007a3000)
    libm.so.5 => /lib/libm.so.5 (0x8007c5000)
    libc.so.7 => /lib/libc.so.7 (0x8007f7000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x800bea000)
    liblzma.so.5 => /usr/lib/liblzma.so.5 (0x800c02000)
    libkvm.so.7 => /lib/libkvm.so.7 (0x800c2d000)
    libutil.so.9 => /lib/libutil.so.9 (0x800c40000)
root@120R-head:~ #