LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 01-14-2013, 03:22 AM   #1
gaugeta
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:
Code:
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.
 
Old 01-14-2013, 12:52 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
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
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,862
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
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.)
 
  


Reply

Tags
aix, git, unix



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

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 01:16 AM.

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