Hi, I am installing Watson Explorer v10 on RHEL 6.7 for z Systems in a instance on LinuxONE Community Cloud.
At phase, install WebSphere Application Server, I think. I got error massage same as following technote. http://www-01.ibm.com/support/docview.wss?uid=swg21666144 libgcc_s.so.1 of RHEL67 image in LinuxONE Community Cloud is linking to 64-bit module;
[root@mylinuxone lib64]# ls -l libgcc_s* -rwxr-xr-x 1 root root 73040 Jun 1 2015 libgcc_s-4.4.7-20120601.so.1 lrwxrwxrwx. 1 root root 28 Aug 5 2015 libgcc_s.so.1 -> libgcc_s-4.4.7-20120601.so.1 [root@mylinuxone lib64]# file libgcc_s-4.4.7-20120601.so.1 libgcc_s-4.4.7-20120601.so.1: ELF 64-bit MSB shared object, IBM S/390, version 1 (SYSV), dynamically linked, stripped
I have to get 32 bit library. Please advice me how to improve this situation. Thank you.
Answer by StefanRaspl (1) | Jul 11, 2016 at 01:00 AM
You need to install the libgcc.s390 package instead of libgcc.s390x: Extension .s390x denotes 64 bit packages, while .s390 refers to 32 bit packages. See below on how to install.
[linux1@xxx ~]$ yum search libgcc
Loaded plugins: product-id, security, subscription-manager
RHEL67 | 4.1 kB 00:00 ...
rhel67supp | 4.1 kB 00:00 ...
========================================= N/S Matched: libgcc ==================================
libgcc.s390 : GCC version 4.4 shared support library
libgcc.s390x : GCC version 4.4 shared support library
Name and summary matches only, use "search all" for everything.
[linux1@xxx ~]$ sudo yum install libgcc.s390
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
RHEL67 | 4.1 kB 00:00 ...
rhel67supp | 4.1 kB 00:00 ...
Resolving Dependencies
--> Running transaction check
---> Package libgcc.s390 0:4.4.7-16.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================
Package Arch Version Repository Size
==============================================================================================
Installing:
libgcc s390 4.4.7-16.el6 RHEL67 90 k
Transaction Summary
==============================================================================================
Install 1 Package(s)
Total download size: 90 k
Installed size: 82 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libgcc-4.4.7-16.el6.s390 1/1
RHEL67/productid | 1.6 kB 00:00 ...
rhel67supp/productid | 1.6 kB 00:00 ...
Verifying : libgcc-4.4.7-16.el6.s390 1/1
Installed:
libgcc.s390 0:4.4.7-16.el6
Complete!
[linux1@xxx ~]$ ls -la /lib/libgcc*
-rwxr-xr-x 1 root root 57700 Jun 1 2015 /lib/libgcc_s-4.4.7-20120601.so.1
lrwxrwxrwx 1 root root 28 Jul 11 01:43 /lib/libgcc_s.so.1 -> libgcc_s-4.4.7-20120601.so.1
[linux1@xxx~]$ file /lib/libgcc_s-4.4.7-20120601.so.1
/lib/libgcc_s-4.4.7-20120601.so.1: ELF 32-bit MSB shared object, IBM S/390, version 1 (SYSV), dynamically linked, stripped
,You need to install the libgcc.s390 package instead of libgcc.s390x: Extension .s390x denotes 64 packages, while .s390 refers to 32 bit packages. See below on how to install.
[linux1@xxx ~]$ yum search libgcc
Loaded plugins: product-id, security, subscription-manager
RHEL67 | 4.1 kB 00:00 ...
rhel67supp | 4.1 kB 00:00 ...
========================================= N/S Matched: libgcc ==================================
libgcc.s390 : GCC version 4.4 shared support library
libgcc.s390x : GCC version 4.4 shared support library
Name and summary matches only, use "search all" for everything.
[linux1@xxx ~]$ sudo yum install libgcc.s390
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
RHEL67 | 4.1 kB 00:00 ...
rhel67supp | 4.1 kB 00:00 ...
Resolving Dependencies
--> Running transaction check
---> Package libgcc.s390 0:4.4.7-16.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================
Package Arch Version Repository Size
==============================================================================================
Installing:
libgcc s390 4.4.7-16.el6 RHEL67 90 k
Transaction Summary
==============================================================================================
Install 1 Package(s)
Total download size: 90 k
Installed size: 82 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libgcc-4.4.7-16.el6.s390 1/1
RHEL67/productid | 1.6 kB 00:00 ...
rhel67supp/productid | 1.6 kB 00:00 ...
Verifying : libgcc-4.4.7-16.el6.s390 1/1
Installed:
libgcc.s390 0:4.4.7-16.el6
Complete!
[linux1@xxx ~]$ ls -la /lib/libgcc*
-rwxr-xr-x 1 root root 57700 Jun 1 2015 /lib/libgcc_s-4.4.7-20120601.so.1
lrwxrwxrwx 1 root root 28 Jul 11 01:43 /lib/libgcc_s.so.1 -> libgcc_s-4.4.7-20120601.so.1
[linux1@xxx~]$ file /lib/libgcc_s-4.4.7-20120601.so.1
/lib/libgcc_s-4.4.7-20120601.so.1: ELF 32-bit MSB shared object, IBM S/390, version 1 (SYSV), dynamically linked, stripped
Installing Node.js on Ubuntu 16.04 Docker Container? 4 Answers
Active VM not available by IP 1 Answer