Questions tagged [gcc]

GNU Compiler Collection

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

How to safely downgrade gcc from 8.5 to 8.4?

I have a CentOS Stream 8 server with a backup application that requires the kernel to be compiled with the same version of gcc. Latest kernel is: 4.18.0-408.el8.x86_64 I inadvertently updated gcc in ...
location's user avatar
0 votes
0 answers
44 views

yum error | Centos 5

Hi guys, I am trying to install "Development Tools"... Why? I need to have installed gcc in Centos 5, (yes I know it is old!). But When I try to install with "yum", Install ...
HAVM's user avatar
  • 1
0 votes
0 answers
121 views

Cross-compiling Libssl-dev for ARMV5. How do I make these versions align with each other?

While I am on a x86-64 machine, I need to cross-compile for an embedded GNU linux distro that uses and ARMV5. During compilation I am getting No such file or directory on #include <openssl/...
Ksenia Semenova's user avatar
1 vote
0 answers
737 views

Getting a list of all project owners , folder path from GCP

I am trying to get a list of all GCP projects on the domain and the project owners and export it to a CSV, I have written a script which provide me details of projectid, name, projectnumber date and ...
vikash's user avatar
  • 11
1 vote
0 answers
66 views

Distcc refuses to compile with arm-none-eabi-gcc

I have distcc 3.3.3 (Ubuntu 20.04, kernel 5.4.0, both x86) on both the server and the client. Setup correctly, as far as I can tell, because it works when compiling for the x86 architecture with gcc. ...
Flu's user avatar
  • 11
0 votes
0 answers
77 views

Should I compile Node.js from source on an Amazon Lightsail smallest instance?

I'm using the cheapest Amazon Lightsail instance to set up an Nginx + Node.js server. I have compiled Nginx successfully already, however it's taking too long to compile Node.js. Is this is even a ...
gregn3's user avatar
  • 101
0 votes
0 answers
138 views

PECL install with clang instead of gcc or optimize gcc

I just tried to PECL install mongodb and phalcon, but the build process ran out of memory with a nice error: cc: internal compiler error: Killed (program cc1). I just found out clang is much better at ...
Francis's user avatar
  • 113
0 votes
1 answer
56 views

Execute a Program On Remote And Send Back Resulting File

we have a powerful server to compile any code on it. For reasons, I am generally not allowed to copy my files to the server, and when I can, I can only use /temp which will be deleted after a reboot. ...
user avatar
2 votes
1 answer
543 views

apt remove gcc-5 dependency errors

I'm face on some troubles here. I'm trying to remove gcc-5, however there are a lot of dependencies that will be affect by it. I'm looking for a magician that could help me uninstall it without make a ...
Levi Resende's user avatar
0 votes
1 answer
88 views

Cant build nginx from source on Redhat

I've done all the installs of dev packages and im trying to build nginx from source. (UAT) root@vstedbm01d# which cc /bin/cc (UAT) root@vstedbm01d# which gcc /bin/gcc When I am in the root of ...
Jimmy's user avatar
  • 269
0 votes
1 answer
227 views

LDD cannot find library on sol11_64 bit

