* [linux-lvm] To compile
@ 2002-02-21 6:02 Pierrick PONS
2002-02-21 6:45 ` Markus Dobel
0 siblings, 1 reply; 9+ messages in thread
From: Pierrick PONS @ 2002-02-21 6:02 UTC (permalink / raw)
To: linux-lvm
Hello all,
I've compiled lvm-1.0.3 using stow.
But a lib is missed
./configure --prefix=/usr/local/stow/lvm
make
make install
cd /usr/local/stow
stow -vv lvm
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 it impossible to compile lvm and use stow ?
I'm sorry, maybe it's a newbie question.
Thanks
Pierrick
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] To compile
2002-02-21 6:02 [linux-lvm] To compile Pierrick PONS
@ 2002-02-21 6:45 ` Markus Dobel
2002-02-21 7:03 ` Pierrick PONS
2002-02-21 7:15 ` William Blunn
0 siblings, 2 replies; 9+ messages in thread
From: Markus Dobel @ 2002-02-21 6:45 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] To compile
2002-02-21 6:45 ` Markus Dobel
@ 2002-02-21 7:03 ` Pierrick PONS
2002-02-21 7:15 ` William Blunn
1 sibling, 0 replies; 9+ messages in thread
From: Pierrick PONS @ 2002-02-21 7:03 UTC (permalink / raw)
To: linux-lvm
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] To compile
2002-02-21 6:45 ` Markus Dobel
2002-02-21 7:03 ` Pierrick PONS
@ 2002-02-21 7:15 ` William Blunn
2002-02-24 16:28 ` Terje Kvernes
1 sibling, 1 reply; 9+ messages in thread
From: William Blunn @ 2002-02-21 7:15 UTC (permalink / raw)
To: linux-lvm
> 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@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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] To compile
2002-02-21 7:15 ` William Blunn
@ 2002-02-24 16:28 ` Terje Kvernes
2002-02-25 3:13 ` William Blunn
0 siblings, 1 reply; 9+ messages in thread
From: Terje Kvernes @ 2002-02-24 16:28 UTC (permalink / raw)
To: linux-lvm
"William Blunn" <bill@tao-group.com> writes:
> 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.
right. this also goes for vgscan and vgchange. now, site-specific
software around where I work gets tossed to /site. which of course
is either a partition or a volume. either way, doing:
[root@host /sbin]# ln -s /site/sbin/vgchange && ln -s /site/sbin/vgscan
isn't as bright as one first thinks.
of course, when testing for volumegroups only / has been mounted, in
case any other mountpoints are logical volumes. *sigh*
--
Terje - who builds most utils statically these days. less fuzz. :p
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] To compile
2002-02-24 16:28 ` Terje Kvernes
@ 2002-02-25 3:13 ` William Blunn
2002-02-25 7:43 ` [linux-lvm] Problems mounting LVM volume as root Felix Rodriguez
0 siblings, 1 reply; 9+ messages in thread
From: William Blunn @ 2002-02-25 3:13 UTC (permalink / raw)
To: linux-lvm
Terje Kvernes <terjekv@math.uio.no> wrote:
> "William Blunn" <bill@tao-group.com> writes:
> > 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.
>
> right. this also goes for vgscan and vgchange. now, site-specific
> software around where I work gets tossed to /site. which of course
> is either a partition or a volume. either way, doing:
>
> [root@host /sbin]# ln -s /site/sbin/vgchange && ln -s /site/sbin/vgscan
>
> isn't as bright as one first thinks.
>
> of course, when testing for volumegroups only / has been mounted, in
> case any other mountpoints are logical volumes. *sigh*
I set up:
/opt/lvm-1.0.1 in the (small) root FS
/usr/local/opt/lvm-1.0.1 in the /usr filesystem (on LVM)
I put the LVM tools at /opt/lvm-1.0.1/sbin, and symlinked them from /sbin.
I put the manpages in /usr/local/opt/lvm-1.0.1/man, and symlinked them
from /usr/local/man.
I put the runtime/shared-object (.so) library directly in /lib.
I put the development/static (.a) library in
/usr/local/opt/lvm-1.0.1/lib, and symlinked it from /usr/local/lib.
After all this, I wondered how difficult it would be to make a
Debian/Potato package out of it.
Bill
^ permalink raw reply [flat|nested] 9+ messages in thread
* [linux-lvm] Problems mounting LVM volume as root
2002-02-25 3:13 ` William Blunn
@ 2002-02-25 7:43 ` Felix Rodriguez
2002-02-26 11:33 ` Luca Berra
0 siblings, 1 reply; 9+ messages in thread
From: Felix Rodriguez @ 2002-02-25 7:43 UTC (permalink / raw)
To: linux-lvm
Hi All,
I have gotten LVM to work on my linux 2.4.17 kernel system. I am having a
problem mounting my LVM volume as root. I followed all the instructions in
the LVM howto that explains how to add an LVM root. I successfully created
a root LVM volume formated it and copied the original root to the volume. I
then ran the lvmcreate_initrd script. It created the .gz initrd file in the
/boot directory. Made all the appropriate changes to lilo.conf and ran
/sbin/lilo. My problem is when the kernel comes up insmod says it can't
fine /lib/modules/2.4.17lvm/net/unix.o module. I think it's because the
root file system isn't being mounted at that point but I am not sure. Does
anyone have any ideas. I am running the 2.4.17 kernel with LVM support and
the new LVM version 1.0.3. Are there any know problems with this
configuration? Thanks.
Felix Rodriguez
Programmer Analyst
Phone: 860-685-3984
Email: frodriguez@mail.wesleyan.edu
Web: http://frodriguez.web.wesleyan.edu
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] Problems mounting LVM volume as root
2002-02-25 7:43 ` [linux-lvm] Problems mounting LVM volume as root Felix Rodriguez
@ 2002-02-26 11:33 ` Luca Berra
2002-02-27 7:30 ` Felix Rodriguez
0 siblings, 1 reply; 9+ messages in thread
From: Luca Berra @ 2002-02-26 11:33 UTC (permalink / raw)
To: linux-lvm
On Mon, Feb 25, 2002 at 08:39:20AM -0500, Felix Rodriguez wrote:
> fine /lib/modules/2.4.17lvm/net/unix.o module. I think it's because the
put Unix domain sockets (CONFIG_UNIX)
statically in the kernel, if you need it (ie it is not an embedded
system) you just need it so it is nonsense to build as a module
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [linux-lvm] Problems mounting LVM volume as root
2002-02-26 11:33 ` Luca Berra
@ 2002-02-27 7:30 ` Felix Rodriguez
0 siblings, 0 replies; 9+ messages in thread
From: Felix Rodriguez @ 2002-02-27 7:30 UTC (permalink / raw)
To: linux-lvm
Thank You Luca. That worked!!!!!
At 06:33 PM 2/26/2002 +0100, you wrote:
>On Mon, Feb 25, 2002 at 08:39:20AM -0500, Felix Rodriguez wrote:
> > fine /lib/modules/2.4.17lvm/net/unix.o module. I think it's because the
>put Unix domain sockets (CONFIG_UNIX)
>statically in the kernel, if you need it (ie it is not an embedded
>system) you just need it so it is nonsense to build as a module
>
>L.
>
>
>--
>Luca Berra -- bluca@comedia.it
> Communication Media & Services S.r.l.
> /"\
> \ / ASCII RIBBON CAMPAIGN
> X AGAINST HTML MAIL
> / \
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Felix Rodriguez
Programmer Analyst
Phone: 860-685-3984
Email: frodriguez@mail.wesleyan.edu
Web: http://frodriguez.web.wesleyan.edu
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-02-27 7:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-21 6:02 [linux-lvm] To compile Pierrick PONS
2002-02-21 6:45 ` Markus Dobel
2002-02-21 7:03 ` Pierrick PONS
2002-02-21 7:15 ` William Blunn
2002-02-24 16:28 ` Terje Kvernes
2002-02-25 3:13 ` William Blunn
2002-02-25 7:43 ` [linux-lvm] Problems mounting LVM volume as root Felix Rodriguez
2002-02-26 11:33 ` Luca Berra
2002-02-27 7:30 ` Felix Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).