添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
闷骚的山楂  ·  Global Reach | Textron·  1 月前    · 
踢足球的帽子  ·  Web Page Reader - ...·  5 月前    · 
打盹的板栗  ·  java.lang.AbstractMeth ...·  6 月前    · 

Fuel your AI at the ultimate IBM learning event

IBM TechXchange Conference October 21-24, 2024 Mandalay Bay - Las Vegas

# lslpp -f | grep libX11.a
/usr/lpp/X11/lib/R7/libX11.a
/usr/lib/libX11.a -> /usr/lpp/X11/lib/R7/libX11.a
/usr/lpp/X11/lib/R6/libX11.a

Originally posted by: bp5591


Hello, I am trying to install the latest gtk2 and am getting the same error not finding libX11. ------- Error: Package: libXrender-0.9.9-1.ppc (local_AIX_Toolbox)
Requires: libX11.a(libX11.so.6)
Error: Package: libXrender-0.9.9-1.ppc (local_AIX_Toolbox)
Requires: libX11 >= 1.5.99.902 ------- when I check my LPAR: [root@vctst07 gtk2_bundle_v2.24.30]# whereis libX11
libX11: /usr/lib/libX11.a [root@vctst07 gtk2_bundle_v2.24.30]# lslpp -f | grep libX11
/usr/lpp/X11/lib/R7/libX11.a
/usr/lib/libX11.a -> /usr/lpp/X11/lib/R7/libX11.a
/usr/lpp/X11/lib/R6/libX11.a
/usr/lib/nls/msg/en_US/libX11.cat ------- I have my LIBPATH set: [root@vctst07 gtk2_bundle_v2.24.30]# echo $LIBPATH
/usr/lib ------ Thanks! All of the packages I am trying to install were downloaded from the AIX Toolbox this morning. I have tried another install using yum and the "localinstall" option, followed by all of the package names. I am still getting the error for libX11 dependency. Error: Package: libXrender-0.9.9-1.ppc (/libXrender-0.9.9-1.aix6.1.ppc)
Requires: libX11 >= 1.5.99.902 Error: Package: libXrender-0.9.9-1.ppc (/libXrender-0.9.9-1.aix6.1.ppc)
Requires: libX11.a(libX11.so.6) [root@vctst07 gtk2_bundle_v2.24.30]# ls *.rpm
atk-2.20.0-3.aix6.1.ppc.rpm                        libXau-1.0.8-1.aix6.1.ppc.rpm
cairo-1.14.6-2waixX11.aix6.1.ppc.rpm               libXdmcp-1.1.2-1.aix6.1.ppc.rpm
fontconfig-2.11.95-3.aix6.1.ppc.rpm                libXft-2.3.2-4waixX11.aix6.1.ppc.rpm
freetype2-2.8-1.aix6.1.ppc.rpm                     libXrender-0.9.8-2waixX11.aix6.1.ppc.rpm
gdk-pixbuf-2.35.1-2waixX11.aix6.1.ppc.rpm          libXrender-0.9.9-1.aix6.1.ppc.rpm
gettext-0.19.8.1-1.aix6.1.ppc.rpm                  libffi-3.2.1-2.aix6.1.ppc.rpm
glib2-2.56.1-2.aix6.1.ppc.rpm                      libgcc-6.3.0-2.aix7.1.ppc.rpm
gtk2-2.24.30-1waixX11.aix6.1.ppc.rpm               libpng-1.6.27-2.aix6.1.ppc.rpm
gtk2-2.24.30-1wofX11.aix6.1.ppc.rpm                libpthread-stubs-0.3-2.aix6.1.ppc.rpm
gtk2-2.24.30-2waixX11.aix6.1.ppc.rpm               libxcb-1.12-2waixX11.aix6.1.ppc.rpm
gtk2-immodule-xim-2.24.30-1waixX11.aix6.1.ppc.rpm  lzo-2.10-1.aix6.1.ppc.rpm
gtk2-immodule-xim-2.24.30-2waixX11.aix6.1.ppc.rpm  ncurses-6.1-1.aix6.1.ppc.rpm
gtk2-immodules-2.24.30-1waixX11.aix6.1.ppc.rpm     pango-1.40.1-2waixX11.aix6.1.ppc.rpm
gtk2-immodules-2.24.30-1wofX11.aix6.1.ppc.rpm      pixman-0.34.0-1.aix6.1.ppc.rpm
gtk2-immodules-2.24.30-2waixX11.aix6.1.ppc.rpm     renderproto-0.11.1-1.aix6.1.ppc.rpm
harfbuzz-1.2.7-2.aix6.1.ppc.rpm                    shared-mime-info-1.6-2.aix6.1.ppc.rpm
intltool-0.51.0-2.aix6.1.noarch.rpm                xcb-proto-1.12-1.aix6.1.ppc.rpm

