[linux-lvm] To compile

Pierrick PONS ppons at cvf.fr
Thu Feb 21 07:03:01 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.
> 
> If you already did so, sorry for my question :)
> 
> Regards, Markus
> 

I had seen that linking liblvm-10.so.1 in /lib with 
/usr/local/stow/lvm/lib/liblvm-10.so.1 permitted to start pvcreate .

I did what you wrote and it works perfectly. I'm sorry for this stupid 
question .

You're the boss.

Thanks a lot.



Pierrick





More information about the linux-lvm mailing list