Hi
My problem is when I try to include new LVM2.2.02.56 in
systemimager-4.0.2 production environment and compile (make ) under
Fedora12
I got an error when mklibs try to link sbin/* directory where lvm
binaries are located.
No probleme with LVM22.02.53 and under
probleme with LVM22.02.56 and > This LVM is requested for FEDORA12
Here under you will find most of informations
Could you help me please ?
Thanks in advance
===============================================================================
A) THE ERROR IS:
===============================================================================
Object: sbin/parted
Object: sbin/sfdisk
Object: sbin/blockdev
Object: sbin/mdadm
Object: sbin/mkreiserfs
Object: sbin/reiserfstune
956 symbols, 781 unresolved
Traceback (most recent call last):
File
"/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/initrd_source/mklibs",
line 478, in <module>
raise "No library provides non-weak " + symbol
TypeError: exceptions must be classes or instances, not str
make: ***
[/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/tmp/boel_binaries.tar.gz]
Error 1
--------------------------------------------------------------------------------------------------------------------------------------------
B) LVM USED AND make file rule =====>lvm.rul for LVM2.2.02.57.tgz
---------------------------------------------------------------------------------------------------------------------------------------------
LVM_VERSION := 2.2.02.57
LVM_DIR := LVM$(LVM_VERSION)
LVM_TARBALL := LVM$(LVM_VERSION).tgz
#LVM_URL := ftp://sources.redhat.com/pub/lvm2/old/$(LVM_TARBALL)
LVM_URL := http://download.systemimager.org/pub/lvm/$(LVM_TARBALL)
LVM_BINARY := $(SRC_DIR)/$(LVM_DIR)/tools/lvm
LVM_PATCHES := $(shell ls $(PATCH_DIR)/lvm.*.patch 2>/dev/null | sort)
PHONY += lvm
lvm: $(LVM_BINARY) $(DEVMAPPER_BINARY)
$(LVM_BINARY): $(SRC_DIR)/$(LVM_TARBALL) $(DEVMAPPER_BINARY)
rm -rf $(SRC_DIR)/$(LVM_DIR)
cd $(SRC_DIR) && tar -xvzf $(LVM_TARBALL)
cd $(SRC_DIR)/$(LVM_DIR) && \
./configure --prefix=/usr --disable-nls
--with-optimisation=-Os \
# --with-dmdir=$(SRC_DIR)/$(DEVMAPPER_DIR)
----------------------------------------------------------------------------------------------------------------------------------------------------
C) COMMAND mklibs -L FAIL WHEN IT TRY TO LINK sbin/* WHERE ALL LVM
COMPILED FILES ARE LOCATED
---------------------------------------------------------------------------------------------------------------------------------------------------
# But copy over ld.so* files first. for some reason these don't always
# get copied by mklibs if both /lib/ld* and /lib64/ld* exist) -BEF-
#
output=`find /lib/ -name ld*`
test ! -n "" || cp -a /lib/ld*
/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/tmp/boel_binaries/lib
test ! -d /lib64 || cp -a /lib64/ld*
/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/tmp/boel_binaries/lib64
cd
/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/tmp/boel_binaries
\
&& /usr/bin/python2
/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/initrd_source/mklibs
-L
/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/src/parted-1.8.8/libparted/.libs:/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/src/discover1-1.7.18/lib/.libs:/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/src//lib/ioctl:/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/src/e2fsprogs-1.41.3/lib:/lib64:/usr/lib64:/usr/kerberos/lib64:/lib:/usr/lib:/usr/kerberos/lib:/usr/local/lib:/opt/gnome/lib:/lib/tls:`find
/lib/tls /usr/lib/tls /lib64/tls /usr/lib64/tls -type d 2>/dev/null | tr
'\n' :` -v -d lib64 bin/* sbin/* usr/bin/* usr/sbin/*
/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/initrd_source/build_dir/*bin/*
/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/initrd_source/build_dir/usr/*bin/*
I: Using ld-linux-x86-64.so.2 as dynamic linker.
===========================================================================
D) MKLIBS script USED
===========================================================================
MKLIBS FILE USED FROM 4.1.7
[ice...@atlas systemimager-4.0.2]$ ls -l
/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/initrd_source/mklibs
-rwxr-xr-x 1 icetat ia64 21358 2010-01-13 12:34
/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/initrd_source/mklibs
==========================================================================
E) LDD COMMAND TO SEE LIB ASSOCIATED
==========================================================================
PROBLEM DUE TO LVM2 under sbin/*
/homes/tmps/icetat/usr/src/redhat/BUILD/systemimager-4.0.2/tmp/boel_binaries/sbin
-rwxr-xr-x 1 icetat ia64 699312 2010-01-15 10:33 lvm
lrwxrwxrwx 1 icetat ia64 3 2010-01-15 10:33 vgcfgbackup -> lvm
lrwxrwxrwx 1 icetat ia64 3 2010-01-15 10:33 vgcfgrestore -> lvm
lrwxrwxrwx 1 icetat ia64 3 2010-01-15 10:33 vgchange -> lvm
lrwxrwxrwx 1 icetat ia64 3 2010-01-15 10:33 vgck -> lvm
lrwxrwxrwx 1 icetat ia64 3 2010-01-15 10:33 vgconvert -> lvm
lrwxrwxrwx 1 icetat ia64 3 2010-01-15 10:33 vgcreate -> lvm
lrwxrwxrwx 1 icetat ia64 3 2010-01-15 10:33 vgdisplay -> lvm
[ice...@atlas sbin]$ ldd lvm
libdevmapper.so.1.02 => /lib64/libdevmapper.so.1.02
(0x0000003fdce00000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003fd2a00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003fd2600000)
libreadline.so.6 => /lib64/libreadline.so.6 (0x0000003fd5200000)
librt.so.1 => /lib64/librt.so.1 (0x0000003fd3600000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003fd4200000)
libsepol.so.1 => /lib64/libsepol.so.1 (0x0000003fdca00000)
libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003fe1600000)
/lib64/ld-linux-x86-64.so.2 (0x0000003fd2200000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003fd2e00000)
--
__________________________________________________________________
Bull, Architect of an Open World TM
Open Software R&D
Email :[email protected]
Bull SA Bullcom :229 76 29
1, rue de Provence Phone :+33 04 76 29 76 29
B.P. 208 http://www.bull.com
38432 Echirolles-CEDEX Office :FREC B1-361
__________________________________________________________________
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users