Hi Dosman, I think you use the wrong LIBPATH. The first time you run make you don't have any libraries in /usr/local/lib nor in usr/local/apps/kerberos-1.6.1 to link against, so you need to point to the lib directory of your kerberos src distribution. The --prefix will then set with -blibpath the correct runtime libpath.
Markus "dosman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, I've seem some references to this issue before without resolution, > has anyone been able to compile Kerberos 1.6 on AIX successfully? I've > tried with both the IBM compiler and gcc, both IBM & GNU's ld seems to > get confused during the link of gssrpc and associated libs. My IBM C is > version 7.0.0.4, my GNU compiler is the IBM distribution of 4.0.0. My OS > is AIX 5.3 TL04, the machine is p630. > > I don't know if it's worth noting but configure picks up the IBM ld even > if it's not in the path, I resorted to renaming /usr/bin/ld in order to > force the GNU compile to stop using the IBM ld. > > > Output from the IBM compiler: > > export CC=cc > export CFLAGS='-D_LARGE_FILES -DLANL -DLANL_ICN'; export CFLAGS > export LIBPATH=/usr/lib:/usr/local/lib:/opt/freeware/lib > > ./configure --prefix=/usr/local/apps/kerberos-1.6.1 --without-threads > ... > make > ... > Target "all" is up to date. > : ../../include/gssapi/gssapi.h updated by recursion rule > : generic/gssapi_err_generic.h updated by recursion rule > : krb5/gssapi_err_krb5.h updated by recursion rule > : krb5/gssapi_krb5.h updated by recursion rule > Target "all" is up to date. > Target "all" is up to date. > making all in lib/rpc... > making all in lib/rpc/unit-test... > Target "all" is up to date. > cc -L../../../lib > -blibpath:/usr/local/apps/kerberos-1.6.1/lib::/usr/lib:/lib > -D_LARGE_FILES -DLANL > -DLANL_ICN -qhalt=e -O -D_THREAD_SAFE -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 gssrpc > ld:open(): A file or directory in the path name does not exist. > ld: 0706-006 Cannot find or open library file: -l gssapi_krb5 > ld:open(): A file or directory in the path name does not exist. > ld: 0706-006 Cannot find or open library file: -l krb5 > ld:open(): A file or directory in the path name does not exist. > 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. > make: 1254-004 The error code from the last command is 255. > ... > > -------------------------------------------------------------------------------------------- > Here is the output from GNU: > > export CC=gcc > export export PATH=/opt/freeware/bin:/usr/local/bin:/usr/bin:/usr/sbin > export LIBPATH=/opt/freeware/lib:/usr/local/lib:/usr/lib > > ./configure --prefix=/usr/local/apps/kerberos-1.6.1 > --disable-thread-support > ... > gmake > ... > make[3]: Entering directory > `/export/install/freeware/auth/krb5-1.6.1/src/lib/rpc/unit-test' > /opt/freeware/bin/gcc -L../../../lib > -Wl,-blibpath:/usr/local/apps/kerberos-1.6.1/lib::/usr/lib:/lib -g -O2 > -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion > -Wshadow -pedantic -o client client.o rpc_test_clnt.o \ > -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support > /usr/local/bin/ld: cannot find -lgssrpc > collect2: ld returned 1 exit status > make[3]: *** [client] Error 1 > make[3]: Leaving directory > `/export/install/freeware/auth/krb5-1.6.1/src/lib/rpc/unit-test' > make[2]: *** [all-recurse] Error 1 > make[2]: Leaving directory > `/export/install/freeware/auth/krb5-1.6.1/src/lib/rpc' > make[1]: *** [all-recurse] Error 1 > make[1]: Leaving directory > `/export/install/freeware/auth/krb5-1.6.1/src/lib' > make: *** [all-recurse] Error 1 > > > > Any hints or suggestions? > Thanks! > > > > ________________________________________________ > Kerberos mailing list [email protected] > https://mailman.mit.edu/mailman/listinfo/kerberos > ________________________________________________ Kerberos mailing list [email protected] https://mailman.mit.edu/mailman/listinfo/kerberos
