Environment
SuSe Linux Enterprise Server 10
SuSe Linux Enterprise Desktop 10
Novell Identity Manager Identity Manager 3.0.1
Situation
Errors occur when installing Identity Manager3.0.1 on SLES
10
Error: "awk: error while loading shared libraries: libdl.so.2:
cannot open shared object file: No such file or directory"
Error: "grep: error while loading shared libraries: libc.so.6:
cannot open shared object file: No such file or directory"
Resolution
Novell provides a script to work around this problem. The
script is installed at the same level as the IdmUserApp.bin file
and is named SLES10-install.sh. The script takes the name of the
installer binary file as an argument:
sh SLES10-install.sh installer binary
For example if you unpacked the ISO distribution to
/tmp/IDM301, run the following from the command line:
$ cd /tmp/IDM301
$ sh SLES10-install.sh IdmUserApp.bin
The script comments out the setting of an environment variable
in the IdmUserApp.bin file. This environment variable can cause the
previously mentioned error on SLES 10. After making the
modification, the script then launches the installer
normally.
Additional Information
If for some reason you cannot find the file
SLES10-install.sh, you may cut/paste the following and create
your own.
------------------------- cut here
-----------------------------------------------------------------------------
#!/bin/sh
#
# ========================================================================
#
# Copyright (c) 2005 Unpublished Work of Novell, Inc. All Rights Reserved.
#
# THIS WORK IS AN UNPUBLISHED WORK AND CONTAINS CONFIDENTIAL,
# PROPRIETARY AND TRADE SECRET INFORMATION OF NOVELL, INC. ACCESS TO
# THIS WORK IS RESTRICTED TO (I) NOVELL, INC. EMPLOYEES WHO HAVE A NEED
# TO KNOW HOW TO PERFORM TASKS WITHIN THE SCOPE OF THEIR ASSIGNMENTS AND
# (II) ENTITIES OTHER THAN NOVELL, INC. WHO HAVE ENTERED INTO
# APPROPRIATE LICENSE AGREEMENTS. NO PART OF THIS WORK MAY BE USED,
# PRACTICED, PERFORMED, COPIED, DISTRIBUTED, REVISED, MODIFIED,
# TRANSLATED, ABRIDGED, CONDENSED, EXPANDED, COLLECTED, COMPILED,
# LINKED, RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN
# CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT
# AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND CIVIL
# LIABILITY.
#
# ========================================================================
#
# ========================================================================
#
# Copyright (c) 2005 Unpublished Work of Novell, Inc. All Rights Reserved.
#
# THIS WORK IS AN UNPUBLISHED WORK AND CONTAINS CONFIDENTIAL,
# PROPRIETARY AND TRADE SECRET INFORMATION OF NOVELL, INC. ACCESS TO
# THIS WORK IS RESTRICTED TO (I) NOVELL, INC. EMPLOYEES WHO HAVE A NEED
# TO KNOW HOW TO PERFORM TASKS WITHIN THE SCOPE OF THEIR ASSIGNMENTS AND
# (II) ENTITIES OTHER THAN NOVELL, INC. WHO HAVE ENTERED INTO
# APPROPRIATE LICENSE AGREEMENTS. NO PART OF THIS WORK MAY BE USED,
# PRACTICED, PERFORMED, COPIED, DISTRIBUTED, REVISED, MODIFIED,
# TRANSLATED, ABRIDGED, CONDENSED, EXPANDED, COLLECTED, COMPILED,
# LINKED, RECAST, TRANSFORMED OR ADAPTED WITHOUT THE PRIOR WRITTEN
# CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION OF THIS WORK WITHOUT
# AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO CRIMINAL AND CIVIL
# LIABILITY.
#
# ========================================================================
#
# For SLES 10 the InstallAnywhere binary must be modified to
not set the
# LD_ASSUME_KERNEL environment variable. This script checks the distribution
# and if SLES 10 is found, comments out the variable. Note the"#xport" is
# not a typo. The 'bin' file requires the character count to remain the same
# after our modification; otherwise the file will be corrupted.
# LD_ASSUME_KERNEL environment variable. This script checks the distribution
# and if SLES 10 is found, comments out the variable. Note the"#xport" is
# not a typo. The 'bin' file requires the character count to remain the same
# after our modification; otherwise the file will be corrupted.
if [ ! -n "$1"]; then
echo
echo "*** Please provide the installer name (e.g. IdmUserApp.bin)"
echo
echo "Usage: $0"
echo
exit 1
fi
echo
echo "*** Please provide the installer name (e.g. IdmUserApp.bin)"
echo
echo "Usage: $0
echo
exit 1
fi
if [ `cat /etc/issue 2>/dev/null | grep "SUSE\ Linux\
Enterprise\ Server\ 10" | wc -l` = "1"];
then
if [ `uname -s` = "Linux"];
then
if [ `uname -m` !="ia64"];
then
`sed -i[.bak] -e 's/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/' $1`
fi
fi
fi
then
if [ `uname -s` = "Linux"];
then
if [ `uname -m` !="ia64"];
then
`sed -i[.bak] -e 's/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/' $1`
fi
fi
fi
sh ./$1