Originally posted by: bp5591


okay, thank you. I also ran into issues installing/updating libgcc to libgcc-6.3.0-2.aix7.1.ppc.rpm  [root@vctst07 gtk2_bundle_v2.24.30]# rpm -Uvh ./libgcc-6.3.0-2.aix7.1.ppc.rpm
error: Failed dependencies:
libgcc = 6.3.0-1 is needed by (installed) libstdc++-6.3.0-1.ppc
libgcc = 6.3.0-1 is needed by (installed) gcc-6.3.0-1.ppc I ended up not trying to install libXrender (per your recommendation) or libgcc (because of  above) and all of the other packages before gtk2 and they installed fine. -------- When I installed gtk2, this was output at the end: Non-fatal POSTIN scriptlet failure in rpm package gtk2-2.24.30-2waixX11.ppc
Could not load program /opt/freeware/bin/gtk-query-immodules-2.0:
Could not load module /usr/lib/libgdk-x11-2.0.a(libgdk-x11-2.0.so.0).
Dependent module /usr/lib/libXrender.a(libXrender.so.1) could not be loaded.
Member libXrender.so.1 is not found in archive
Could not load module gtk-query-immodules-2.0.
Dependent module /usr/lib/libgdk-x11-2.0.a(libgdk-x11-2.0.so.0) could not be loaded.
Could not load module .
warning: %post(gtk2-2.24.30-2waixX11.ppc) scriptlet failed, exit status 255 Installed:
gtk2.ppc 0:2.24.30-2waixX11 Complete!

Originally posted by: sangameshm


You will need to reset you LIBPATH or change it to something like LIBPATH=/opt/freeware/lib:/usr/lib:/lib To verify if gtk2 installation is fine is to run the gtk-demo command. For running gtk2 based applications like eclipse above mentioned LIBPATH should be used. [bpower@vctst07 /] # gtk-demo
Could not load program gtk-demo:
Could not load module /usr/lib/libgdk-x11-2.0.a(libgdk-x11-2.0.so.0).
Dependent module /usr/lib/libXrender.a(libXrender.so.1) could not be loaded.
Member libXrender.so.1 is not found in archive
Could not load module gtk-demo.
Dependent module /usr/lib/libgdk-x11-2.0.a(libgdk-x11-2.0.so.0) could not be loaded.
Could not load module . -------- when I look for libXrender.a:
[bpower@vctst07 /] # whereis libXrender.a
libXrender: /usr/lib/libXrender.a


[bpower@vctst07 /] # ls -al /usr/lib/libXrender.a
lrwxrwxrwx    1 bin      bin              32 Aug 14 12:47 /usr/lib/libXrender.a -> /usr/lpp/X11/lib/R7/libXrender.a I am also trying the install to another host and am getting a file conflict error with libXrender: [root@p8devapp01 ppc]# rpm -ivh ./libXrender-0.9.8-1waixX11.aix6.1.ppc.rpm
Preparing...                          ################################# [100%]
file /opt/freeware/lib/libXrender.a from install of libXrender-0.9.8-1waixX11.ppc conflicts with file from package xrender-0.9.1-3.ppc using "-Uvh" gives the same result. [root@p8devapp01 gtk2_bundle_v2.24.30]# rpm -Uvh ./libXrender-0.9.8-2waixX11.aix6.1.ppc.rpm
Preparing...                          ################################# [100%]
Updating / installing...
1:libXrender-0.9.8-2waixX11        ################################# [ 50%]
Cleaning up / removing...
2:xrender-0.9.1-3                  ################################# [100%] **************** We also seem to have an issue with libpng in that there is a newer version of that library installed than what a couple of packages are expecting: Error: Package: gdk-pixbuf-2.35.1-2waixX11.ppc (local_AIX_Toolbox)
Requires: libpng16.a(libpng16.so.16)
Available: libpng-1.6.21-1.ppc (local_AIX_Toolbox)
libpng16.a(libpng16.so.16)
Available: libpng-1.6.27-2.ppc (local_AIX_Toolbox)
libpng16.a(libpng16.so.16)
Installed: 2:libpng-1.2.32-2.ppc (installed) Error: Package: cairo-1.14.6-2waixX11.ppc (local_AIX_Toolbox)
Requires: libpng16.a(libpng16.so.16)
Available: libpng-1.6.21-1.ppc (local_AIX_Toolbox)
libpng16.a(libpng16.so.16)
Available: libpng-1.6.27-2.ppc (local_AIX_Toolbox)
libpng16.a(libpng16.so.16)
Installed: 2:libpng-1.2.32-2.ppc (installed) First, Alex, I am not trying to install rational clearcase and I apologize if anything I wrote seemed to indicate that. Second, Ayappan, using the "--oldpackage" option did not work for me. I ended up finding the following syntax which did: rpm -U --force ./libpng-1.6.27-2.aix6.1.ppc.rpm I also had to satisfy these additional dependencies downgrade install of gcc-6.3.0-1 from /mnt/aix/71/linux_toolbox_20180502/RPMS/ppc-7.1 normal install of libstdc++-6.3.0-1.aix7.1.ppc.rpm from the ppc-7.1 RPMS folder from the AIX Toolbox After installing those three packages, I was able to install gtk2-2.24.30-2waixX11.ppc and dependencies via yum with the "localinstall" option, using my local repository,  which contained the gtk2 packages I downloaded last week from the AIX Toolbox. Thank you again for your help! The end goal is to install Python on all of our AIX Servers. We thought that installing yum not only would give us python but also a way to install / update / upgrade OpenSource apps without needing to worry about someone installing from another source then the AIX Toolbox.     yum update
.
. .
. . .

