AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What rpm packages shall be installed prior to installation of vim-X11 on AIX 7.1 machine?
I have already installed three vim packages, but when I try to install vim-X11 I always get the message that some package is lacked.
It turned out that I installed packages with versions not enough upgraded: perl=5.8.2 and not 5.8.8, vim-common=6.3.1 etc.
I think after upgrading everything will be OK
Thanks
After installation of vim packages on AIX 7.1 machine I tried to run gvim and get error:
exec() 0509-036 Cannot load program gvim because of the following error:
0509-022 Cannot load module /lib/libgdk-x11-2.0.a(libgdk-x11-2.0.so.0).
0509-150 Dependent module /lib/libXrender.a(libXrender.so.1) could not be loaded
0509-152 Member libXrender.so.1 is not found in archive
It seems to me that when I installed packages vim is dependent on and somtimes used --nodeps flag some soft had not been installed properly.
Could someone write me what rpm packages and in what order shall be installed in order to install vim-X11 from the scratch?
OK, that looks similar to my setup. If you run "ar -t /lib/libXrender.a" to look at the contents of the library, you will see that it contains libXrender.so.0, while in your output above you are looking for libXrender.so.1.
I suspect that this might be because of the version of libgdk you are using, namely v2 from the gtk2 RPM. As far as I can tell, you need v1, which is in the gtk+ rpm. Is gtk+ installed on your machine?
Yes, it does.
I think I need to reinstall all vim-X11 dependent or related rpm because it seems to me that since I made installation of rpms in stages sometimes I installed rpms that demand more latest rpm that were installed and I did not put attention on it - I used --nodeps flag.
Now this is the question what rpms and in what order shall be installed in order to success in vim-X11 installation assuming that no Linux tools is installed already.
I'm not sure which packages are required. The "-R" flag on the rpm command should tell you this, but on my version the RPM is not configured with specific package dependencies, so it just lists the auto-detected library dependencies, as follows:
Hi
Thanks a lot.
At the end I just extracted libXrender.so.0 from /lib/libXrender.a , renamed it libXrender.so.1 and added the module to /lib/libXrender.a and it works.
I'm glad you got it working. I'm not sure your solution is ideal, though, as:
1) This may break some other applications, possibly in the future when you install something else, and
2) Any update to the fileset containing /lib/libXrender.a will undo your hack
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.