Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to install gettext but i cannot because my AIX says that gettext is dependent on glib and when i try to install glib it says that I cannot because glib is in turn dependent on gettext.

Please let me know how I could get past this situation?

root [rover]% rpm -i gettext-0.17-1.aix5.1.ppc.rpm

error: failed dependencies: libglib-2.0.a(libglib-2.0.so.0) is needed by gettext-0.17-1

libxlsmp.a(smprt.o) is needed by gettext-0.17-1

root [rover]% rpm -i glib2-2.22.5-2.aix5.1.ppc.rpm

error: failed dependencies: gettext is needed by glib2-2.22.5-2

Regards,

Anurag

share|improve this question

2 Answers 2

up vote 1 down vote accepted

The solution is to install them both together (along with everything else it's going to insist is required:

rpm -i gettext-0.17-1.aix5.1.ppc.rpm glib2-2.22.5-2.aix5.1.ppc.rpm
share|improve this answer
    
Thanks. This helped my case. –  user60899 May 19 '13 at 6:44

Your problem is libxlsmp.a(smprt.o) is needed by gettext-0.17-1, as it does not come from an open source RPM package, but instead from IBM.

The Page www.perlz.org/aix says it's okay to install with the --nodeps RPM flag. (Then supply all needed packages at once, or start with gettext (--nodeps) and the rest should be easy).

Note: I'm not saying that using --nodeps is a good idea. Only that it will get you past the RPM dependency issue you're having.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.