[GE users] Possible problem in 6.1 util/arch command

Dan Gruhn Dan.Gruhn at groupw.com
Mon May 7 19:57:36 BST 2007


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Greetings,

I am running into a problem getting 6.1 util/arch to recognize my 
FedoraCore5 system properly.  It runs fine with the 6.0u9 I have 
currently. Here is what I am seeing:

# uname -s
Linux

# uname -m
i686

# uname -r
2.6.18-1.2200.fc5smp

# strings /lib/libc.so.6 | grep "GNU C Library"
GNU C Library development release version 2.4, by Roland McGrath et al.

I think the problem is coming in because of the comma (",") after the 
2.4 version number of the GNU C libraries.  Here is a "bash -x 
util/arch" output:


+ SAFE_PATH=/bin:/usr/bin:/usr/sbin
+ 
OLD_PATH=/direct/sgeadmin/SunGridEngine/bin/lx24-x86:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/home/dgruhn/.bin
+ PATH=/bin:/usr/bin:/usr/sbin
+ ARCH=UNKNOWN
+ '[' -x /bin/uname ']'
+ UNAME=/bin/uname
++ /bin/uname -s
+ ossysname=Linux
++ /bin/uname -m
+ osmachine=i686
++ /bin/uname -r
+ osrelease=2.6.18-1.2200.fc5smp
+ case $ossysname in
+ unsupported=
+ case $osmachine in
+ lxmachine=x86
+ case $osrelease in
+ case $osrelease in
++ dirname util/arch
+ ROOT_DIR=util/..
+ '[' /direct/sgeadmin/SunGridEngine '!=' '' -a -d 
/direct/sgeadmin/SunGridEngine/bin/lx26-x86 ']'
+ '[' /direct/sgeadmin/SunGridEngine = '' -a -d util/../bin/lx26-x86 ']'
+ lxrelease=24
+ case $lxmachine in
++ strings /lib/libc.so.6
++ grep 'GNU C Library'
+ libc_string='GNU C Library development release version 2.4, by Roland 
McGrath et al.'
+ '[' 0 -ne 0 ']'
++ echo GNU C Library development release version 2.4, by Roland McGrath 
et al.
++ tr ' ' '\n'
++ grep '2\.'
++ cut -f 2 -d .
+ libc_version=4,
+ case $libc_version in
+ unsupported=UNSUPPORTED-
+ lxrelease=24-GLIBC-2.4,
+ ARCH=UNSUPPORTED-lx24-GLIBC-2.4,-x86
+ '[' '' = -m -o '' = -mt -o '' = -lib ']'
+ echo UNSUPPORTED-lx24-GLIBC-2.4,-x86
UNSUPPORTED-lx24-GLIBC-2.4,-x86

You can see that near the end "libc_version=4," is not right.  The "tr" 
and the "cut" are not filtering out that comma (",") and "4," is not 
matching with any of the libc versions.  Am I reading things properly?

Dan



More information about the gridengine-users mailing list