[TriLUG] Xen and RHEL 4.4 x86_64

Roy Vestal rvestal at trilug.org
Wed Dec 6 09:33:38 EST 2006


Take 2:

Here's the error in all it's error-ness:

usr/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libcrypto.so when searching for -lcrypto
/usr/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libcrypto.a
when searching for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.so when searching
for -lcrypto
/usr/bin/ld: skipping incompatible /usr/lib/libcrypto.a when searching
for -lcrypto
/usr/bin/ld: cannot find -lcrypto
collect2: ld returned 1 exit status
make[4]: *** [blktapctrl] Error 1
make[4]: Leaving directory `/root/xen-3.0.3_0-src/tools/blktap/drivers'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/root/xen-3.0.3_0-src/tools/blktap'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/root/xen-3.0.3_0-src/tools'
make[1]: *** [install-tools] Error 2
make[1]: Leaving directory `/root/xen-3.0.3_0-src'
make: *** [world] Error 2



On Wed, 2006-12-06 at 00:10 -0500, Andrew Ball wrote:
> I've done this many a time from a Xen source tarball.  Can you post some
> more output?
> 
> Here's what I usually do in general, followed by kludges to make it work :-P
> :
> 
> hg clone http://xenbits.xensource.com/xen-3.0-testing.hg
> cd xen-3.0-testing.hg
> make world
> make install
> cd /lib/modules/
> depmod *xen*
> mkinitrd /boot/initrd-xen *xen*
> 
> # edit grub.conf with something like
> #  Xen
> #      kernel /xen.gz
> #      module /vmlinuz-xen
> #      module /initrd-xen
> 
> Unfortunately, I've needed to do the following kludges very often
> 
> # instead of 'make world'
> make KERNELS="linux-2.6-xen0" world
> 
> # use *xen0* instead of *xen*, the dom0 kernel (vmlinuz-xen0) can be used
> for domU's
> # as well as domU's
> 
> # instead of the plain mkinitrd command above
> mkinitrd --omit-scsi-modules /boot/initrd-xen *xen0*
> 
> I'd like to know how to package this properly.  Maybe the Xensource source
> RPM would be worth dissecting ...  What do you mean by 'cp errors' when
> trying to use the XenSource source RPM?
> 
> Who knows what rpm libcrypto is from -- try openssl.
> 
> Peace.
> Andrew
> 
> On 12/4/06, Roy Vestal <rvestal at trilug.org> wrote:
> >
> > I've have been trying to get xen to build on a RHEL 4.4 x86_64 box and
> > cannot get it to build. I'm getting libcrypto errors trying to build
> > from src, and cp failures with the xen src rpm from xensource.
> >
> > Has anyone been able to get Xen to build properly or know where freakin'
> > rpms for RHEL4.4 x86_64? I've tried the FC5, and CentOS xen rpms and no
> > go.
> >
> > TIA,
> > Roy
> > --
> > TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >
> 
> 
> 
> -- 
> =======================
> Andrew D. Ball
> anball at gmail.com
> http://filebox.vt.edu/~anball1/
> "Festina lente" $\approx$ "Make haste slowly"
>     -- Caesar Augustus




More information about the TriLUG mailing list