Register a domain and help support LQ
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 01-14-2013, 03:22 AM   #1
LQ Newbie
Registered: Jan 2013
Posts: 7

Rep: Reputation: Disabled
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:
rpm -i -v libiconv-1.14-1.aix5.1.ppc.rpm
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.
Old 01-14-2013, 12:52 PM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,579

Rep: Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693Reputation: 693
AIX doesn't like to overwrite a library that is in use. Run slibclean to remove unused shared libraries from memory, then reinstall. You may need to use --force if it thinks the latest version is already installed.
1 members found this post helpful.
Old 01-28-2013, 09:39 AM   #3
Senior Member
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 2,943

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
1. Try to use rpm -Uv instead of rpm -iv
2. Try to rename /opt/freeware/lib/libiconv.a to something else before running rpm. (Rpm might stop working though -- then undo it.)


aix, git, unix

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install rpm above 6.1 in AIX nagendrar AIX 2 03-10-2012 04:41 AM
Dependency Issue while installing rpm rajaniyer123 Linux - General 3 01-06-2012 03:28 AM
Can't install rpm in AIX-5 shipon_97 AIX 2 05-24-2007 06:12 PM

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration