[OpenAFS] Re: Kerberos V and xscreensaver/xlock

Balazs GAL balsa@rit.bme.hu
04 Nov 2002 21:54:42 +0100


2002-11-04, h keltez=E9ssel Henry B. Hotz ezt =EDrta:

> I found a couple of minor bugs.  Note the differences in=20
> /afs/jpl/home/h/hotz/public/pam/pam_krb5_snap/pam_krb5afs.c{,.orig}.=20
> The link step still fails.  See the make.log[0-9] files.

Thanks. I corrected the typo.


<http://developer.apple.com/techpubs/macosx/Darwin/PortingUNIX/compiling/in=
dex.html> provides a clue?

thanks for the link.

>=20
> Or maybe not.  I tried copying the config.guess and config.sub files=20
> from the autoconf 1.6 which came with the system and now its really=20
> unhappy because your stuff uses 1.6.1 it would appear.  Or maybe it's=20
> really 1.6.1 and you stuff is older?

I use
automake (GNU automake) 1.4-p6
Autoconf version 2.13

and now
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36)

> The ld man page says:  -dylib_install_name <name>  For dynamic shared=20
> library files, specifies the name of the file the library will be=20
> installed in for programs that use it.  If this is not specified, the=20
> name specified in the -o <name> option will be used.  This option is=20
> used as the libtool(1) -install_name <name> option when its -dynamic=20
> option is specified.
>=20
> I'm pretty sure that current versions of libtool understand the Apple=20
> linker.  I just don't understand libtool.  From the filetype of the=20
> installed pam modules I'm sure the -bundle ld option has to get in=20
> there somehow, but that may not help.

It is a libtool bug which is now corrected in libtool (from Changelog)
2002-10-11  Christoph Egger  <Christoph_Egger@gmx.de>

        * libtool.m4 (darwin): Add -install_name to the link line only
        when -dynamiclib is specified for a module.
        * ltmain.in (darwin): Use -bind_at_load when linking shared
        libraries.

the bug was discovered by Wilfredo S=E1nchez
http://www.mail-archive.com/dev@httpd.apache.org/msg12718.html

Now I use libtool 1.4.3 (1.922.2.111 2002/10/23 02:54:36)

If Your libtool is older than 2002-10-11, please
never run aclocal, autoreconf etc etc.

Please try pam_krb5_snap-2002.11.04.tar.gz.

Have any sense of library versioning with darwin's bundles?

Thanks.

balsa