zfsonlinux/zfs — Issue #436: ldconfig & missing zpool after reboot
Author: chrischdi
Created: 2011-11-04 13:01:42+00:00
State: open

Hey guys,

just compiled the latest code from github and encountered two problems:
After compiling I had to execute:
sudo ldconfig
cause of the following error:
zpool: error while loading shared libraries: libspl.so.1: cannot open shared object file: No such file or directory
After executing this the zfs and zpool commands did work.

The next Issue is that the zpool was lost after a reboot.
I found out that the directory /etc/zfs and it's contents and /etc/init.d/zfs were installed to the wrong directory. I finally found them at /usr/local/etc/zfs /usr/local/etc/init.d/zfs!
After copying them to /etc the zpool did exist after reboot!

Tested on Ubuntu minimal installation 11.10 Kernel 3.0.0-12-generic