GNU Compiler Collection

learn more… | top users | synonyms

0
votes
0answers
17 views

gcc is unable to create an executable file, compiling ffmpeg as static binary

I'm compiling ffmpeg with this script that I customised in a fresh aws instance amzn-ami-hvm-2015.09.1.x86_64-gp2 Everything works fine, ffmpeg 3.0 with all the codecs I need. The question is: What ...
0
votes
1answer
147 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 ...
1
vote
0answers
68 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 ...
0
votes
1answer
78 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
0answers
45 views

cann't we have 32 bit uuid package installed along with 64 bit uuid package in ubuntu 12.04 64 bit

i am using 64 bit Ubuntu 12.04. i am trying to build 32 bit project in 64 bit Ubuntu OS. UUID generator related functions in a library. it is giving below linker error related to luuid: ...
0
votes
1answer
340 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
0answers
1k 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 ...
2
votes
1answer
286 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
172 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 ...
-2
votes
2answers
5k 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
50 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
254 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 ...
1
vote
2answers
1k 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
90 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 ...
5
votes
2answers
3k 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
31 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
167 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
377 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
886 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 ...
36
votes
6answers
4k 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
0answers
143 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 ...
2
votes
1answer
20k 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: ...
0
votes
1answer
2k 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
476 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
34 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
4answers
3k 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 ...
3
votes
1answer
10k 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 ...
4
votes
3answers
1k 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
466 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
269 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
458 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
0answers
706 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... ...
1
vote
1answer
911 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
499 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
486 views

Error while compiling PHP extension

Im 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 im getting the same ...
-3
votes
1answer
200 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 ...
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
108 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
148 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
1k 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 ...
3
votes
1answer
6k 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
159 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 ...
1
vote
3answers
2k 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 ...
1
vote
1answer
168 views

Is running my Unreal Tournament server like this slower than it has to be?

Unreal Tournament 2004 is an old game, and it does not run on a new server. I was said to run the server like this. LD_LIBRARY_PATH=$HOME/archive/gcc3 ./ucc-bin server ...
1
vote
1answer
1k views

Dependency Hell trying to install GCC on CentOS4

I have a production CentOS 4.4 box running Virtuozzo VPSes, and I'm trying to install GCC inside one of them so I can install the latest PHP from source. I downloaded gcc and its dependencies from a ...
1
vote
3answers
8k views

`cannot find “-lgcc_s”` from gcc-3.4 on unbuntu 11.04

I'm trying to use gcc-3.4 on the latest Ubuntu. The package is from debian snapshots. It probably assumes different default directory structure, so for example I was forced to give it -I ...
0
votes
1answer
862 views

Reinstalling a package on Solaris 11

I installed gcc 4 on Solaris 11 using pkg-get gcc4g++ near the end of the installation process it showed a warning that some script didn't run succesfully (which I didn't write down unfortunately). ...
1
vote
3answers
921 views

Phusion Passenger Installation Not Working

I've been trying without success to install the Nginx version of Phusion Passenger (mod_rails) on my server by using the command gem install passenger followed by passenger-install-nginx-module. ...
1
vote
2answers
2k views

SUSE EC2 Problem - zypper - Permission denied

I'm trying to use zypper to install gcc on my Amazon EC2 instance running SUSE.When I try:zypper in gcc I get: Retrieving repository 'SLE11-SDK-SP1' metadata [] Permission to access ...
0
votes
1answer
149 views

emerge only prints it's parameters along with “Wrong gcc version” message

Our gentoo server has been left in inconsistent state. I don't know what have been done wrong previously, but now I need to fix the system somehow. I've tried to do revdep-rebuild, but it has failed: ...