Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

How to get libgcc 32 bit library for z/Linux

270006X7T7 gravatar image
Question by Kenji_MfromNDI  (1) | Jul 04, 2016 at 03:14 AM LinuxONECommunityCloudLinuxONE

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.

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
310000NUXC gravatar image

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
Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

65 people are following this question.

Answers

Answers & comments

Related questions

Installing Node.js on Ubuntu 16.04 Docker Container? 4 Answers

Active VM not available by IP 1 Answer

Can't login to IBM LinuxONE Community Cloud 0 Answers

I already created my instance, but I cannot see it in my Infrastructure. How can I get it info and start it ? 1 Answer

Problems during installation of BlockChain 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges