Cyrus SASL + Compile

Kyle Chapman Kyle.Chapman at pb.com
Thu Sep 10 14:17:22 EDT 2009


also note, do not go patch your system if its not up to date.  i have no idea what else you are running on it so adding patches may give you other headaches.

does libcrammd5.sl, libplain.sl, etc also show missing symbols or is it only those that link to other libs outside of libc?

________________________________
From: Hiro Lalwani [mailto:meetmehiro at gmail.com]
Sent: Thursday, September 10, 2009 1:37 PM
To: Kyle Chapman
Cc: Alexey Melnikov; cyrus-sasl at lists.andrew.cmu.edu
Subject: Re: Cyrus SASL + Compile

 Hi Kyle / Alexey,

I have run the configure with parameters(CC,CFLAGS...)  which is suggested by Kyle on 11.23 PA-UNIX system and still I am seeing same Undefined symbol issue with PA system also.

Please find the below run.sh file , which I have used for the "configure"

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

Could you please look into this and let me know what is still missing?

I am requesting you, please help me to resolve this issue and I am continuously seeing this issue.

=======================================================
        ldd -r libgssapiv2.sl.2.23
        symbol not found: GSS_C_NT_HOSTBASED_SERVICE    (libgssapiv2.sl.2.23)
        symbol not found: GSS_C_NT_USER_NAME    (libgssapiv2.sl.2.23)
=========================================================

if you wanna look into the configure, gmake and gamke_install logs, I can able to share this also.

Thanks in advacne
Hiro Lalwani


On Wed, Sep 9, 2009 at 11:58 PM, Kyle Chapman <Kyle.Chapman at pb.com<mailto:Kyle.Chapman at pb.com>> wrote:
i would not use: LDFLAGS="-Wl,+nodefaultrpath"

is this hpux ai64 and parisc?  i have just built this on 11iv2/parisc and not had this missing symbol issue.  note that i set:
CC=cc -Ae
CFLAGS=-I/usr/local/include
CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib -Wl,+b -Wl,/usr/local/lib


________________________________
From: cyrus-sasl-bounces+kyle_chapman=g1.com<http://g1.com/>@lists.andrew.cmu.edu<http://lists.andrew.cmu.edu/> [mailto:cyrus-sasl-bounces+kyle_chapman<mailto:cyrus-sasl-bounces%2Bkyle_chapman>=g1.com<http://g1.com/>@lists.andrew.cmu.edu<http://lists.andrew.cmu.edu/>] On Behalf Of Hiro Lalwani
Sent: Wednesday, September 09, 2009 2:21 PM
To: Alexey Melnikov
Cc: cyrus-sasl at lists.andrew.cmu.edu<mailto:cyrus-sasl at lists.andrew.cmu.edu>
Subject: Re: Cyrus SASL + Compile

missed to add below also in previous mail for DIGEST-MD5.


ldd -r libdigestmd5.so.2.23
        symbol not found: malloc        (./libdigestmd5.so.2.23)
        symbol not found: _memcpy       (./libdigestmd5.so.2.23)
        symbol not found: uname (./libdigestmd5.so.2.23)
        symbol not found: _memset       (./libdigestmd5.so.2.23)
        symbol not found: freeaddrinfo  (./libdigestmd5.so.2.23)
        symbol not found: _isupper      (./libdigestmd5.so.2.23)
        symbol not found: strerror      (./libdigestmd5.so.2.23)
        symbol not found: snprintf      (./libdigestmd5.so.2.23)
        symbol not found: DES_key_sched (./libdigestmd5.so.2.23)
        symbol not found: sprintf       (./libdigestmd5.so.2.23)
        symbol not found: strncpy       (./libdigestmd5.so.2.23)
        symbol not found: getaddrinfo   (./libdigestmd5.so.2.23)
        symbol not found: strpbrk       (./libdigestmd5.so.2.23)
        symbol not found: __SB_masks    (./libdigestmd5.so.2.23)
        symbol not found: strcasecmp    (./libdigestmd5.so.2.23)
        symbol not found: DES_ede3_cbc_encrypt  (./libdigestmd5.so.2.23)
        symbol not found: free  (./libdigestmd5.so.2.23)
        symbol not found: _isdigit      (./libdigestmd5.so.2.23)
        symbol not found: strncasecmp   (./libdigestmd5.so.2.23)
        symbol not found: DES_cbc_encrypt       (./libdigestmd5.so.2.23)
        symbol not found: strcat        (./libdigestmd5.so.2.23)
        symbol not found: strchr        (./libdigestmd5.so.2.23)
        symbol not found: strcmp        (./libdigestmd5.so.2.23)
        symbol not found: strcpy        (./libdigestmd5.so.2.23)
        symbol not found: strdup        (./libdigestmd5.so.2.23)
        symbol not found: strlen        (./libdigestmd5.so.2.23)
        symbol not found: strtol        (./libdigestmd5.so.2.23)
        symbol not found: time  (./libdigestmd5.so.2.23)


 Please help me to resolve this issue... I am continuously seeing this issue.


