Date: | Tue, 07 Feb 2006 14:34:53 -0500 |
From: | Jeff Blaine <jblaine@mitre.org> |
To: | krb5-bugs@mit.edu |
Subject: | 1.4.3 : Solaris 9, LDFLAGS selectively ignoring during build |
The following are 'output' items which paid lip-service to
LDFLAGS="-L/usr/local/lib -R/usr/local/lib" during a Kerb5
build under Solaris 9 with GCC and /usr/ccs/bin/ld.
Anything other than these items (e.g. almost anything I
care about) fails to run due to the missing library
search(es) I need. All are, of course, sitting in
/usr/local/lib.
I am dead in the water unless I start slugging through
the code :(
LDFLAGS="-L/usr/local/lib -R/usr/local/lib" during a Kerb5
build under Solaris 9 with GCC and /usr/ccs/bin/ld.
Anything other than these items (e.g. almost anything I
care about) fails to run due to the missing library
search(es) I need. All are, of course, sitting in
/usr/local/lib.
I am dead in the water unless I start slugging through
the code :(
Show quoted text
> src # grep -- '-o ' make.log | grep -- '-R/usr/local/lib'
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o aes-gen aes-gen.o aescrypt.o aestab.o aeskey.o
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o client client.o rpc_test_clnt.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o server server.o rpc_test_svc.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o init-test init-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o destroy-test destroy-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o client-handle-test handle-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o client-iter-test iter-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o randkey-test randkey-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o server-handle-test handle-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o lock-test lock-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o server-iter-test iter-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o server-setkey-test setkey-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o client-setkey-test setkey-test.o \
> gcc -L../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o krb5kdc kdc5_err.o dispatch.o do_as_req.o do_tgs_req.o kdc_util.o kdc_preauth.o logger.o main.o network.o policy.o extern.o replay.o kerberos_v4.o -lkadm5srv -lkdb5 -lgssrpc -lgssapi_krb5 -ldes425 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lresolv -lsocket -lnsl -lapputils
> gcc -L../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o rtest rtest.o kdc_util.o policy.o extern.o -lkdb5 -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lresolv -lsocket -lnsl
> src #
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o aes-gen aes-gen.o aescrypt.o aestab.o aeskey.o
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o client client.o rpc_test_clnt.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o server server.o rpc_test_svc.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o init-test init-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o destroy-test destroy-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o client-handle-test handle-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o client-iter-test iter-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o randkey-test randkey-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o server-handle-test handle-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o lock-test lock-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o server-iter-test iter-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o server-setkey-test setkey-test.o \
> gcc -L../../../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o client-setkey-test setkey-test.o \
> gcc -L../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o krb5kdc kdc5_err.o dispatch.o do_as_req.o do_tgs_req.o kdc_util.o kdc_preauth.o logger.o main.o network.o policy.o extern.o replay.o kerberos_v4.o -lkadm5srv -lkdb5 -lgssrpc -lgssapi_krb5 -ldes425 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lresolv -lsocket -lnsl -lapputils
> gcc -L../lib -R/export/home/krb5/lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -pedantic -L/usr/local/lib -R/usr/local/lib -o rtest rtest.o kdc_util.o policy.o extern.o -lkdb5 -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lresolv -lsocket -lnsl
> src #