Go Back   The UNIX and Linux Forums > Operating Systems > AIX


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-14-2013
Registered User
 
Join Date: Jan 2013
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
Issue with installing rpm in AIX 6.1

I am trying to install an rpm : libiconv-1.14-1.aix5.1.ppc.rpm which is a dependency to install GIT.

While I gave the command I got the foll message:


Code:
root:user-> $ rpm -i -v libiconv-1.14-1.aix5.1.ppc.rpm
libiconv-1.14-1
ar: Cannot open or remove a file containing a running program.
ar: 0707-113 The fopen system call failed on file /opt/freeware/lib/libiconv.a.
ar: Cannot open or remove a file containing a running program.
ar: 0707-113 The fopen system call failed on file /opt/freeware/lib/libiconv.a.

But when I gave the rpm -qa command the package is listed as libiconv-1.14-1 but does not work correctly.

How can I correctly install this rpm.
Sponsored Links
    #2  
Old 01-14-2013
Registered User
 
Join Date: Jun 2007
Location: North-West UK
Posts: 557
Thanks: 87
Thanked 88 Times in 83 Posts
IBM

Did you use fuser to try to work out what was using the file? There could be lots, just a few, a single or nothing (i.e. it was transient)


Code:
/usr/sbin/fuser /opt/freeware/lib/libiconv.a

I hope that this helps,
Robin
Liverpool/Blackburn
UK
The Following User Says Thank You to rbatte1 For This Useful Post:
gaugeta (01-15-2013)
Sponsored Links
    #3  
Old 01-15-2013
Registered User
 
Join Date: Jan 2013
Posts: 12
Thanks: 3
Thanked 0 Times in 0 Posts
@rbatte1:Thanks for the reply.
It seems the there was some issue with with LIBPATH variable which was solved after re-setting it.
Sponsored Links
Reply

Tags
aix 6.1, git, unix

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Installing rpm in centos 6 zeeshan047 Red Hat 1 06-29-2012 03:54 PM
installing rpm from ISO manoj.solaris Red Hat 1 03-27-2012 04:56 PM
Installing rpm packages messi777 Red Hat 8 06-18-2011 10:00 AM
Installing database through RPM atul.saxena Shell Programming and Scripting 0 04-06-2006 03:29 AM
Issue while installing a Application on AIX apu78 AIX 8 01-23-2006 08:21 AM



All times are GMT -4. The time now is 06:10 PM.