Regards
Hiro Lalwani




On Wed, Sep 9, 2009 at 11:40 PM, Hiro Lalwani <meetmehiro at gmail.com<mailto:meetmehiro at gmail.com>> wrote:
Hi Alexey,

I have applied a changes what you have suggested and the issue gets resolved and build successfully done.

I have used the below parameter during configure,

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

But still I am seeing Undefined symbol in below shared libraries after completely successfully  build.

==================================================================================================
itanika7# ldd -r libgssapiv2.so
        symbol not found: gss_display_name      (./libgssapiv2.so)
        symbol not found: _memcpy       (./libgssapiv2.so)
        symbol not found: gss_inquire_context   (./libgssapiv2.so)
        symbol not found: uname (./libgssapiv2.so)
        symbol not found: _memset       (./libgssapiv2.so)
        symbol not found: freeaddrinfo  (./libgssapiv2.so)
        symbol not found: gss_release_name      (./libgssapiv2.so)
        symbol not found: strerror      (./libgssapiv2.so)
        symbol not found: GSS_C_NT_HOSTBASED_SERVICE    (./libgssapiv2.so)
        symbol not found: snprintf      (./libgssapiv2.so)
        symbol not found: sprintf       (./libgssapiv2.so)
        symbol not found: strncpy       (./libgssapiv2.so)
        symbol not found: getaddrinfo   (./libgssapiv2.so)
        symbol not found: gss_acquire_cred      (./libgssapiv2.so)
        symbol not found: __SB_masks    (./libgssapiv2.so)
        symbol not found: gss_init_sec_context  (./libgssapiv2.so)
        symbol not found: gss_import_name       (./libgssapiv2.so)
        symbol not found: gss_delete_sec_context        (./libgssapiv2.so)
        symbol not found: gss_release_buffer    (./libgssapiv2.so)
        symbol not found: gss_wrap      (./libgssapiv2.so)
        symbol not found: gss_compare_name      (./libgssapiv2.so)
        symbol not found: _isdigit      (./libgssapiv2.so)
        symbol not found: GSS_C_NT_USER_NAME    (./libgssapiv2.so)
        symbol not found: gss_unwrap    (./libgssapiv2.so)
        symbol not found: gss_wrap_size_limit   (./libgssapiv2.so)
        symbol not found: gss_display_status    (./libgssapiv2.so)
        symbol not found: gss_accept_sec_context        (./libgssapiv2.so)
        symbol not found: gss_release_cred      (./libgssapiv2.so)
        symbol not found: strcat        (./libgssapiv2.so)
        symbol not found: strchr        (./libgssapiv2.so)
        symbol not found: strcpy        (./libgssapiv2.so)
        symbol not found: strdup        (./libgssapiv2.so)
        symbol not found: strlen        (./libgssapiv2.so)
==============================================================================================================


Could you please tell me, what is wrong here ?

Regards
Hiro Lalwani






On Tue, Sep 8, 2009 at 10:45 PM, Alexey Melnikov <alexey.melnikov at isode.com<mailto:alexey.melnikov at isode.com>> wrote:
Hiro Lalwani wrote:

Hi All,

Hi,
I have downloaded the Cyrus-SASL-2.1.23.
 I am seeing below errors while initiating the "gmake".
 -------------------------------------------------------------------------------------------------------------------------
"common.c", line 500: error #2852: expression must be a pointer to a complete
         object type
             next_buf = last_invec.iov_base + last_invec.iov_len;
                        ^
"common.c", line 516: error #2852: expression must be a pointer to a complete
         object type
                 next_buf = last_invec.iov_base + last_invec.iov_len;

-------------------------------------------------------------------------------------------------------------

I wonder if "last_invec.iov_base" is defined as "void *". Try changing each of the two "last_invec.iov_base" to "(char *)last_invec.iov_base".

Could any of please tell me, How can I resolve this?

--
thanks & regards
Hiro Lalwani





--
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/20090910/ff7a07b4/attachment-0001.html 


More information about the Cyrus-sasl mailing list