tagarsi, arun wrote:
Thanks Lai ,
I made some more progress I think , I am not sure if I can explain this adequately but here is what I am seeing maybe someone can point out why this may be so . In the failure below it complains that it cannot find a valid libext2fs.so library but checking the directories /usr/lib I find [EMAIL PROTECTED] ~]# ls -al /usr/lib/libext2fs*
-r--r--r--  1 root root 1015288 Nov 24  2005 /usr/lib/libext2fs.a
lrwxrwxrwx 1 root root 19 Nov 22 10:18 /usr/lib/libext2fs.so -> /lib/libext2fs.so.2 /lib I find [EMAIL PROTECTED] ~]# ls -al /lib/libext2fs* lrwxrwxrwx 1 root root 16 Nov 22 10:04 /lib/libext2fs.so.2 -> libext2fs.so.2.4
-rwxr-xr-x  1 root root 120980 Nov 24  2005 /lib/libext2fs.so.2.4
Now of course I presume this a 32Bit version of the library as I find in /lib64 [EMAIL PROTECTED] ~]# ls -al /lib64/libext2fs* lrwxrwxrwx 1 root root 16 Nov 22 10:04 /lib64/libext2fs.so.2 -> libext2fs.so.2.4
-rwxr-xr-x  1 root root 155856 Nov 24  2005 /lib64/libext2fs.so.2.4
The only way I got the make to continue was to create a link in the /usr/lib64 directory lrwxrwxrwx 1 root root 21 Nov 29 17:14 libext2fs.so -> /lib64/libext2fs.so.2
you can make sure whether /lib64 is in the search directories of gcc,
to verify it, pass option -print-search-dirs to gcc
This proves to me that somehow the environment is not as it should be , there followed several other instances which I also had to add a link in the /usr/lib64 directory to point to the library in /lib64 but at the end I have another failure that points to a invalid archive file which neither the one that exists on the system or one that came with the e2fsprogs from lustre works. The more recent failure :-) is now make[4]: Entering directory `/scr2/src/lustre-1.4.7.3/lustre/utils' gcc -m64 -g -Wall -fPIC -g -O2 -L../../lnet/utils -o llverdev llverdev.o -lext2fs -lblkid /usr/bin/ld: skipping incompatible /usr/lib/gcc/ppc64-redhat-linux/3.4.6/../../../libblkid.a when searching for -lblkid /usr/bin/ld: skipping incompatible /usr/lib/libblkid.a when searching for -lblkid
/usr/bin/ld: cannot find -lblkid
collect2: ld returned 1 exit status
make[4]: *** [llverdev] Error 1
make[4]: Leaving directory `/scr2/src/lustre-1.4.7.3/lustre/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/scr2/src/lustre-1.4.7.3/lustre/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/scr2/src/lustre-1.4.7.3/lustre'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/scr2/src/lustre-1.4.7.3'
make: *** [all] Error 2
[EMAIL PROTECTED] lustre]#
I can find only two references to the archive and neither of these will work :-(

[EMAIL PROTECTED] lustre]# locate libblkid.a
/usr/lib/libblkid.a
/scr2/src/lustre-1.4.7.3/e2fsprogs-1.39.cfs1/lib/libblkid.a
/scr2/src/lustre-1.4.7.3/e2fsprogs-1.39.cfs1/lib/blkid/libblkid.a
use 'objdump -f' to see the arch of lib, and also make sure it's in
the search dirs

Cheers,
- wufei
Thanks Arun

_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to