Em 09/04/11 22:28, Amos Jeffries escreveu:
-L is the library .so location parameter.
-I is the local library header files location parameter
In 2.7 this should be as simple as:
LDFLAGS="-L/usr/local/lib64/" \
CFLAGS="-I/usr/local/include/" \
./configure
cd helpers/negotiate_auth/squid_kerb_auth/
make
Hi Amos,
i've tried the steps you provided but squid_kerb_auth binary is
still getting linked to system kerberos libraries
[root@mtzsvmsquid squid_kerb_auth]# ls /usr/local/include
com_err.h gssapi gssapi.h gssrpc kadm5 kdb.h krb5 krb5.h profile.h
[root@mtzsvmsquid squid_kerb_auth]#
[root@mtzsvmsquid squid_kerb_auth]# ls /usr/local/lib
krb5 libgssapi_krb5.so libgssrpc.so.4
libk5crypto.so.3.1 libkadm5clnt.so libkadm5srv.so
libkrb5.so libkrb5support.so.0
libcom_err.so libgssapi_krb5.so.2 libgssrpc.so.4.1
libkadm5clnt_mit.so libkadm5srv_mit.so libkdb5.so
libkrb5.so.3 libkrb5support.so.0.1
libcom_err.so.3 libgssapi_krb5.so.2.2 libk5crypto.so
libkadm5clnt_mit.so.8 libkadm5srv_mit.so.8 libkdb5.so.5
libkrb5.so.3.3
libcom_err.so.3.0 libgssrpc.so libk5crypto.so.3
libkadm5clnt_mit.so.8.0 libkadm5srv_mit.so.8.0 libkdb5.so.5.0
libkrb5support.so
[root@mtzsvmsquid squid_kerb_auth]#
[root@mtzsvmsquid squid_kerb_auth]# set | grep FLAGS
CFLAGS=-I/usr/local/include/
LDFLAGS=-L/usr/local/lib/
[root@mtzsvmsquid squid_kerb_auth]#
[root@mtzsvmsquid squid_kerb_auth]# ldd squid_kerb_auth | grep krb
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2
(0x00000036e9200000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00000036eb600000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0
(0x00000036ec200000)
[root@mtzsvmsquid squid_kerb_auth]#
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes@xxxxxxxxxxxxxx
My SPAMTRAP, do not email it