[linux-lvm] To compile

William Blunn bill at tao-group.com
Thu Feb 21 07:15:02 UTC 2002


> On Thu, Feb 21, 2002 at 01:01:48PM +0100, Pierrick PONS wrote:
> > 
> > When I want to start with lvm, here is my problem :
> > pvcreate /dev/sdb
> > pvcreate: error in loading shared libraries: liblvm-10.so.1: 
> cannot open 
> > shared object file: No such file or directory
> > 
> > I don't really understand, liblvm is in /usr/local/lib as a 
> link pointing to 
> > /usr/local/stow/lvm/lib .
> 
> Is /usr/local/lib in your Library Path? Add this path to
> /etc/ld.so.conf, run ldconfig and retry it.

Er, you might find that it is a good idea to put your LVM shared library in /lib.

Otherwise you might have difficulting starting up the system if /usr or /usr/local is on an LVM volume.

Bill
-- 
William H. Blunn - bill at tao-group.com - Developer Support
Tao
62/63 Suttons Business Park, Earley, READING, RG6 1AZ, United Kingdom
Tel: +44 118 901 2999 - Fax: +44 118 901 2963 - http://tao-group.com/





More information about the linux-lvm mailing list