Error while executing command in aix box

Hi Folks

I get the below error in my aix box. Im not sure if this is an AIX issue or a TWS issue. Please advice me

cbspsdb01:/opt/TWS/bin # ./conman status

exec(): 0509-036 Cannot load program ./conman because of the following errors:
        0509-150   Dependent module /usr/lib/libicuuc.a(libicuuc40.0.so) could not be loaded.
        0509-152   Member libicuuc40.0.so is not found in archive

:wall:

Looks like a package with that library is missing or it couldn't be found via PATH or any other variable that needs to be set for this tool. From an AIX 7.1 box with just the OS and updates installed:

# lslpp -w /usr/lib/libicuuc.a
  File                                        Fileset               Type
  ----------------------------------------------------------------------------
  /usr/lib/libicuuc.a                         ICU4C.rte             File
1 Like

Hi Zaxxon

Still the issue persists. Can you please give your suggestions for a permanent resolution

cbspsdb01:/opt/TWS/bin #./conman status

exec(): 0509-036 Cannot load program ./conman because of the following errors:
        0509-150   Dependent module /usr/lib/libicuuc.a(libicuuc40.0.so) could not be loaded.
        0509-152   Member libicuuc40.0.so is not found in archive

The below are the outputs from my server :

cbspsdb01:/opt/TWS/bin #lslpp -w /usr/lib/libicuuc.a

   File                                        Fileset               Type
   ----------------------------------------------------------------------------
   /usr/lib/libicuuc.a                         ICU4C.rte             File
cbspsdb01:/opt/TWS/bin # lslpp -l | grep -i ICU4C.rte

   ICU4C.rte                  6.1.6.0  COMMITTED  International Components for

It is installed, but you did not wrote if you checked if your PATH contains /usr/lib as suggested. After that don't forget to export it again or do something like . ~/.profile in case your PATH is defined there.
If adding this to your PATH will still not help, you'll could try to export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib and/or export LIBPATH=$LIBPATH:/usr/lib and see if that helps, before issuing the command.

If any of this works, it is up to you to make it a permanent solution :wink:

Hi

Still error comes :


root@cbspsdb01 [/root] #~/.profile
[YOU HAVE NEW MAIL]

root@cbspsdb01 [/root] #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib

root@cbspsdb01 [/root] #export LIBPATH=$LIBPATH:/usr/lib

root@cbspsdb01 [/root] #cd /opt/TWS/bin

root@cbspsdb01 [/opt/TWS/bin] #./conman status
exec(): 0509-036 Cannot load program ./conman because of the following errors:
        0509-150   Dependent module /usr/lib/libicuuc.a(libicuuc40.0.so) could not be loaded.
        0509-152   Member libicuuc40.0.so is not found in archive

root@cbspsdb01 [/opt/TWS/bin] #print $LD_LIBRARY_PATH
/usr/java/jre/lib/sparc:/usr/java/jre/lib/sparc/server:/usr/java/jre/lib/sparc/native_threads::/usr/lib:/usr/lib

root@cbspsdb01 [/opt/TWS/bin] #print $LIBPATH
/usr/mqm/lib64:/usr/mqm/lib64:/opt/teradata/client/13.10/tbuild/lib:/usr/lib:/usr/lib


I have used code tags now

which version of tws and which patch level are you using - and - does it work if you are the tws user himself ?

In previous versions of TWS a common workaround was to set all shared libraries to 777 in /usr/lib and in the tws library directory.

I think it would be a good idea as well to add the tivoli libraries to your LIBPATH variable.

On an old box of mine these are under /usr/Tivoli/TWS/ICU/3.4.x/lib but this may vary from version to version.

Regards
zxmaus

1 Like

It has been resolved after adding the below lines in the .profile of the tws user

LIBPATH=/usr/Tivoli/TWS/TKG/3.1.5/lib
export LIBPATH

Thanks for all your help