I just installed a new RHEL5 (x64) system and got an error when trying to run virtuoso.
[ ~/oa]$ virtuoso /net/sw/cad.rh/ic/ic61/tools/dfII/bin/32bit/virtuoso: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file o r directory
Weird that it was complaining about a 32bit version of something when this is a 64bit os.
It was fixed because I didn’t have libelf installed. I also found that I needed to install libXp. Here’s the log of what I did.
[ ~ ]$ yum install elfutils-libelf
Loaded plugins: rhnplugin, security
Setting up Install Process
Package elfutils-libelf-0.137-3.el5.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf.i386 0:0.137-3.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================================================
Package Arch Version Repository
Size
=========================================================================================================================================================================
Installing:
elfutils-libelf i386 0.137-3.el5 rhel-x86_64-client-5
58 k
Transaction Summary
=========================================================================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 58 k
Is this ok [y/N]: y
Downloading Packages:
elfutils-libelf-0.137-3.el5.i386.rpm | 58 kB 0
0:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : elfutils-libelf
1/1
Installed:
elfutils-libelf.i386 0:0.137-3.el5
Complete!
[ ~ ]$ virtuoso
/net/sw/cad.rh/ic/ic61/tools/dfII/bin/32bit/virtuoso: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
[ ~ ]$ yum install libXp
Loaded plugins: rhnplugin, security
Setting up Install Process
Package libXp-1.0.0-8.1.el5.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================================================
Package Arch Version Repository
Size
=========================================================================================================================================================================
Installing:
libXp i386 1.0.0-8.1.el5 rhel-x86_64-client-5
22 k
Transaction Summary
=========================================================================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 22 k
Is this ok [y/N]: y
Downloading Packages:
libXp-1.0.0-8.1.el5.i386.rpm | 22 kB 0
0:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libXp
1/1
Installed:
libXp.i386 0:1.0.0-8.1.el5
Complete!
[ ~ ]$ virtuoso
Things started just fine.