CentOS 8 server: /bin/ld: cannot find -lstdc++

I get an error running make. I have never seen this error. There are no other errors except this one. I am seriously baffled. Help is appreciated. Answer So, I have been able to fix this. It was a missing line of code in CMakeLists.txt in the failing program. Had to put in “link_libraries_(stdc++fs)”. AttributionSource … Read more

Pid and Lock files are not created in Nginx custom build Centos 7

I am trying to install nginx from source. After make install, I had a look at /var/run/ folder but I cant find the nginx.pid file and nginx.lock files there. This is my configuration: sudo ./configure –add-module=/opt/nginx-compile/modules/ngx_pagespeed-release- \ –prefix=/etc/nginx \ –sbin-path=/usr/sbin/nginx \ –conf-path=/etc/nginx/nginx.conf \ –error-log-path=/var/log/nginx/error.log \ –http-log-path=/var/log/nginx/access.log \ –pid-path=/var/run/nginx.pid \ –lock-path=/var/run/nginx.lock \ –http-client-body-temp-path=/var/cache/nginx/client_temp \ –http-proxy-temp-path=/var/cache/nginx/proxy_temp \ … Read more

Problem with “make & make install” software on linux

I have worked on Linux for a year. One thing bothers me is that I am not familar with the process of installing new software with source code(I can’t install them from netword due to environment limitations). I was often blocked with different kinds of error, for example: ———————— libtool: install: error: relink `Magick++/lib/libMagick++.la’ with … Read more

Installing make with wget

How can I install make with wget on CentOS? I tried: cd /tmp wget ftp.gnu.org/pub/gnu/make/make-3.81.tar.gz tar xfz make-3.81.tar.gz cd make-3.81 PATH=/usr/local/bin:/usr/bin:/bin ./configure patch -p1<make-3.81-cygwin.patch patch -p0<make-3.81-cygwin_MAKE_expansion.patch PATH=/usr/local/bin:/usr/bin:/bin make PATH=/usr/local/bin:/usr/bin:/bin make install However, I got an error message stating I had no acceptable C compiler. Answer Do you have any specific problem with yum? Normally you … Read more

Ubuntu Server – installation location when building from source

I am pretty new to Ubuntu Server. I have installed libevent 1.4.13 from source but I am not exactly sure where the install location is after I do make install. Answer Where ever the default location is for that source package… Your best bet is to install the package from Ubuntu. apt-get update apt-get install … Read more

How to fix RVM exhausting Virtual Memory on VPS?

I’m trying to install ruby via RVM on an Ubuntu VPS with only 512 MB memory. When running rvm install 1.9.3 I get the error: ERROR: Error running ‘make ‘, please read /home/matt/.rvm/log/ruby-1.9.3-p0/make.log In the log file is the following: [2012-01-01 03:34:26] make CC = gcc LD = ld LDSHARED = gcc -shared CFLAGS = … Read more

Running make for Nginx throws a “multiple target patterns” error

When I run make inside my installed nginx directory I get the output: make -f objs/Makefile make[1]: Entering directory `/home/ec2-user/nginx/nginx-1.2.4′ objs/Makefile:110: *** multiple target patterns. Stop. make[1]: Leaving directory `/home/ec2-user/nginx/nginx-1.2.4′ make: *** [build] Error 2 I am on an Amazon Linux AMI. The steps I took from the beginning was wget /path/to/nginx/tarball tar xvf nginx-1.2.4.tar.gz … Read more

qt47-webkit-devel installation conflicts?

I’m receiving several conflicts while trying to install qt47-webkit-devel on a CentOS 6.4 server, the meat of the conflicts is here: –> Processing Conflict: 1:qt47-x11-4.7.2-1_18.el6.x86_64 conflicts qt-x11 < 1:4.7.2-1_18.el6 –> Processing Conflict: 1:qt47-x11-4.7.2-1_18.el6.x86_64 conflicts qt4-x11 < 1:4.7.2-1_18.el6 –> Processing Conflict: 1:qt47-x11-4.7.2-1_18.el6.x86_64 conflicts phonon < 4.3.80-1 –> Processing Conflict: 1:qt47-devel-4.7.2-1_18.el6.x86_64 conflicts qt4-devel < 1:4.7.2-1_18.el6 –> Processing … Read more