[Libguestfs] "/usr/lib/rpm/redhat/redhat-hardened-ld" path appearing in some libguestfs tarballs

Richard W.M. Jones rjones at redhat.com
Wed May 6 16:55:37 UTC 2015


Because of a Fedora bug in libtool[1], some libguestfs tarballs that I
built contain a hard-coded path to a 'redhat-hardened-ld' linker
script inside libtool.

You will find that on non-Fedora/RHEL/CentOS platforms, the build will
fail with an error similar to this:

  gcc: error: /usr/lib/rpm/redhat/redhat-hardened-ld: No such file or directory

The affected tarballs are:

http://libguestfs.org/download/1.28-stable/libguestfs-1.28.9.tar.gz
http://libguestfs.org/download/1.29-development/libguestfs-1.29.37.tar.gz
http://libguestfs.org/download/1.29-development/libguestfs-1.29.38.tar.gz
http://libguestfs.org/download/1.29-development/libguestfs-1.29.39.tar.gz

If you have to build these tarballs, one workaround is to run
`autoreconf -i' to rebuild the autotools-generated files such as
libtool and ltmain.sh.

However I am also now building new tarballs of:

 - libguestfs 1.28.10
 - libguestfs 1.29.40

which will supercede the affected tarballs and should fix the problem.
These will be available later today.

I have also updated the tool which builds libguestfs releases so it
will detect the problem in case it happens again in future.

Thanks: Darius Clark for first reporting the issue.

Rich.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1214506

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list