eva2000
Verified User
- Joined
- Jul 1, 2019
- Messages
- 126
Might be specific issue with centos 6's krb5-devel missing corresponding *.pc files ?
centos 6 has
centos 7 has
so for centos 6 with PHP 7.4 would need to use KERBEROS_CFLAGS and KERBEROS_LIBS environment variables to point PHP 7.4 to the right location for krb5 and krb5-gasspi
centos 6 has
Code:
rpm -ql krb5-devel | egrep 'lib64|\.pc'
/usr/lib64/libgssapi_krb5.so
/usr/lib64/libgssrpc.so
/usr/lib64/libk5crypto.so
/usr/lib64/libkdb5.so
/usr/lib64/libkrb5.so
/usr/lib64/libkrb5support.so
Code:
rpm -ql krb5-devel | egrep 'lib64|\.pc'
/usr/lib64/libgssapi_krb5.so
/usr/lib64/libgssrpc.so
/usr/lib64/libk5crypto.so
/usr/lib64/libkdb5.so
/usr/lib64/libkrad.so
/usr/lib64/libkrb5.so
/usr/lib64/libkrb5support.so
/usr/lib64/pkgconfig/gssrpc.pc
/usr/lib64/pkgconfig/kadm-client.pc
/usr/lib64/pkgconfig/kadm-server.pc
/usr/lib64/pkgconfig/kdb.pc
/usr/lib64/pkgconfig/krb5-gssapi.pc
/usr/lib64/pkgconfig/krb5.pc
/usr/lib64/pkgconfig/mit-krb5-gssapi.pc
/usr/lib64/pkgconfig/mit-krb5.pc
Code:
cat /usr/lib64/pkgconfig/krb5-gssapi.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include
vendor=MIT
Name: krb5-gssapi
Description: Kerberos implementation of the GSSAPI
Version: 1.15.1
Requires: mit-krb5-gssapi
Code:
cat /usr/lib64/pkgconfig/krb5.pc
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include
vendor=MIT
defccname=FILE:/tmp/krb5cc_%{uid}
defktname=FILE:/etc/krb5.keytab
defcktname=FILE:/var/kerberos/krb5/user/%{euid}/client.keytab
Name: krb5
Description: An implementation of Kerberos network authentication
Version: 1.15.1
Requires: mit-krb5