VERIFIED SOLUTION i

Can't execute fileinfo on Linux

Issue

This message it's for ask you about how I can execute the FILEINFO tool under Linux
 
When I execute the command, this show me the next ERROR MESSAGE:
 
"Fileinfo: error while loading shared libraries: libicui18n.so.40: cannot open shared object file: No such file or directory"
 
I use the "root account" for execute the command, from the tools folder and/or the pagedata folder.
 
I attatch you some images.
 
The e2Vault version is: "Vault-6.1M0p0023-Linux-i686"
 
LINUX Information: 
 
$ uname -a 
Linux tmp047 2.6.18-308.16.1.e15 #1 SMP Tu Sep 18 07:20:07 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux 
 
$ cat /ect/*-release 
Red Hat Enterprise Linux Server release 5.8 
 

Cause

Customer is getting the following error message trying to execute fileinfo on Linux
 
“Fileinfo: error while loading shared libraries: libicui18n.so.40: cannot open shared object file: No such file or directory” 
 
They have tried using root to execute the command, from the tools folder and/or the pagedata folder. 
 
Some screen shots are attached to the JIRA.
 
The e2Vault version is: “Vault-6.1M0p0023-Linux-i686” 
 
LINUX Information: 
 
$ uname –a 
Linux tmp047 2.6.18-308.16.1.e15 #1 SMP Tu Sep 18 07:20:07 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux 
 
$ cat /ect/*-release 
Red Hat Enterprise Linux Server release 5.8 
 

Resolution

UPDATED: October 18, 2017
It looks like the library path has not been set for the terminal session being used. before executing fileinfo set the LD_LIBRARY_PATH. If the installation point has not been customized, then it would be something like
 
"LD_LIBRARY_PATH="/opt/PBBI CCM/Vault/lib";export LD_LIBRARY_PATH" before executing fileinfo. Note the imbedded blank in "PBBI CCM". 
 
You probably need to set the LD_LIBRARY_PATH to include the Vault lib directory which contains shared libraries used by Vault programs.
 
If you view /etc/vault (the startup script) there will be 2 separated lines like:
 
VAULT_ROOT="/opt/PBBI CCM/Vault"
 
LD_LIBRARY_PATH=$VAULT_ROOT/lib:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
 
The VAULT_ROOT= line may very well have been customized for your installation.
 
You want to execute those 2 lines in your current shell so LD_LIBRARY_PATH is updated.
 
------------------
Note: For AIX you also want to add the following line from the vault script:
 
LIBPATH=$VAULT_ROOT/lib:$LIBPATH; export LIBPATH
 
Environment Details
Linux, Vault 6.0, 6.1