[lug] Building RPMs - alternate install directories

Kenneth D Weinert kenw at quarter-flash.com
Fri Jul 17 13:44:44 MDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

An update:

I contacted Kevin off-list and it appears as if this is not very well
supported, at least in the version of rpmbuild that I have.

ldconfig does not create links, and I get a message like:

/sbin/ldconfig: /tools/lib/ is not a symbolic link

         -> libconfig.so.1.0.0

When every other library (commercially produced) in that directory show
something along the lines of

	libconfig.so.1.0.0 -> libconfig.so.1.0.0

but they all have links like:

lrwxrwxrwx 1 root root      18 Jul 17 13:28 libconfig.so ->
libconfig.so.1.0.0
- -rwxr-xr-x 1 kenw das    85100 Jul 17 13:34 libconfig.so.1.0.0

I run a file command on both my library and link and the lib I get from
the vendor and file says the same information about them, permissions
are all the same, etc.

I do have a /etc/ld.so.conf.d/IHSPDFTools.conf that contains

/tools/lib

in it, but all to no avail.

This is getting *really* frustrating right about now and any hints as to
what stupid thing I might be doing would be greatly appreciated.

Evidently I can't create the shared lib links in the Makefile if I
intend to install via RPM as I get an error from rpmbuild when I do that.

Thanks for any help.

Ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpg1KwACgkQH0OpnUzq8fCgvwCgoYB66ee6nuLeQMJ6fRFCLlGO
z1cAnAuHWI4cfNRYk6kd+YcqDYd1HcBq
=z5XE
-----END PGP SIGNATURE-----



More information about the LUG mailing list