Problem compiling pam_krb5 on Solaris 8

Parag Godkar paragg at konark.ncst.ernet.in
Tue Nov 19 00:43:39 EST 2002


> Before "./configure .." and "make" set shell variable:
>
> LD_LIBRARY_PATH=/usr/kerberos/lib; export LD_LIBRARY_PATH
>
> Do "./configure ... "
>
> Edit generated Makefile:
>
> LDFLAGS = -Wl,-rpath -Wl,/usr/kerberos/lib
>
> change to only:
>
> LDFLAGS =
>
> And do "make"
>
> "ld" takes path for its work from variable LD_LIBRARY_PATH.
>

Ah, Thanks that solves my problem.
The make ran cleanly.



>
> During "make" I had got several warnings:
>
> gcc -c -I/usr/local/include -fpic -g -O2 pam_krb5_auth.c
>
> cc1: warning: changing search order for system directory
> "/usr/local/include"
>
> cc1: warning: as it has already been specified as a non-system directory
>

I didn't get any warnings. It was nice and clean.


But now when I run /usr/kerberos/bin/ktutil, I get this error -

ld.so.1: ktutil: fatal: libgcc_s.so.1: open failed: No such file or
directory
Killed

Surprising as both pam5-1.2.6 ( --without-tcl ) and pam_krb5
have been compiled cleanly.

Any Ideas ?

Regards,
Parag Godkar
> Kerberos mailing list           Kerberos at mit.edu
> http://mailman.mit.edu/mailman/listinfo/kerberos
>




More information about the Kerberos mailing list