Cyrus SASL

Hiro Lalwani meetmehiro at gmail.com
Mon Sep 7 16:18:38 EDT 2009


 Hi Kyle,

 Thanks a lot.

 I am using Cyrus-SASL---2.1.23 version.

 Please find below run.sh file

================================================================================
export LIBS="-lgss -lkrb5 -lk5crypto -lcom_err -lcrypto -lpthread"
export CC="cc"
export LDFLAGS="-Wl,+nodefaultrpath -L/usr/local/lib"
export CPPFLAGS="-I/opt/openssl/include/openssl -I/usr/local/include"
*./configure --prefix=/opt/iexpress/cyrussasl --enable-krb4 \
--enable-login=yes --with-openssl=/opt/openssl \
--with-bdb-incdir=/usr/local/include --enable-static --enable-shared=yes \
--enable-digest=yes --enable-gssapi=yes
*
==============================================================================================

Could you please help me , How can I resove this undefiend symbol ?

thanks
Hiro Lalwani
On Tue, Sep 8, 2009 at 1:31 AM, Kyle Chapman <Kyle.Chapman at pb.com> wrote:

>  greetings...  well, it seems your build went a bit off, though i am late
> to this thread.  what options did you use for configure?  in older sasl
> releases i had to drop in a newer libtool script on hp to get things working
> ok.  i dont suggest you need to do that at this point as this is a newer ver
> of sasl.
>
> my old config options i have used in the past on hp:
> ./configure --disable-krb4 --disable-static --enable-shared
> --with-openssl=/opt/openssl --enable-gssapi=/usr/lib --without-dblib
> this was specific for what i needed.  i put it here for ref only, and not
> to suggest you replicate something that may not work for you.
>
>  ------------------------------
> *From:* Hiro Lalwani [mailto:meetmehiro at gmail.com]
> *Sent:* Monday, September 07, 2009 3:28 PM
> *To:* Kyle Chapman
>
> *Cc:* cyrus-sasl at lists.andrew.cmu.edu
> *Subject:* Re: Cyrus SASL
>
>   Hi Kyle,
>
> Thanks a lot for your response.
>
> Please find the chatr output below.
>
>  chatr /usr/lib/sasl2/libdigestmd5.so.2
> /usr/lib/sasl2/libdigestmd5.so.2:
>          32-bit ELF shared library
>          shared library dynamic path search:
>              LD_LIBRARY_PATH    enabled  first
>              SHLIB_PATH         enabled  second
>              embedded path      enabled  third  Not Defined
>          internal name:
>              libdigestmd5.so.2
>          shared library mapped private disabled
>          shared vtable support disabled
>          explicit unloading enabled
>          linkage table protection disabled
>          segments:
>              index type     address      flags size
>                  7 text     04000000     z---c-    D (default)
>                  8 data     40010000     ---m--    D (default)
>          kernel assisted branch prediction enabled
>          lazy swap allocation for dynamic segments disabled
>          nulptr dereferences trap disabled
>          address space model: default
>          caliper dynamic instrumentation disabled
>
> *Could you please tell me, How I will resolve this undefined symbol ?*
>
> Thanks
> Hiro Lalwani
> On Tue, Sep 8, 2009 at 12:25 AM, Kyle Chapman <Kyle.Chapman at pb.com> wrote:
>
>>  run: chatr /usr/lib/sasl2/libdigestmd5.sl.2
>> look for thesections:
>> shared library dynamic path search:
>> and
>> shared library list:
>>
>> libcrypto is probably listed, but the path to it isnt in the library
>> search path.
>>
>>  ------------------------------
>> *From:* cyrus-sasl-bounces+kyle_chapman=g1.com at lists.andrew.cmu.edu[mailto:
>> cyrus-sasl-bounces+kyle_chapman <cyrus-sasl-bounces%2Bkyle_chapman>=
>> g1.com at lists.andrew.cmu.edu] *On Behalf Of *Hiro Lalwani
>> *Sent:* Monday, September 07, 2009 2:31 PM
>> *To:* Alexey Melnikov
>> *Cc:* cyrus-sasl at lists.andrew.cmu.edu
>> *Subject:* Re: Cyrus SASL
>>
>>   Hi Alexey,
>>
>> thanks a lot for your response.
>>
>> Please find my response.
>>
>> >Feb 04 05:30:18 unix sm-mta[1037]: unable to dlopen
>> /usr/lib/sasl2/libdigestmd5.sl.2: Unresolved symbol: DES_key_sched (code)
>> from
>> /usr/lib/sasl2/libdigestmd5.sl.2
>>
>> >>>This looks like a symbol exported from one of OpenSSL libraries.
>>
>> <HIRO> ldd -r /usr/lib/sasl2/libdigestmd5.so.2
>>         symbol not found: malloc        (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: _memcpy       (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: uname (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: _memset       (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: freeaddrinfo  (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: _isupper      (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strerror      (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: snprintf      (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: DES_key_sched (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: sprintf       (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strncpy       (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: getaddrinfo   (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strpbrk       (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: __SB_masks    (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strcasecmp    (/usr/lib/sasl2/libdigestmd5.so.2)
>>         *symbol not found: DES_ede3_cbc_encrypt
>> (/usr/lib/sasl2/libdigestmd5.so.2)*
>>         symbol not found: free  (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: _isdigit      (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strncasecmp   (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: DES_cbc_encrypt
>> (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strcat        (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strchr        (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strcmp        (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strcpy        (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strdup        (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strlen        (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: strtol        (/usr/lib/sasl2/libdigestmd5.so.2)
>>         symbol not found: time  (/usr/lib/sasl2/libdigestmd5.so.2)
>>
>>
>>> >Feb 04 05:30:18 unix sm-mta[1037]: unable to dlopen
>>> /usr/lib/sasl2/libgssapiv2.sl.2: Unresolved symbol:
>>> GSS_C_NT_HOSTBASED_SERVICE (data) from
>>> >/usr/lib/sasl2/libgssapiv2.sl.2
>>>
>>> >>>>Which version of Kerberos are you using?
>>
>> <HIRO>" T1417AA                               C.03.02        Kerberos
>> Server Version 3.0 and its Administration Utilities"
>>
>>
>>> >Feb 04 05:30:19 unix sm-mta[1037]: unable to dlopen
>>> /usr/lib/sasl2/libotp.sl.2: Unresolved symbol: EVP_DigestInit (code) from
>>>
>>> >>>This looks like a symbol exported from one of OpenSSL libraries.
>>  <HIRO>ldd -r /usr/lib/sasl2/libotp.so.2
>>         symbol not found: _isalpha      (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: _isalnum      (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: _memcpy       (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: _memcmp       (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: uname (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: _memset       (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: freeaddrinfo  (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: strerror      (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: snprintf      (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: sprintf       (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: strncpy       (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: strncmp       (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: getaddrinfo   (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: sscanf        (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: strtoul       (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: EVP_cleanup   (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: __SB_masks    (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: OpenSSL_add_all_digests
>> (/usr/lib/sasl2/libotp.so.2)
>>         *symbol not found: EVP_DigestUpdate
>> (/usr/lib/sasl2/libotp.so.2)*
>>         symbol not found: strcasecmp    (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: sleep (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: EVP_get_digestbyname
>> (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: _isspace      (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: EVP_DigestFinal
>> (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: _isxdigit     (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: _isdigit      (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: strncasecmp   (/usr/lib/sasl2/libotp.so.2)
>>         *symbol not found: EVP_DigestInit
>> (/usr/lib/sasl2/libotp.so.2)*
>>         symbol not found: tolower       (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: strcat        (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: strchr        (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: strcpy        (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: bsearch       (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: strlen        (/usr/lib/sasl2/libotp.so.2)
>>         symbol not found: time  (/usr/lib/sasl2/libotp.so.2)
>>
>>
>>
>> *Could you please tell me, what I am missing ? How can I resolve this?*
>>
>> regards
>> Hiro Lalwani
>>
>>
>>
>>
>> On Sun, Sep 6, 2009 at 11:09 PM, Alexey Melnikov <
>> alexey.melnikov at isode.com> wrote:
>>
>>> Hiro Lalwani wrote:
>>>
>>> Hi All,
>>>>
>>>
>>> Hi Hiro,
>>>
>>>> I am not able to use the GSSAPI and Digest-MD5 for my sendmail 8.13.3 on
>>>> HP-UX . I have cyrusSASL2.1.23. I am getting following error in the syslog.
>>>>
>>>> Feb 04 05:30:18 unix sm-mta[1037]: unable to dlopen
>>>> /usr/lib/sasl2/libdigestmd5.sl.2: Unresolved symbol: DES_key_sched (code)
>>>> from
>>>> /usr/lib/sasl2/libdigestmd5.sl.2
>>>>
>>>> This looks like a symbol exported from one of OpenSSL libraries.
>>>
>>> Feb 04 05:30:18 unix sm-mta[1037]: unable to dlopen
>>>> /usr/lib/sasl2/libgssapiv2.sl.2: Unresolved symbol:
>>>> GSS_C_NT_HOSTBASED_SERVICE (data) from
>>>> /usr/lib/sasl2/libgssapiv2.sl.2
>>>>
>>>> Which version of Kerberos are you using?
>>>
>>> Feb 04 05:30:19 unix sm-mta[1037]: unable to dlopen
>>>> /usr/lib/sasl2/libotp.sl.2: Unresolved symbol: EVP_DigestInit (code) from
>>>>
>>>> This looks like a symbol exported from one of OpenSSL libraries.
>>>
>>> /usr/lib/sasl2/libotp.sl.2
>>>>
>>>> Can you run ldd on these 3 shared libraries (or whatever is equivalent
>>> on HP-UX) .
>>>
>>>
>>>
>>>> I am using CyrusSASL 2.1.23  And all mechanism other than digest-md5 and
>>>> gss-api are working fine. But I need help in one point that when I did
>>>> telnet 0 25 it is not showing digest-md5 as well as gss-api in 250 AUTH
>>>> message. So may be I am faultering in configuration. But I have followed all
>>>> required steps which are same for all mechanism.
>>>>
>>>> So can please anybody help me in configuration
>>>>
>>>> Can anybody help me
>>>>
>>>>
>>>
>>
>>
>> --
>> thanks & regards
>> Hiro Lalwani
>>
>
>
>
> --
> thanks & regards
> Hiro Lalwani
>



-- 
thanks & regards
Hiro Lalwani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/cyrus-sasl/attachments/20090908/c1e25c61/attachment-0001.html 


More information about the Cyrus-sasl mailing list