Using gcc to compile KRB5 1.6 on AIX 5.3
Park_Richard@blm.gov
Park_Richard at blm.gov
Wed May 2 16:00:42 EDT 2007
I apologize in advance for my ignorance.
I'm getting the following error when I "make" krb5 1.6 on AIX 5.3:
###########snip###################
gcc -L../../../lib -Wl,-blibpath:/usr/local/lib::/usr/lib:/lib -g
-O2 -W all
-Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow
-pedant ic
-D_THREAD_SAFE -L-brtl -o client client.o rpc_test_clnt.o -lgssrpc
-lgssapi _krb5
-lkrb5 -lk5crypto -lcom_err -lkrb5support -lpthreads
ld: 0706-006 Cannot find or open library file: -l k5crypto
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l com_err
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l krb5support
ld:open(): A file or directory in the path name does not exist.
collect2: ld returned 255 exit status
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
###########snip###################
I note that Lamar Saxon had a similar problem using xlc. I tried the fix
that Phil Pishioneri suggested in
http://mailman.mit.edu/pipermail/kerberos/2007-February/011234.html which
was to run configure as:
./configure --without-krb4 --prefix=... CC=cc LDFLAGS=-brtl
When I try that using gcc I get the error:
# ./configure --without-krb4 CC=gcc LDFLAGS=-brtl
configure: creating cache ./config.cache
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
I've tried various combinations and I still get the same error. What am I
missing?
More information about the Kerberos
mailing list