On Sun, May 13, 2012 at 12:03:11AM -0700, dan farmer
wrote:> Trying to upgrade to the latest stuff?
>
> Make'ing/compiling febootstrap-3.14 on centos 6.2 (uname ?a =
"Linux
> blackhol3 2.6.32-220.7.1.el6.x86_64 #1 SMP Wed Mar 7 00:52:02 GMT 2012
> x86_64 x86_64 x86_64 GNU/Linux"), I was getting an error:
>
> > make[2]: Entering directory
`/home/zen/src/virtual/febootstrap-3.14/helper'
> > gcc -std=gnu99 -static -g -O2 -static -o init init-init.o -lz
/usr/bin/ld:
> > cannot find -lc collect2: ld returned 1 exit status make[2]: ***
[init] Error
> > 1
> >
> You say in the README:
>
> > libcom_err
> > libext2fs
> > /sbin/mke2fs
> > - These are part of e2fsprogs.
> >
> Apparently not, at least on my sys; I have that installed:
>
> > yum install 'e2fsprogs*86_64'
> > Loaded plugins: fastestmirror, presto, priorities, refresh-packagekit,
> > security
> > Loading mirror speeds from cached hostfile
> > * base: mirrors.ecvps.com
> > * extras: mirrors.cat.pdx.edu
> > * kernel-xen: us1.mirror.crc.id.au
> > * nux-libreoffice: mirror.li.nux.ro
> > * rpmforge: apt.sw.be
> > * updates: mirrors.arsc.edu
> > Setting up Install Process
> > Package e2fsprogs-libs-1.41.12-11.el6.x86_64 already installed and
latest
> > version
> > Package e2fsprogs-devel-1.41.12-11.el6.x86_64 already installed and
latest
> > version
> > Package e2fsprogs-1.41.12-11.el6.x86_64 already installed and latest
version
> > Nothing to do
> >
> Turns out that I need glibc-static (or, rather, glibc-static.x86_64
> 0:2.12-1.47.el6_2.12); found this in:
>
>
http://www.cyberciti.biz/faq/centos-rhel-redhat-usrbinld-cannot-findlc-error
> /
>
> After yum'ing that the make went cleanly forward. In any case, FYI,
in
> case you're tracking such things (ignore if not interested, abberation,
> etc.)
I'm providing febootstrap (3.12) source and binaries here:
http://people.redhat.com/~rjones/libguestfs-RHEL-6.3-preview/
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/