Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
326 views

How to configure R 4.3 to run on RHEL 8?

While trying to install the Rcpp package in R on our RHEL 8 server, I get this series of errors/warnings: make: *** No rule to make target 'compilers'. Stop. Warning in system(paste(MAKE, p1(paste(&...
pince-nez's user avatar
1 vote
1 answer
936 views

Error Compiling pro c program in Linux Red Hat machine. Error Code - PCC-S-02014

I am trying to compile proc c program in Red Hat version 8 machine. GCC version is 8.5.0 and my Oracle Client version is 19.0. When I compile the program it gives the below error. Please help. I tried ...
Ashok Kumar Chelladurai's user avatar
2 votes
2 answers
1k views

Installing CUnit on RHEL CUnit/CUnit.h: No such file or directory

I'm trying to set up CUnit for use on Red Hat Enterprise Linux. This is my test file in c: #include <CUnit/CUnit.h> int main() { return 0; } At first, I was getting an error when using gcc ...
grevans's user avatar
  • 29
0 votes
1 answer
984 views

Error "ORA-01017: invalid username/password; logon denied" when trying to connect to Oracle Database using OCCI and GCC

This is an issue we have connecting to Oracle Database using GCC. Currently both the client and the server are running under the same environment, which is running RHEL 8. We are in the process of ...
MarkR's user avatar
  • 186
0 votes
1 answer
101 views

Error Linking a Static File for COBOL DB2 on RHEL

Compiling/Linking COBOL code for DB2 on a RHEL 8.6 server which is hitting an error. Command running: cob2 -F/etc/cob2.cfg -v myfile.cbl -L/opt/IBM/db2/V11.5/lib32 -I/opt/IBM/db2/V11.5/include/cobol_a ...
Ian's user avatar
  • 3
0 votes
2 answers
7k views

How to install static libraries (eg libstdc++, libm, libc) on AWS official Rocky Linux?

Rocky Linux is a free distribution that repackages each release of RHEL (Red Hat Enterprise Linux). It is what CentOS used to be. On AWS there are Official releases of Rocky Linux 8 Green Obsidian (...
Eric's user avatar
  • 493
0 votes
1 answer
370 views

Code compiled on RHEL 8 using gcc not working on RHEL 6. Getting error `GLIBC_2.14' not found

We are having an application which is built using gcc on RHEL 8. When we run the executable for this application on RHEL 6 we are getting error `GLIBC_2.14' not found required by application. What are ...
harender kawar's user avatar
0 votes
2 answers
136 views

Same f2c generated C code, built with gcc on 2 platforms gives different results

We have a strange issue with our code, we used a same code since several years on several platforms, but this year we needed to build our software on a 64-bit RHEL 8 system. During build processing, ...
FMousnier's user avatar
0 votes
1 answer
148 views

wxWindows 2.4.2 configuration failed saying checking for toolkit... configure: error: Please specify at most one toolkit

I am new to Linux environment, we have task to migrate a Windows wxWidgets(version 2.4.2) GUI application to Linux platform(RHEL8 or 8.3).The application is successful on Visual studio 2017&2019(...
Bhaskar's user avatar
  • 628
2 votes
1 answer
123 views

How to emulate class template argument deduction pre-C++17?

I am working on removing sscanf() calls from a C++ codebase and replacing them with the std::stringstream implementation described here: https://www.quora.com/Is-there-a-C-alternative-to-sscanf . ...
matoro's user avatar
  • 181
0 votes
2 answers
439 views

Import error on rhel7 machine when running rhel6 built executable

I have my c++ project on rhel6 and it works fine. But on a rhel7 machine, it throws the following error : ImportError: liblzma.so.0: cannot open shared object file: No such file or directory Now, I ...
Shray's user avatar
  • 181
0 votes
1 answer
339 views

glibc error when c++ binary compiled dynamically but not statically

Consider the following: I have a c++ file. I use RHEL6 machine to compile my code. But i want my executable/binary to be able to run on RHEL4 as well. Now I have experienced the following 3 cases- If ...
Shray's user avatar
  • 181
0 votes
2 answers
2k views

Install gcc and build-essential offline rhel

I am trying to install GCC in a rhel 7 server But I'm getting this error. # sudo rpm -ivh gcc-4.8.5-39.el7.x86_64.rpm error: Failed dependencies:         cpp = 4.8.5-39.el7 is needed by gcc-4.8.5-39....
user3398900's user avatar
1 vote
1 answer
235 views

HP-UX cc uses a default setting to allow null dereferences, is that possible in gcc with RHEL?

From the HPUX cc, c89 - C compiler man page: -z Do not bind anything to address zero. This option allows runtime detection of null pointers. See the ...
Kyle's user avatar
  • 97
2 votes
1 answer
187 views

How to fix UnsatisfiedLinkError by making minimal changes?

I am trying to compile and run the following JNI Java file in RHEL: package com.isprint.am.util.hsm; public class LunaMDUtil { //bunch of constants public native int MD_Initialize(); //...
user10931326's user avatar
3 votes
0 answers
662 views

error: command 'gcc' failed with exit status 1 while installing GDAL for Python3 on AWS EC2

I'm trying to install GDAL to use with Python 3 on an AWS EC2 Amazon2 machine (RHEL7). Following the instructions on this page: Install GDAL on Python 2.7 on a Amazon Linux virtual server I managed to ...
Shakedk's user avatar
  • 440
2 votes
1 answer
989 views

Using HP Fortify SCA to scan Linux Kernel

I'm trying to use HP Fortify SCA to scan RHEL7.5 server kernel [linux-3.10.0-862.el7]. I'm on the RHEL workstation OS which is on virtualbox. In the working dir I'm doing: "sourceanalyzer -b ...
2redgoose's user avatar
1 vote
3 answers
329 views

can compiled perl v5.28.0 from src (with gcc 4.8.5) run on RHEL 5.5?

My question is about whether if it would be possible to run a compiled perl 5.28.0 from source (with GCC 4.8.5 on CentOS 7) to be able to be used on RHEL 5.5 (Tikanga) where GCC version is lower and ...
User9102d82's user avatar
  • 1,190
1 vote
1 answer
3k views

having problems making and installing gcc

I am having trouble installing gcc. Given the information below, what am I doing wrong? From $HOME/gcc on a Linux computer that I do not have root access to, I run the following: $ wget http://...
Clay's user avatar
  • 2,716
1 vote
1 answer
1k views

error: command 'gcc' failed with exit status 1 while installing pycrypto on RHEL

I am trying to manually install Crypto module for Python (pycrypto) on RHEL. However, I seem to always get this error after I run the build command (i.e. python setup.py build): error: command 'gcc'...
Felicia Amy's user avatar
1 vote
1 answer
1k views

My installed GCC version is behind my installed Redhat developer toolset version

I have been searching for the answer to this for a while. I'm on RHEL 6.x and I am trying to upgrade gcc in order to install a package. Also, I have a super old version of gcc and it's time to upgrade ...
transposeglobal's user avatar
7 votes
1 answer
24k views

RHEL7 - /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found

I know this question has been asked for many times while I still get stuck with it. I have reviewed all answers previously asked like version `CXXABI_1.3.8' not found (required by ...) How to ...
lionel's user avatar
  • 425
0 votes
2 answers
1k views

Installing gcc-5.3.0 from source on rhel

I am using RHEL 6. I would like to install gcc 5.3.0 (gcc-5.3.0.tar.gz) from source. I've already installed GMP, MPC, & MPFR. How would I approach?
Mervyn Clarke's user avatar
0 votes
1 answer
2k views

Working with lower version of GLIBC: version `GLIBC_2.11` not found (required by g++)

I've installed GCC 7.1 on my machine and tried to use g++ on it, but it didn't work, saying this: g++: /lib64/libc.so.6: version `GLIBC_2.11` not found (required by g++) So then I did these: $ ...
Sarfaraz Nawaz's user avatar
0 votes
2 answers
3k views

Running binaries compiled in RHEL 7 gcc 4.7 in RHEL 6

I have a bunch of libraries built in RHEL 7 using gcc 4.7. Is the following possible 1) Can the binary be executed in RHEL 6 host without re-compiling ? 2) The shared objects produced in RHEL 7 ...
KodeWarrior's user avatar
  • 3,588
0 votes
1 answer
78 views

need gcc in rhel 7 and have no repositories

I'm working on a rhel 7 that does not have the repos configured, I need to compile c code and I hace no gcc. I've tried to download individual rpm but there are a lot of dependencies, what repo can ...
mozer's user avatar
  • 31
1 vote
1 answer
778 views

Building GCC 5.2 on RHEL6

Since I needed C++14 support for one of our projects, I was trying to build GCC5.2 on my RHEL6 instance using the steps described in http://en.librehat.com/blog/build-gcc-5-dot-2-on-rhel-6/. However, ...
samudra's user avatar
  • 35
0 votes
1 answer
95 views

Syntax error when Installing NetBSD pkgsrc on RHEL 4

I'm trying to install NETBSD pkgsrc in unprivileged mode on RHEL4 with GCC 3.4.6. First of all is this setup too old? I downloaded the latest stable release from http://ftp.netbsd.org/pub/pkgsrc/...
Paul Johnson's user avatar
  • 1,369
1 vote
1 answer
2k views

Troubleshooting warning from "make -j N"

When I issue a command like (for example) make -j 4, I get the following error: warning: jobserver unavailable: using -j1. Add `+' to parent make rule I am using the developer toolkit from ...
Alex Reynolds's user avatar
0 votes
0 answers
70 views

How to replace "as" tool with the x86 version on REHL?

I ran into below problem on RHEL while using gcc to compile a C file. [test]$ gcc hello.c as: unrecognized option '-Qy' Then found my "as" is the MIPS version: [test]$ as -v GNU assembler ...
thinkhy's user avatar
  • 933
1 vote
0 answers
517 views

Issue in installing gcc-c++

Hey guys I am trying to install G++ on my VPN which have no internet connectivity of YUM access. so I am installing it through source tarballs when i tried to run ./configure i got the following ...
sarsarahman's user avatar
  • 1,088
0 votes
1 answer
136 views

Issue with _ILP32 in unix machine with gcc 2.96

I am using Red Hat Linux release 9 Kernel 2.4.20-8 on an i686 with gcc version 2.96. I have code something like: include "stdio.h" ..... ifndef _ILP32 return fopen64 (fname, dhtype); else return ...
user234559's user avatar
2 votes
1 answer
2k views

GCC backwards compatibility

I am porting an application to a red hat enterprise 5 server, and the server has GCC v4.1.2 installed. I need GCC 4.2, and 4.1.2 is the newest version in the yum network. If I download a newer .repo ...
Jay Elrod's user avatar
  • 738
4 votes
2 answers
4k views

gcc ld error "libgcov.a(_gcov_merge_add.o) is referenced by DSO"

Trying to compiler our code for code coverage using gcov. Getting following error: hidden symbol `__gcov_merge_add' in /usr/lib/gcc/i686-redhat-linux/4.4.4/libgcov.a(_gcov_merge_add.o) is ...
user2302555's user avatar
0 votes
1 answer
9k views

Installing gcc on rhel 6.1 [closed]

GCC doesnt seem to be installed on my Rhel 6.1 machine. Also, when i did: sudo yum install gcc It barfed: Updating Red Hat repositories. Setting up Install Process No package gcc available. Error: ...
Chander Shivdasani's user avatar
2 votes
4 answers
14k views

Installing GCC 3.4.6 in RHEL4

I do the following in command line: 1) wget ftp://mirrors.kernel.org/gnu/gcc/gcc-3.4.6/gcc-3.4.6.tar.bz2 2) tar -jxf gcc-3.4.6.tar.bz2 3) cd gcc-3.4.6 4) cd libstdc++-v3 5) ./configure And I get ...
GetFree's user avatar
  • 42.3k