Libgssglue

From CBLFS
Revision as of 12:50, 16 November 2008 by Jciccone (talk | contribs) (Multilib)
Jump to navigationJump to search
Download Source: http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/libgssglue-0.1.tar.gz

Introduction to Libgssglue

This library exports a gssapi interface, but doesn't implement any gssapi mechanisms itself; instead it calls gssapi routines in other libraries, depending on the mechanism.

Project Homepage: http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/

Dependencies

Non-Multilib

Configure and compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Relocate Libraries:

mv -v /usr/lib/libgssglue.so.1* /lib &&
ln -sfv ../../lib/libgssglue.so.1 /usr/lib/libgssglue.so

Install the Configuration File if you haven't already done so in Libgssapi:

install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech.conf

If you moved libgssapi_krb5.so to /lib then you need to make the following change to gssapi_mech.conf so it knows where to find the Kerberos gssapi library:

sed -i "/libgssapi_krb5.so/s@/usr/lib@/lib@" /etc/gssapi_mech.conf

Multilib

32Bit

Configure and compile the package:

sed -i "/MECH_CONF/s@\.conf@-32&@" src/g_initialize.c &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

Relocate Libraries:

mv -v /usr/lib/libgssglue.so.1* /lib &&
ln -sfv ../../lib/libgssglue.so.1 /usr/lib/libgssglue.so

Install the Configuration File if you haven't already done so in Libgssapi:

install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech-32.conf &&
sed -i "/libgssapi_krb5.so/s/\\.so/&.2/" /etc/gssapi_mech-32.conf

If you moved libgssapi_krb5.so to /lib then you need to make the following change to gssapi_mech.conf so it knows where to find the Kerberos gssapi library:

sed -i "/libgssapi_krb5.so/s@/usr/lib@/lib@" /etc/gssapi_mech-32.conf

N32

Configure and compile the package:

sed -i "/MECH_CONF/s@\.conf@-n32&@" src/g_initialize.c &&
CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

make install

Relocate Libraries:

mv -v /usr/lib32/libgssglue.so.1* /lib32 &&
ln -sfv ../../lib32/libgssglue.so.1 /usr/lib32/libgssglue.so

Install the Configuration File if you haven't already done so in Libgssapi:

install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech-n32.conf &&
sed -i "s@lib/@lib32/@g" /etc/gssapi_mech-n32.conf &&
sed -i "/libgssapi_krb5.so/s/\\.so/&.2/" /etc/gssapi_mech-n32.conf

If you moved libgssapi_krb5.so to /lib then you need to make the following change to gssapi_mech.conf so it knows where to find the Kerberos gssapi library:

sed -i "/libgssapi_krb5.so/s@/usr/li32b@/lib32@" /etc/gssapi_mech-n32.conf

64Bit

Configure and compile the package:

sed -i "/MECH_CONF/s@\.conf@-64&@" src/g_initialize.c &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install

Relocate Libraries:

mv -v /usr/lib64/libgssglue.so.1* /lib64 &&
ln -sfv ../../lib64/libgssglue.so.1 /usr/lib64/libgssglue.so

Install the Configuration File if you haven't already done so in Libgssapi:

install -m644 -v doc/gssapi_mech.conf /etc/gssapi_mech-64.conf &&
sed -i "s@lib/@lib64/@g" /etc/gssapi_mech-64.conf &&
sed -i "/libgssapi_krb5.so/s/\\.so/&.2/" /etc/gssapi_mech-64.conf

If you moved libgssapi_krb5.so to /lib then you need to make the following change to gssapi_mech.conf so it knows where to find the Kerberos gssapi library:

sed -i "/libgssapi_krb5.so/s@/usr/lib64@/lib64@" /etc/gssapi_mech.conf