Compiling Cyrus SASL 1.5.27 on Solaris 8

Compiling Cyrus SASL 1.5.27 on Solaris 8

Post by Rich Tee » Sun, 16 Dec 2001 13:37:22



Hi all,

I'm having real trouble building Cyrus SASL 1.5.27 for Solaris 8
(SPARC).  The annoying thing is, I have previously built 1.5.24
(on Solaris 7, I think).  That was a while ago, but I'm following
the notes I made at the time.  THe final idea behind all this is
to build sendmail 8.12.1 with SMTP AUTHentication.

Here's my configure line (wrapped for easy posting):

        ./configure --prefix=/opt/local --libexecdir=/opt/local/sbin \
                --enable-login --with-plugindir=/opt/local/lib/sasl

When I run make, I get a few warnings like this:

        *** Warning: This library needs some functionality provided by -lgssapi_krb5.
        *** I have the capability to make that library automatically link in when
        *** you link to this library.  But I can only do this if you have a
        *** shared version of the library, which you do not appear to have.

        *** Warning: This library needs some functionality provided by -lkrb5.
        *** I have the capability to make that library automatically link in when
        *** you link to this library.  But I can only do this if you have a
        *** shared version of the library, which you do not appear to have.

        *** Warning: This library needs some functionality provided by -lk5crypto.
        *** I have the capability to make that library automatically link in when
        *** you link to this library.  But I can only do this if you have a
        *** shared version of the library, which you do not appear to have.

        *** Warning: This library needs some functionality provided by -lcom_err.
        *** I have the capability to make that library automatically link in when
        *** you link to this library.  But I can only do this if you have a
        *** shared version of the library, which you do not appear to have.
        *** The inter-library dependencies that have been dropped here will be
        *** automatically added whenever a program is linked with this library
        *** or is declared to -dlopen it.

And then later on, I get errors like this:

        Making all in utils
        make[2]: Entering directory `/home/rich/build/solaris-8/cyrus-sasl-1.5.27/utils'
        gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -I/usr/local/include   -Wall -W -g -O2 -c dbconverter-1.5.9.c
        /bin/sh ../libtool --mode=link gcc  -Wall -W -g -O2 -L/usr/local/lib -R/usr/local/lib  -o dbconverter-1.5.9  dbconverter-1.5.9.o ../lib/libsasl.la  -lresolv -lresolv
        mkdir .libs
        gcc -Wall -W -g -O2 -L/usr/local/lib -o .libs/dbconverter-1.5.9 dbconverter-1.5.9.o ../lib/.libs/libsasl.so -ldl -lpam -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lsocket -lnsl -lresolv -lresolv -lresolv -lresolv -R/opt/local/lib -R/usr/local/lib
        ld: fatal: library -lgssapi_krb5: not found
        ld: fatal: library -lkrb5: not found
        ld: fatal: library -lk5crypto: not found
        ld: fatal: library -lcom_err: not found
        ld: fatal: File processing errors. No output written to .libs/dbconverter-1.5.9
        collect2: ld returned 1 exit status
        make[2]: *** [dbconverter-1.5.9] Error 1
        make[2]: Leaving directory `/home/rich/build/solaris-8/cyrus-sasl-1.5.27/utils'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/home/rich/build/solaris-8/cyrus-sasl-1.5.27'
        make: *** [all-recursive-am] Error 2

