LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   I broken RPM :( (https://www.linuxquestions.org/questions/aix-43/i-broken-rpm-4175452241/)

psbeekeeper 03-01-2013 08:37 AM

I broken RPM :(
 
So I was installing some RPM packages in AIX 6.1 and not sure how it broke, but now RPM does not work. I get this message when trying to use it:

{root@nim:/opt/freeware/lib} 09:17:19 > rpm
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.1).
0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4.o) could not be loaded.
0509-152 Member shr4.o is not found in archive
0509-022 Cannot load module rpm.
0509-150 Dependent module /opt/freeware/lib/libintl.a(libintl.so.1) could not be loaded.
0509-022 Cannot load module .
{root@nim:/opt/freeware/lib} 09:36:04 >




Can I just pull files from another AIX 6.1 server and put it on my broken one to resolve the issue?

John VV 03-01-2013 01:25 PM

First why were you using "rpm" and not "yum " ?
yum resolves the dependencies .

this is what RHEL 6 or RHEL 5 on the ibm server

i would contact RedHat tech support
you are paying a lot of cash for the server license

or
is some other OS like CentOS installed on the ibm server

DukeSSD 03-03-2013 05:24 PM

AIX This forum is for the discussion of IBM AIX.

And, yes.

Find a similar level system and copy them over but check for links and stuff on the working system to see what is required.

NevemTeve 03-12-2013 06:38 AM

Guess it means your /opt/freeware/lib/libiconv.a file got deleted/corrupted... And you cannot reinstall it without rpm, obviously.
Still, you can download it http://www.bullfreeware.com/download...aix6.1.ppc.rpm, extract the content (in a linux machine, with midnight commander), then manually copy the libraries to their place.

PS: Or, as you have suggested, copy from another AIX computer.


All times are GMT -5. The time now is 07:19 AM.