Checkinstall for Fedora 14 & Ubuntu 10.10

By jbayer - Last updated: Tuesday, October 26, 2010 - Save & Share - 4 Comments

Checkinstall is a utility that builds a .deb, .rpm or Slackware package from a third party source code tarball. This allows you to introduce such third party software using the standard package management features of your distribution. In contrast, the conventional instructions for installing such software packages puts your package manager out of sync with the actual collection of software installed on your Linux box.

The current version of checkinstall is a year old (as of October, 2009), and doesn’t work on the current versions of Fedora 14 or Ubuntu 10.10.  There are actually two problems; one is that the library calls have changed in the latest version of glibc, and the second is that the rpmbuild command is missing a parameter.

The attached file is a patched version which fixes these problems.  My gratitude goes to the Ubuntu Maverick developers who did the initial patching for the glibc problem.

Updated, the old version didn’t properly access the checkinstallrc file.

  checkinstall-1.6.2-2.tar.gz (383.7 KiB, 678 hits)

Posted in Administration, Open Source • Tags: Top Of Page
3,395 views

4 Responses to “Checkinstall for Fedora 14 & Ubuntu 10.10”

Comment from sercik
Time November 21, 2011 at 12:34 pm

hello! thanks for your work.
I doenloaded your package and tried to install but i obtain a long list of:
ERROR: ld.so: object ‘/usr/local/lib/installwatch.so’ from LD_PRELOAD cannot be preloaded: ignored

when i try to use checkinstall and the rpm is empty.

But after i installerd glib-devel and did a make and then make install and this way it seems working.
i have tried to create checkinstall rpm running command checkinstall inside checkinstall compiled folder and i obtain checkinstall rpm, but when i try to install it i obtain a very strange error:
l’installazione del pacchetto checkinstall-1.6.2-1-1.i386 necessita di 8KB sul filesystem /sys

l’installazione del pacchetto checkinstall-1.6.2-1-1.i386 necessita di 4KB sul filesystem /sys/fs/selinux

Comment from jbayer
Time November 29, 2011 at 8:29 am

I need a little more information. What OS are you using, is it 32 or 64 bit?

Comment from Bryn
Time May 25, 2012 at 6:10 am

Hi

I’m having this same problem. I’m trying to install Zabbix 2.0.0 on Centos 6.2 32bit. I used your script because the instructions I was following told me to use a checkinstall RPM that was for EPEL5 and the build for EPEL6 failed and doesn’t seem to ever have been fixed.

When I run checkinstall -R -y in my zabbix build directory I get the errors “ERROR: ld.so: object ‘/usr/local/lib/installwatch.so’ from LD_PRELOAD cannot be preloaded: ignored.”.

I didn’t get any errors when building the checkinstall using your instructions.

Any ideas please?

Regards
Bryn

Comment from jbayer
Time May 25, 2012 at 3:31 pm

Download the latest version of the script (below), it should work much better. 2.0.0 had a number of changes which made the old script fail at odd times and places.

Also, if you are on a 64 bit system, you might have to follow the instructions in this post: http://linuxnotes.us/?p=362

[download id="55"]

Write a comment

asd