It seems like I don't have libgssapi_krb5, krb5, k5crypto, and com_err.
I'm pretty sure the previous machine didn't have them either (but it was
a while ago, so I won't swear to it).  Where can I get them from?

Two URLs mentioned in the docs (www.pdc.kth.se/kth-krb and
www.pdc.kth.se/heimdal) weren't immediately useful.  Nor
was google!

Any ideas?

Many TIA,

--
Rich Teer                                            .  *   * . * .* .
                                                     .   *   .   .*
President,                                            .  . /\ ( .  . *
Rite Online Inc.                                     . .  / .\   . * .
                                                     *.  / *  \  . .
                                                      . /*   o \     .
Voice: +1 (250) 979-1638                                '''||'''   .
URL: http://www.rite-online.net                     ******************

 
 
 

Compiling Cyrus SASL 1.5.27 on Solaris 8

Post by ynotsso » Sun, 16 Dec 2001 14:40:07



...

Quote:> It seems like I don't have libgssapi_krb5, krb5, k5crypto, and com_err.
> I'm pretty sure the previous machine didn't have them either (but it was
> a while ago, so I won't swear to it).  Where can I get them from?

> Two URLs mentioned in the docs (www.pdc.kth.se/kth-krb and
> www.pdc.kth.se/heimdal) weren't immediately useful.  Nor
> was google!

> Any ideas?

...

I entered "krb5 library" into google and found:

http://archive.ncsa.uiuc.edu/General/CC/kerberos/pam/krb5_pam.html which leads
to ftp://ftp.dementia.org/pub/pam/pam_krb5-1.1.3.tar.gz

   tony

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

Compiling Cyrus SASL 1.5.27 on Solaris 8

Post by Neil W Ricker » Sun, 16 Dec 2001 14:57:09



>I'm having real trouble building Cyrus SASL 1.5.27 for Solaris 8
>(SPARC).  The annoying thing is, I have previously built 1.5.24
>(on Solaris 7, I think).  That was a while ago, but I'm following
>the notes I made at the time.  THe final idea behind all this is
>to build sendmail 8.12.1 with SMTP AUTHentication.
>Here's my configure line (wrapped for easy posting):
>    ./configure --prefix=/opt/local --libexecdir=/opt/local/sbin \
>            --enable-login --with-plugindir=/opt/local/lib/sasl
>When I run make, I get a few warnings like this:

Checking config.status, I see that I used

 ./configure  --prefix=/opt/sasl --enable-login --disable-gssapi --disable-krb4

As I recall (from earlier versions), there are incompatibility problems
if you don't disable the kerberos stuff.

And yes, I am currently using this with sendmail-8.12.x

 
 
 

Compiling Cyrus SASL 1.5.27 on Solaris 8

Post by Rich Tee » Sun, 16 Dec 2001 15:09:52


On Fri, 14 Dec 2001, it was written:

Quote:> I entered "krb5 library" into google and found:

> http://archive.ncsa.uiuc.edu/General/CC/kerberos/pam/krb5_pam.html which leads
> to ftp://ftp.dementia.org/pub/pam/pam_krb5-1.1.3.tar.gz

Hi Tony,

Thanks for the pointer.  I've just come up with another
solution (it's amazing what a break and some food will
do fro the creative process!): disable most of the
authentications schemes, thus not requiring the libraries
in the first place!  :-)

--
Rich Teer                                            .  *   * . * .* .
                                                     .   *   .   .*
President,                                            .  . /\ ( .  . *
Rite Online Inc.                                     . .  / .\   . * .
                                                     *.  / *  \  . .
                                                      . /*   o \     .
Voice: +1 (250) 979-1638                                '''||'''   .
URL: http://www.rite-online.net                     ******************

 
 
 

Compiling Cyrus SASL 1.5.27 on Solaris 8

Post by Rich Tee » Mon, 17 Dec 2001 04:26:33



Quote:> Checking config.status, I see that I used

>  ./configure  --prefix=/opt/sasl --enable-login --disable-gssapi --disable-krb4

Hi Neil,

Thanks for the hints.  I tried something like that (I use enable-foo=no
instead), but I still got a warning from the digest stuff:

        *** Warning: This library needs some functionality provided by -ldes.
        *** I have the capability to make that library automatically link in when
        *** you link to this library.  But I can only do this if you have a
        *** shared version of the library, which you do not appear to have.
        *** The inter-library dependencies that have been dropped here will be
        *** automatically added whenever a program is linked with this library
        *** or is declared to -dlopen it.

Although, everything seemed to build OK.  (I guess that there would
be run time errors if I'd used that version.)

So, I disabled the digest method too.  Using this configure line,
it built fine:

        ./configure --prefix=/opt/local --libexecdir=/opt/local/sbin \
                --enable-login --with-plugindir=/opt/local/lib/sasl \
                --enable-krb4=no --enable-gssapi=no --enable-digest=no

I am now a happy camper!

Thanks to everyone who responded,

--
Rich Teer                                            .  *   * . * .* .
                                                     .   *   .   .*
President,                                            .  . /\ ( .  . *
Rite Online Inc.                                     . .  / .\   . * .
                                                     *.  / *  \  . .
                                                      . /*   o \     .
Voice: +1 (250) 979-1638                                '''||'''   .
URL: http://www.rite-online.net                     ******************