gcc vme7700_blocktransfer_dma.c -lvme -o outputfile
Archive for January, 2010
I had some problems installing rhel5-client on a few of our machines. First off, it wouldn’t automatically register with our RHEL Satellite Server. I was given a file bootstrap.sh from the guy running it which solved that problem. Next, it wouldn’t upgrade because some packages kept having depsolving errors. This was solved by removing the following packages:
gcc-gfortran-4.1.2-46.el5.x86_64
gcc-c++-4.1.2-46.el5.x86_64
libstdc++-devel-4.1.2-46.el5.x86_64
After that, things could be upgraded ok.
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.