RE: Cyrus SASL + Compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



when i check:
 
chatr libgssapiv2.sl
libgssapiv2.sl:
         shared library
         shared library dynamic path search:
             SHLIB_PATH     disabled  second
             embedded path  enabled   first  /usr/lib/sasl2
         internal name:
             libgssapiv2.sl.2
         shared library list:
             dynamic   /opt/mit/lib/libgssapi_krb5.2
             dynamic   /opt/mit/lib/libkrb5.3
             dynamic   /opt/mit/lib/libk5crypto.3
             dynamic   /opt/mit/lib/libcom_err.3
             dynamic   /opt/mit/lib/libkrb5support.0
             dynamic   /usr/lib/libc.2
 
chatr libotp.sl
libotp.sl:
         shared library
         shared library dynamic path search:
             SHLIB_PATH     disabled  second
             embedded path  enabled   first  /usr/lib/sasl2
         internal name:
             libotp.sl.2
         shared library list:
             dynamic   /opt/openssl/lib/libcrypto.sl
             dynamic   /usr/local/lib/libopie.sl.2.4
             dynamic   /usr/lib/libc.2
 
chatr libdigestmd5.sl
libdigestmd5.sl:
         shared library
         shared library dynamic path search:
             SHLIB_PATH     disabled  second
             embedded path  enabled   first  /usr/lib/sasl2
         internal name:
             libdigestmd5.sl.2
         shared library list:
             dynamic   /opt/openssl/lib/libcrypto.sl
             dynamic   /usr/lib/libc.2
 
 
i happen to be using openldap 2.4.17 on this system, and using gssapi and digest-md5 sasl mechs with ldapsearch work...
perhaps related, are you up to date with libc/ld patches?
 
here is my ld ver.
ld -V
92453-07 linker command s800.sgs ld PA64 B.11.63 REL 071126
 
my libc patch level:
PHCO_34599


From: Hiro Lalwani [mailto:meetmehiro@xxxxxxxxx]
Sent: Thursday, September 10, 2009 1:25 PM
To: Kyle Chapman; Alexey Melnikov
Cc: cyrus-sasl@xxxxxxxxxxxxxxxxxxxx
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/
============================================================
 
Please find the attached "configure_logs",  "gmake_logs" and "gmake_install_logs" . 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)
        symbol not found: __SB_masks    (libgssapiv2.sl.2.23)
        symbol not found: memset        (libgssapiv2.sl.2.23)
        symbol not found: _isdigit      (libgssapiv2.sl.2.23)
        symbol not found: getaddrinfo   (libgssapiv2.sl.2.23)
        symbol not found: memcpy        (libgssapiv2.sl.2.23)
        symbol not found: freeaddrinfo  (libgssapiv2.sl.2.23)
        symbol not found: strlen        (libgssapiv2.sl.2.23)
        symbol not found: strcpy        (libgssapiv2.sl.2.23)
        symbol not found: strchr        (libgssapiv2.sl.2.23)
        symbol not found: strncpy       (libgssapiv2.sl.2.23)
        symbol not found: strcat        (libgssapiv2.sl.2.23)
        symbol not found: strerror      (libgssapiv2.sl.2.23)
        symbol not found: uname (libgssapiv2.sl.2.23)
        symbol not found: snprintf      (libgssapiv2.sl.2.23)
        symbol not found: gss_display_status    (libgssapiv2.sl.2.23)
        symbol not found: gss_release_buffer    (libgssapiv2.sl.2.23)
        symbol not found: gss_wrap      (libgssapiv2.sl.2.23)
        symbol not found: gss_unwrap    (libgssapiv2.sl.2.23)
        symbol not found: gss_delete_sec_context        (libgssapiv2.sl.2.23)
        symbol not found: gss_release_name      (libgssapiv2.sl.2.23)
        symbol not found: gss_release_cred      (libgssapiv2.sl.2.23)
        symbol not found: sprintf       (libgssapiv2.sl.2.23)
        symbol not found: gss_import_name       (libgssapiv2.sl.2.23)
        symbol not found: gss_acquire_cred      (libgssapiv2.sl.2.23)
        symbol not found: gss_accept_sec_context        (libgssapiv2.sl.2.23)
        symbol not found: gss_display_name      (libgssapiv2.sl.2.23)
        symbol not found: gss_compare_name      (libgssapiv2.sl.2.23)
        symbol not found: strdup        (libgssapiv2.sl.2.23)
        symbol not found: gss_wrap_size_limit   (libgssapiv2.sl.2.23)
        symbol not found: gss_init_sec_context  (libgssapiv2.sl.2.23)
        symbol not found: gss_inquire_context   (libgssapiv2.sl.2.23)
        symbol not found: __sys_atexit  (/usr/ccs/lib/lddstub)
        symbol not found: __errno       (/usr/ccs/lib/lddstub)
=================================================================================
 
 
Thanks in advance
Hiro Lalwani
 
 

 
On Thu, Sep 10, 2009 at 1:05 AM, Kyle Chapman <Kyle.Chapman@xxxxxx> wrote:
it cant hurt to try that.


From: Hiro Lalwani [mailto:meetmehiro@xxxxxxxxx]
Sent: Wednesday, September 09, 2009 2:45 PM
To: Kyle Chapman
Cc: Alexey Melnikov; cyrus-sasl@xxxxxxxxxxxxxxxxxxxx

Subject: Re: Cyrus SASL + Compile

Hi Kyle,
 
This is the hpux ia64 system. and system is up with 11.23.
 
Can I go ahead and re-build again with below flags which you have mentioned in mail ?
 
========================
CC=cc -Ae
CFLAGS=-I/usr/local/include
CPPFLAGS=-I/usr/local/include
LDFLAGS=-L/usr/local/lib -Wl,+b -Wl,/usr/local/lib
=====================================
 
 
 
Regards
Hiro Lawani

 
On Wed, Sep 9, 2009 at 11:58 PM, Kyle Chapman <Kyle.Chapman@xxxxxx> 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@lists.andrew.cmu.edu [mailto:cyrus-sasl-bounces+kyle_chapman=g1.com@lists.andrew.cmu.edu] On Behalf Of Hiro Lalwani
Sent: Wednesday, September 09, 2009 2:21 PM
To: Alexey Melnikov
Cc: cyrus-sasl@xxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx> 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@xxxxxxxxx> 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



--
thanks & regards
Hiro Lalwani

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux