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.53/libmysql’ make[1]: Leaving directory/root/soft/mysql-5.1.53/libmysql’ Making all in libmysql_r make[1]: Entering directory /root/soft/mysql-5.1.53/libmysql_r’ make all-am make[2]: Entering directory/root/soft/mysql-5.1.53/libmysql_r’ make[2]: * No rule to make target libmysql.c’, needed bylibmysql.lo’. Stop. … Read more

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? gcc: /usr/lib/libxml2.a: No such file or directory Answer The package you want is libxml2-static. It’s in the RHEL 6 “Optional” repo. AttributionSource : Link , Question Author : Laurie Ehardt , Answer Author : James Sneeringer

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). Now some include files are missing (eg. math_iso.h). I would like to try to re-install the package, but I haven’t found a … Read more

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 (@anaconda-0) glibc = 2.15-37.fc17 Updated By: glibc-2.15-57.fc17.i686 (updates) glibc = 2.15-57.fc17 Removing: glibc-2.15-56.fc17.i686 (installed) glibc = 2.15-56.fc17 Updated By: glibc-2.15-57.fc17.i686 (updates) glibc = 2.15-57.fc17 And, if it’s helpful: uname -a Linux laptop 3.3.4-5.fc17.i686.PAE #1 SMP … Read more

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 received, server is healthy and some more stuff. I want it to run in background and appending those printfs to nohup.out. So … Read more

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 checking target system type… x86_64-unknown-linux-gnu checking for a BSD-compatible install… /usr/bin/install -c checking whether build environment is sane… yes checking for a thread-safe mkdir -p… /bin/mkdir -p checking for … Read more

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

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 5 years ago. Improve this question Occasionally I have to install new packages on servers. If I’m lucky, I can find an RPM, otherwise, I get to bang my … Read more

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 refer all requests for downloads back to the vendor who supplied the product. All of these products were … Read more