Questions tagged [gcc]

GNU Compiler Collection

The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these languages (libstdc++, libgcj,...). GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.

83 questions
2
votes
1 answer

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 to Archlinux. As I expected it did not started…
Nick
  • 826
  • 2
  • 15
  • 42
2
votes
1 answer

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

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/#building-from-source Here what i am…
Pradeep Gupta
  • 387
  • 2
  • 5
  • 18
2
votes
1 answer

Squeeze/Lenny compilation : Library Link error

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 want to continue to compile my Test app on a Debian…
PEZ
  • 21
  • 1
2
votes
5 answers

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 they were never installed. I have checked…
julumme
  • 145
  • 2
  • 6
2
votes
1 answer

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\ --with-included-apr \ --enable-proxy …
user176514
  • 71
  • 2
  • 8
2
votes
1 answer

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-unknown-linux-gnu checking target system type...…
Ghostcode
  • 21
  • 2
2
votes
1 answer

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 error. /usr/bin/ld:…
user140239
2
votes
2 answers

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 while installation I'm getting below…
Mandar Pande
  • 123
  • 1
  • 7
2
votes
1 answer

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 CentOS mirror and I was able to get some of them…
Ian Dunn
  • 194
  • 13
2
votes
1 answer

Bash build environment settings

I'm newbie in Bash and I'm using MinGW as a GCC compiler. I have .profile in my home directory which sets building environment. Here is .profile content. What's a difference in commented/uncommented lines? Why GCC doesn't work with uncommented…
Toktik
  • 147
  • 9
2
votes
3 answers

finding binaries/files/libraries not in Path -- specifically gcj

I am trying to build pdftk, which apparently requires gcj. Since it is not already in my path, I can either add the directory holding gcj to my path or define the path in the pre-made Makefile. The problem is that I have no idea: a) where gcj is,…
Anthony
  • 315
  • 4
  • 15
1
vote
1 answer

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 gcc 7.2.0 built with OpenSSL 1.1.1a 20 Nov 2018 TLS…
Michael Chourdakis
  • 189
  • 1
  • 2
  • 11
1
vote
0 answers

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 apparently I might have broken packages or unmet…
Jiyah
  • 11
  • 3
1
vote
1 answer

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 release version 2.12.2, by Roland McGrath et al. …
Nimjox
  • 217
  • 1
  • 3
  • 14
1
vote
0 answers

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 -v FreeBSD clang version 3.4.1…
gpskomsa
  • 11
  • 1