We have been compiling with gcc successfully on Solaris 10. Now we are porting to 64-bit on Solaris 11 (sol11_64). We use a library developed in house called MSP and use -wl,rpath (equivalent to -R... ...
codenaugh's user avatar
  • 145
1 vote
1 answer
233 views

nginx 1.15.8 loses TLS 1.3 after gcc 8 installation

I run a centos 7.6 server with nginx. Centos repos do not have latest nginx, so I compiled manually using instructions from here. This left me a nginx binary: nginx version: nginx/1.15.8 built by ...
Michael Chourdakis's user avatar
0 votes
0 answers
1k views

Why doesn't gcc compile for Python packages inside virtualenv?

I am trying to compile a Python script into an executable that relies upon packages only installed inside a virtualenv: sudo su source /home/me/venv/bin/activate # Activates virtualenv cython --...
sscirrus's user avatar
  • 103
0 votes
2 answers
175 views

IP2Location PECL Extension won't install on Mac can't link to bundle only dylib

I've been trying for the past 2 days to install IP2Location on my Mac. I've managed to install IP2Location C Library, now PECL extesion is causing issues. I've ran phpize and then 'sudo ./configure' ...
David's user avatar
  • 829
3 votes
2 answers
11k views

Can I install a recent gcc from binaries on Amazon Linux?

I'm using Amazon Linux on an EC2 instance started from the most recent 2017.03 AMI (ami-6df1e514). This distribution comes with g++ 4.8.3 from 2013. I need something more recent that can compile C++...
bcattle's user avatar
  • 161
0 votes
0 answers
2k views

Tensorflow on Centos 6.6 requires GLIBCXX v 3.4.19+ of libstdc++.so.6

Trying to get Tensorflow onto a Centos 6 Cloudera system which is airgapped (offline). I've gotten just about all the dependencies working with rpm and offline packages. However, I am still snarled on ...
DeusXMachina's user avatar
0 votes
1 answer
805 views

Broadcom's NetXtreme II 5709 on Ubuntu 16.10 4.10 kernel fails w/ code model kernel does not support PIC mode

Is there a way to work with the patch suggested here to get this to work? I downloaded the latest drivers from QLogic (who bought Broadcomm). Their support reply was: As of April 13, 2015 we must ...
RobbieTheK's user avatar
-1 votes
1 answer
323 views

gcc: /usr/lib/libxml2.a: No such file or directory

I have installed the following pre-built rpm on RHEL6 32bit: libxml2-2.7.6-21.el6_8.1.i686, libxml2-devel-2.7.6-21.el6_8.1.i686, libxml2-python-2.7.6-21.el6_8.1.i686 How can I resolve this issue? ...
Laurie Ehardt's user avatar
0 votes
1 answer
436 views

Compiling GnuPG links gpg2 to /lib instead of /usr/local/lib/ [closed]

Occasionally I have to install new packages on servers. If I'm lucky, I can find an RPM, otherwise, I get to bang my head on the wall and attempt to compile a package. This time I get to compile ...
Bob Smith's user avatar
2 votes
1 answer
7k views

/usr/bin/ld: cannot find -lmysqlclient Error but I have installed libmysqlclient-dev

I'm trying to compile this source code I have from a developers website that made his personal small MMO public, when trying to compile I get: gcc -O -g -m32 -rdynamic -L/usr/lib/mysql -o server .obj/...
Datsik's user avatar
  • 125
1 vote
0 answers
330 views

Unable to update packages / Package manager crash (Ubuntu 14.04)

I've been having troubles installing updates lately. Updating via the Software Updater gave no list of packages, though it still said it had to download ~100MB worth of updates. The update failed as ...
Jiyah's user avatar
  • 11
1 vote
1 answer
1k views

What version of libc.so is compiled in ESXI 6

In ESXI 6.0 what is the version of the library at '/lib64/libc.so.6'. This would be most helpful if someone could run that and post the info. For example my ESXI 5.5 current has: GNU C Library vmware ...
Nimjox's user avatar
  • 217
0 votes
1 answer
5k views

util_pcre.c:104: undefined reference to `pcre_free' while compiling Apache HTTPD 2.4.17. collect2: error: ld returned 1 exit status

On a new EC2, I am facing one type of problem while compiling httpd. It seems like code of Apache cannot find functions / function definitions from libraries. Steps I took on a fresh RHEL to install ...
Krishna Gupta's user avatar
0 votes
2 answers
5k views

Compile node-5.1.0 in CentOS 6.7 lacks of g++ 4.8+

I'm trying to compile node-5.1.0 in CentOS 6.7 but is asking for g++ 4.8 or above. [root@ws node-v5.1.0]# ./configure WARNING: C++ compiler too old, need g++ 4.8 or clang++ 3.4 (CXX=g++) ... First ...
ReynierPM's user avatar
  • 710
11 votes
1 answer
44k views

How can I get information about a binary file that won't execute?

When I run one of my user's applications named "myfile". $ ./myfile I receive the following output bash: ./myfile: cannot execute binary file My user expects the binary file to run. I assume ...
Eric's user avatar
  • 554
1 vote
0 answers
434 views

clang does not see gcc installation

I have such a system: uname -a FreeBSD gpskomsa 10.2-RELEASE FreeBSD 10.2-RELEASE #0: Thu Aug 20 18:25:34 VLAT 2015 root@gpskomsa:/usr/obj/usr/src/sys/GENERIC amd64 with default clang: clang -...
gpskomsa's user avatar
1 vote
2 answers
23k views

How To install gcc 5.2 on centos 7.1? [closed]

How To install gcc 5.2 on centos 7.1 ? with g++,cpp ? I compiled it once, but it need newer glibc which cannot be switched in system
  sm1Ly's user avatar
  • 131
0 votes
0 answers
203 views

build memcached source on centos6.4 64bit fails

I'd like to build memcached from source on centos 6.4 x86_64 but only get following error. checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu ...
Chuck's user avatar
  • 131
0 votes
1 answer
1k views

Compile Node with GCC v4.9.2

I can't seem to be able to compile Node.js on CentOS 6.6 (64 bits) GCC v4.9.2 $ ./configure Node.js configure error: No acceptable C compiler found! Please make sure you have a C compiler ...
Mick's user avatar
  • 203
3 votes
2 answers
3k views

Centos 6.6: [yum install *anything*] fails with [protected multilib error]

I have some problems with installing or upgrading anything on Centos 6.6. Problem is pretty much summed up in the topic name. When i try: yum install gcc-c++ I get: ... Error: Multilib version ...
dishonorableDeath's user avatar
0 votes
1 answer
764 views

Why c app is not writing to nohup.out

I wrote a simple master-slave failover setup for my two servers using c, running redhat6 which using udp heartbeats to monitor one another. In my app I'm printing out some information like, heartbeat ...
ivcode's user avatar
  • 1,062
11 votes
4 answers
13k views

Siege: descriptor table full sock.c:119: Too many open files

I am trying to make a stress test in my own server using siege with the following command: $ siege -c 500 myweb.com/somefile.php But I get this error: [error] descriptor table full sock.c:119: Too ...
shakaran's user avatar
  • 356
0 votes
1 answer
364 views

Install two gcc compiler on the same machine

My question is simple, is it possible to install two different version of gcc on the same red hat machine. For example : gcc3.4 and gcc4, on red hat 6 ?
Ali Mezgani's user avatar
  • 3,840
-1 votes
1 answer
700 views

Build gcc 4.1.2 from src RPM on a CentOS 5.10 [closed]

I need an advice on how to compile gcc 4.1.2 on a CentOS 5.10. The long story: I've a got a Citrix XenServer Creedence beta 1 up and running OK. It has actually CentOS 5.10 as the dom0. This can be ...
Grigory's user avatar
  • 167
2 votes
1 answer
3k views

missing shared library in ldd

I compiled Apache httpd on CentOS 6.x. Works fine there. Then I moved the binary files to CentOS 7. I needed to install some missing libraries and now works fine there. Then I moved the binary files ...
Nick's user avatar
  • 804
45 votes
6 answers
10k views

Is it safe for a production server to have make installed?

During the setup of my virtual server instances I require some applications to be built using make. Are there any security risks associated with having make installed? Or should I clean it up before ...
S-K''s user avatar
  • 1,291
1 vote
1 answer
452 views

How do I compile ImageMagick with support for a patched version of Autotrace?

yum is not an option here I have downloaded, patched, configured, compiled, and installed autotrace. Files on the system with the autotrace name are: /usr/local/include/autotrace/autotrace.h /usr/...
Chris Adams's user avatar
2 votes
1 answer
30k views

configure: error: C compiler cannot create executables while build ruby from source [closed]

I've checked a number of similar questions on stackoverflow but haven't found an answer yet. I am trying to build Ruby from source as describe here: https://www.ruby-lang.org/en/installation/#...
Pradeep Gupta's user avatar
0 votes
1 answer
3k views

Issue installing gcc & curl-devel on Centos OS 5.6

I'm trying to install gcc and curl-devel on CentOS 5.6 (64 bit) server. The command I'm using is: yum install gcc \ curl-devel After running the command it says: No package gcc available. No ...
Aaron's user avatar
  • 183
0 votes
2 answers
684 views

Compiling libmemcached Fails on Centos

I am trying to compile libmemcached on Centos 6.4 with gcc 4.8.2. I've run configure which gives me: Configuration summary for libmemcached version 1.0.17 * Installation prefix: /usr/local ...
Devin Dixon's user avatar
2 votes
1 answer
42 views

Squeeze/Lenny compilation : Library Link error [closed]

I've got a problem here : I have a C++ Library ("DataTsBroad") and a C++ Test app ("DataTsBroadTest"), to test it. Actually, the Lib and the Test app are both compiled an a Debian Lenny. Now, i ...
PEZ's user avatar
  • 21
2 votes
5 answers
7k views

GCC missing from Solaris 11, and server already deployed (no access to internet)

I'm having a peculiar problem, where a server has already been deployed, and it's no longer connected to the network. For it's original purpose, it didn't need any C/C++ compiling tools, and thus ...
julumme's user avatar
  • 145
41 votes
1 answer
100k views

Unable to execute gcc: No such file or directory

I am running Ubuntu LTS and I'm getting errors when trying to do some of my pip install stuff, like scrapy for example. This is the error I get: Unable to execute gcc: No such file or directory Error:...
J.Zil's user avatar
  • 1,123
5 votes
3 answers
3k views

Trouble compiling modern GCC with antique glibc

I am trying to get a modern GCC to compile on Centos 6.4. The problem is that Centos does not have a modern glibc and GCC 4.8.x and 4.7.x keep giving me the following compile error: ... -DL_gcov -c .....
vy32's user avatar
  • 2,078
2 votes
1 answer
778 views

Compiling Apache 2.2.11 on AIX 6.1, .so files not genereated

I am compiling Apache 2 (2.2.11 yeh, Its old...but its a requirement) on AIX 6.1 with GCC 4.2.0. I am using the configure options: ./configure \ --enable-module=rewrite\ --enable-module=log_referer\ ...
user176514's user avatar
1 vote
1 answer
361 views

Error compiling GhostPDL for PASE (AIX) on OS/400 V5R4

I'm trying to compile ghostpdl 9.07 on V5R4 in QP2TERM (the AIX-like PASE environment). After downloading and untarring the package to /QOpenSys, I ran: CALL QP2TERM and then in QP2TERM: ./...
hewhocutsdown's user avatar
0 votes
1 answer
728 views

gcc sandboxing tool - AppArmor / CHROOT jail on Ubuntu 12.04

We have a Node application as the front end to a C++ sandboxing tool, which compiles code using gcc and outputs the result to the browser. e.g. exec("gcc -o /tmp/test /tmp/test.cpp", function (...
StuR's user avatar
  • 167
2 votes
1 answer
2k views

gcc46 and no c compiler found on Amazon EC2

I've been trying to install Gearman on my EC2 instance, but when I try to ./configure gearmand, I get this: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-...
Ghostcode's user avatar
1 vote
1 answer
2k views

Compiling passenger-install-nginx-module; "C compiler gcc is not found"

I am in the middle of a process of installing Redmine served with passenger and nginx with this tutorial. With the passenger-install-nginx-module, it works fine and during compiling it outputs an ...
MacMac's user avatar
  • 2,021
0 votes
1 answer
1k views

Dependency loop while trying to install gcc on Fedora 17

I'm trying to yum install gcc but getting this message. Error: Package: glibc-common-2.15-37.fc17.i686 (@anaconda-0) Requires: glibc = 2.15-37.fc17 Removing: glibc-2.15-37.fc17.i686 (@...
Adam's user avatar
  • 135