Error: Package: tk-8.6.8-2.ppc (AIX_Toolbox)
Requires: libX11.a(shr4.o)
Error: Package: tk-8.6.8-2.ppc (AIX_Toolbox)
Requires: libXext.a(shr.o)     You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Any direction would be greatly appreciated. # lslpp -f | grep libXext.a
/usr/lpp/X11/lib/R7/libXext.a
/usr/lib/libXext.a -> /usr/lpp/X11/lib/R7/libXext.a
/usr/lpp/X11/lib/R6/libXext.a
# # lslpp -f | grep libX11.a
/usr/lpp/X11/lib/R7/libX11.a
/usr/lib/libX11.a -> /usr/lpp/X11/lib/R7/libX11.a
/usr/lpp/X11/lib/R6/libX11.a
# Please also verify you have not installed any other libX11/libXext from any other source that does not provide this shared object.  *** UPDATE: I forgot to run updtvpkg after adding the additional filesets.
Once  it completed, yum update worked. Thank you for your time. -Carl The filets do not exist on my system. I couldn't find them on our nim server either. So I downloaded fresh DVD ISOs. And I was unable to find them on the ISOs.

I feel very dense right now. I tried to install X11.base and received this error:     X11.base.lib 7.2.3.15 *                   # AIXwindows Runtime Libraries
(supersedes:  7.2.3.0)ls
X11.base.rte 7.2.3.15 *                   # AIXwindows Runtime Environment
(supersedes:  7.2.3.0)
X11.base.smt 7.2.3.15 *                   # AIXwindows Runtime Shared Me...
(supersedes:  7.2.3.0)   MISSING REQUISITES:  The following filesets are required by one or more
of the selected filesets listed above.  They are not currently installed


and could not be found on the installation media.     X11.base.lib 7.2.0.0                      # Base Level Fileset
X11.base.rte 7.2.0.0                      # Base Level Fileset
X11.base.smt 7.2.0.0                      # Base Level Fileset   << End of Failure Section >>
I loaded just about anything X11 related. I received a warning that a reboot was required. Rebooted. Checked again for the filesets: #-> lslpp -f | grep libXext.a
/usr/lpp/X11/lib/R7/libXext.a
/usr/lib/libXext.a -> /usr/lpp/X11/lib/R7/libXext.a
/usr/lpp/X11/lib/R6/libXext.a #-> lslpp -f | grep libX11.a
/usr/lpp/X11/lib/R7/libX11.a
/usr/lib/libX11.a -> /usr/lpp/X11/lib/R7/libX11.a
/usr/lpp/X11/lib/R6/libX11.a I now try to perform a yum update and I receive the same error message: --> Processing Dependency: libX11.a(shr4.o) for package: tk-8.6.8-2.ppc
--> Processing Dependency: libXext.a(shr.o) for package: tk-8.6.8-2.ppc
--> Finished Dependency Resolution
Error: Package: tk-8.6.8-2.ppc (AIX_Toolbox)
Requires: libX11.a(shr4.o)
Error: Package: tk-8.6.8-2.ppc (AIX_Toolbox)
Requires: libXext.a(shr.o)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest -Any thoughts on where I missing the point? -Carl

Additional
Resources

Discover these carefully selected resources to dive deeper into your journey and unlock fresh insights

Office

If you need immediate assistance please contact the Community Management team

[email protected]

Monday - Friday: 8AM - 5 PM MT

Quick Links

About Us

Terms of Use

Community Netiquette

Sitemap