Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gcc]

GNU Compiler Collection

0
votes
1answer
15 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... ...
1
vote
1answer
128 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 ...
0
votes
0answers
249 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 --...
0
votes
2answers
74 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' ...
1
vote
1answer
1k 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++...
0
votes
0answers
1k 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 ...
0
votes
1answer
316 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 ...
-1
votes
1answer
106 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? ...
0
votes
1answer
168 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 ...
2
votes
1answer
4k 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/...
1
vote
0answers
198 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 ...
1
vote
1answer
624 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 ...
0
votes
1answer
2k 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 ...
0
votes
2answers
3k 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 ...
5
votes
1answer
14k 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 ...
1
vote
0answers
385 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 -...
1
vote
2answers
20k 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
0
votes
0answers
118 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 ...
0
votes
1answer
679 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 ...
2
votes
2answers
2k 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 ...
0
votes
1answer
430 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 ...
9
votes
4answers
8k 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 ...
0
votes
1answer
231 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 ?
0
votes
0answers
280 views

Installing Wireshark 1.6 on CentOS 5.7

I want to install wireshark version which is higher than 1.2 since I need to analyse the iec104 packets (only version higher than 1.2 supports this). I am using CentOS 5.7 version and it only supports ...
-1
votes
1answer
524 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 ...
2
votes
1answer
2k 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 ...
40
votes
6answers
8k 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 ...
1
vote
1answer
370 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/...
2
votes
1answer
26k 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/#...
0
votes
1answer
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. ...
0
votes
2answers
609 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 ...
2
votes
1answer
37 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 ...
2
votes
5answers
5k 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 ...
21
votes
1answer
46k 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:...
4
votes
3answers
2k 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 .....
2
votes
1answer
652 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\ ...
1
vote
1answer
330 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: ./...
0
votes
1answer
560 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 (...
1
vote
1answer
1k 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-...
1
vote
1answer
1k 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 ...
0
votes
1answer
977 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 (@...
2
votes
1answer
567 views

Error while compiling PHP extension

I'm trying to install a php extension that is written in c and make use of MongoDB c driver. I have been trying for the last 2 days to compile and install the extension, however, I'm getting the same ...
-3
votes
1answer
250 views

No rule to make target libmysql.c', needed bylibmysql.lo'. Stop

I install mysql5.1.53, run #./configure is well, but run #make have this error. My system is centos5.8, gcc version 4.1.2 20080704 (Red Hat 4.1.2-52) make[2]: Leaving directory /root/soft/mysql-5.1....
2
votes
2answers
3k views

My yum repository able to search packages, but not able to install it in RHEL?

I set up yum from dvd. Following is the containts of my .repo file: [dvd] name=Red Hat Enterprise Linux Installation DVD baseurl=file:///media/dvd enabled=0. I'm able to search packages. However ...
1
vote
0answers
129 views

Why can't rsyslogd find libgcc_s.so.1?

Scenario: Running a debootstrapped Ubuntu 11.4 lxc guest on a Ubuntu 12.4 lxc host. Inside the lxc guest, rsyslogd is constantly crashing with SIGABRT stating: libgcc_s.so.1 must be installed for ...
1
vote
1answer
169 views

vfw.h no longer present on RHEL 4.8? [closed]

I maintain an application which relies on vfw. Unfortunately, I am not able to remove this deprecated video encoding mechanism at this time. My application compiles fine on Windows, but on RHEL 4.8 it ...
0
votes
1answer
2k views

'gcc' failed with exit status 1 - MySQL-python-1.2.3

I am installing MySQL db for python2.6. I installed it from here but when I am on the line I extracted the file and when I did python2.6 setup.py build it gives a lot of errors and warring and end ...
4
votes
1answer
7k views

How to install the latest g++ version on CentOS

I tried yum install gcc-c++, however, the repos have an old version (4.1) which causes lots of problems and stops me from building a library. I would like to update it to latest. How can I do that?
1
vote
0answers
173 views

2 diferent versions of gcc in RHEL

I need to test a matlab EDA-LINK with Cadence Incisive. For this , one of the libraries complains of an error: version `GCC_3.3' not found (required by/appli/cadence/IUS82_ISR11/tools/lib/libstdc++....
1
vote
3answers
3k views

Using gcc instead of SUNWspro cc in ruby mkmf for yajl on Solaris 10

How do I get mkmf to use gcc instead of /opt/SUNWspro/bin/cc on Solaris 10? I am trying to install chef using gem install chef. It is failing with: Building native extensions. This could take a ...