- Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Slow
- Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Smart
- Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Command
- Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Windows 10
- Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Data
Last updated on MARCH 06, 2019
AIX Toolbox Mailing Lists Brought to you by: arbab, cliss, mcnichol.
Applies to:
- Could not load program: Cannot run a 64-bit program until the 64-bit environment has been configured. Submitted by root on Thu, - 16:01 You should not get this under normal conditions or at least I have never met this under normal AIX administration.
- Exec: 0509-036 Cannot load program /usr/sbin/sshd because of the following errors: 0509-150 Dependent module libz.a(libz.so.1) could not be loaded. 0509-022 Cannot load module libz.a(libz.so.1). 0509-026 System error: A file or directory in the path name does not.
IBM AIX on POWER Systems (64-bit)
Symptoms
Below error messages are reported in AIX boot log
Method error (/usr/lib/methods/startacfsctl):
0514-068 Cause not known.
exec(): 0509-036 Cannot load program /usr/lib/methods/defacfsctl.bin because of the following errors:
0509-150 Dependent module libhasgen11.so could not be loaded.
0509-022 Cannot load module libhasgen11.so.
0509-026 System error: A file or directory in the path name does not exist. Download pinger desktop.
Method error (/usr/lib/methods/startadvmctl):
0514-068 Cause not known.
exec(): 0509-036 Cannot load program /usr/lib/methods/defadvmctl.bin because of the following errors:
0509-150 Dependent module libhasgen11.so could not be loaded.
0509-022 Cannot load module libhasgen11.so.
0509-026 System error: A file or directory in the path name does not exist.
Method error (/usr/lib/methods/startacfsctl):
0514-068 Cause not known.
exec(): 0509-036 Cannot load program /usr/lib/methods/defacfsctl.bin because of the following errors:
0509-150 Dependent module libhasgen11.so could not be loaded.
0509-022 Cannot load module libhasgen11.so.
0509-026 System error: A file or directory in the path name does not exist.
Method error (/usr/lib/methods/startadvmctl):
0514-068 Cause not known.
exec(): 0509-036 Cannot load program /usr/lib/methods/defadvmctl.bin because of the following errors:
0509-150 Dependent module libhasgen11.so could not be loaded.
0509-022 Cannot load module libhasgen11.so.
0509-026 System error: A file or directory in the path name does not exist.
Method error (/usr/lib/methods/startacfsctl):
0514-068 Cause not known.
exec(): 0509-036 Cannot load program /usr/lib/methods/defacfsctl.bin because of the following errors:
0509-150 Dependent module libhasgen11.so could not be loaded.
0509-022 Cannot load module libhasgen11.so
Cause
To view full details, sign in with your My Oracle Support account. |
Don't have a My Oracle Support account? Click to get started! |
Symptoms |
Cause |
Solution |
References |
Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Slow
still in the works, please be patient...
Table of contents
Compatibility issue with the original AIX Toolbox for Linux Applications
Please note:While I strive to keep my RPM packages 100%-compatible with the RPM packages of the AIX Toolbox for Linux Applications there are some things beyond my control.
Whenever the rpm.rte
AIX LPP gets updated -- for whatever reason, e.g., a technology level update -- problems may arise if you have installed newer versions of the following three packages from my website:
The main culprit is the gettext
package here, I have yet to see an error with bzip2
or zlib
. Therefore, if you get the following error message
you are using an old version of that program/package that is still linked against gettext version 0.17:
- I was so unhappy about the gettext issue described further below that I completely set up my build host from scratch again and recompiled all packages requiring gettext-0.17 to remove that dependency.
- No package released since July 2009 should need gettext 0.17 anymore!
Explanation: The reason that gettext
needs to be re-installed is that whenever the rpm.rte
fileset is updated (e.g., new AIX maintenance level etc.), this update blindly overwrites any newly installed versions of those three RPM packages in /opt/freeware/lib.
I consider this behavior completely broken Attach:sad_smiley.gif Δ but there is nothing in my power to change that.
What is especially unfortunate and what I don't understand is why rpm.rte
(especially the rpm
command) is not compiled with private shared libraries in some private directory -- which would be very easily possible -- and that would not interfere with anything newer installed in /opt/freeware/lib
..
Newer versions of rpm.rte
at least issue a statement during installation like that:
A solution to the RPM dependency hell problem
I guess everybody who has installed a couple of RPM packages using rpm
itself and not the help with a tool like yum
ran into the following issue:
- You have downloaded and want to install RPM
aaa.rpm
. aaa.rpm
has dependency onbbb.rpm
andccc.rpm
.bbb.rpm
has dependency onddd.rpm
andccc.rpm
oneee.rpm
andfff.rpm
.- etc.
So you end up circling through all your RPM files and downloading all prerequisite RPM files just to install aaa.rpm
. This can become quite annoying and time-consuming for packages with lots of dependencies. This is actually where a tool like yum
is helping you a lot because it does all the steps outlined above for you. Unfortunately, I have so far found no way of compiling and providing YUM for AIX that could be done in a compatible manner (to the IBM provided RPM) as AIX still uses the old V3.0.5 version of RPM while all RPM-based Linux distributions have switched to RPM V4.X a long time ago. Also all recent YUM versions require at least a RPM version >= 4.4.
My solution approach to this problem
- Basically what you want is a complete and self-contained list of dependencies for the RPM file
aaa.rpm
. - You download all the RPM packages on this list (make sure that you have downloaded them all into a separate directory which was empty before).
- After downloading all the RPM packages on the list you can just install the RPM file
aaa.rpm
as easy asrpm -Uvh *.rpm
- This approach mimics kind of the AIX NIM behavior of a
software bundle
(the list here) and alpp_source
(the separate directory containing all required RPM files).
Available RPM dependency lists
I have generated (with the help of some scripts) dependency lists for the latest and fully compatible binary RPMs for the following AIX versions:
FTP download | HTTP download |
---|---|
AIX5L v5.1 | AIX5L v5.1 |
AIX5L v5.2 | AIX5L v5.2 |
AIX5L v5.3 | AIX5L v5.3 |
AIX v6.1 | AIX 6.1 |
AIX v7.1 | AIX 7.1 |
You have exactly one list for each binary RPM file and the naming convention is as follows:
If the RPM file is called aaa.aix5.1.ppc.rpm
then the dependency list file is named aaa.aix5.1.ppc.deps
, i.e., the extension .rpm
is replaced with .deps
.
Downloading RPMs contained in a RPM dependency list
- How to download the files contained in a RPM dependency lists?
- The easiest way to download the files contained in a RPM dependency list would be using
wget
.
- The easiest way to download the files contained in a RPM dependency list would be using
- Where to download the files contained in a RPM dependency lists?
- The download URL would be: ftp://www.oss4aix.org/everything/RPMS/ as this directory contains all binary RPMs available on my website.
- Using the example from above you would have downloaded the file
aaa.aix5.1.ppc.rpm
and would then issue the following command:
Please note: While the command above shows what intended action are, a better alternative (no loop at all) would be to combine wget's -B and -i switches:
Combining RPM dependency lists
So what do you have to do if you want to combine multiple RPM dependency lists into one, e.g., you want a combined list for Apache and PHP. Those are the required steps (in the example I use AIX 6.1 and please note that the exact version numbers might vary):
- Download
httpd-2.4.3-1.aix5.1.ppc.deps
andmod_php_ap24-5.4.6-1.aix5.1.ppc.deps
from ftp://www.oss4aix.org/rpmdb/deplists/aix61 - Then combine those two lists as follows:
- Afterwards you have a dependency lists (
httpd+php.deps
) for Apache and PHP that you can then use to download all required RPMs as described above.
I am getting an error message that a dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded
In this case you are still using an old version of the program/package that is producing this error message. Please download and install a newer version of that package. All packages released since July 2009 are linked against the older gettext version 0.10.40 so that error message can not occur anymore.
I need the functionality of gettext >= 0.17
No, you don't.
If you really need functionality of gettext >= 0.10.40 (the version compatible with the original AIX Toolbox for Linux applications) you should install the gettext-progs package that provides the binaries of gettext which are statically linked in order to avoid this error message.
wget gives warning message about libidn and libiconv
Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Smart
wget produces a warning message similar to this one:
Starting with version 1.12 GNU wget added support for Internationalized Resource Identifiers (IRIs, RFC 3987). When support is enabled (requires GNU libidn and GNU libiconv), links with non-ASCII bytes are translated from their source encoding to UTF-8 before percent-encoding. This requires also libidn to be compiled with GNU libiconv support which was not the case before.
This is now fixed in wget versions starting with:
- wget 1.12-3
- wget 1.13.4-3
configure does not detect shared library capability on AIX V6.1 and V7.1
If configure
shows the following output lines
then you must be alerted because then in the earlier output you should have seen the following lines:
Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Command
In this case you should check the following items:
- Make sure that your autoconf, automake, libtool, m4 versions are not older than January, 2008!
- Check that the
config.guess
script knows about AIX V6.1 and V7.1!- Older versions still have explicit checks like '
aix4* | aix5*)
' in these scripts, thus neglecting AIX V6.1/7.1 while the newer versions have checks like“aix[4-9]*)“
- Older versions still have explicit checks like '
config.guess
tries to 'guess' the correct value for the OS
Wrong:rs6000-ibm-aix
Correct:powerpc-ibm-aix6.1.0.0
(orpowerpc-ibm-aix7.1.0.0
, respectively)- A '
grep AIX config.guess
' must return the following output:
Wrong:*:AIX:*:[45])
Correct:*:AIX:*:[4567])
or*:AIX:*:[4-9])
- Check if the situation after an
autoreconf
has improved?
Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Windows 10
Why are you using RPM and not the native AIX BFF package format?
Aix Could Not Load Programusr/opt/ware/bin/rpmlasopafs Data
To be completed..