[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: openldap on AIX ber_strdup sigsegv (ITS#1332)
I found the workarounds information in openldap.org build faqs.
Will try them.
Thanks.
> -----Original Message-----
> From: Loo, Danny
> Sent: Wednesday, September 12, 2001 3:42 PM
> To: 'ric@yuma.acns.ColoState.EDU'
> Cc: 'JeromePerreard@lyon.msi-sa.fr'; 'Kurt@OpenLDAP.org'; 'openldap-its@OpenLDAP.org'
> Subject:
>
>
> Jerome, Ric, Kurt,
>
> I am also trying to build openldap-2.0.xx on AIX 4.3.3.
> I get the same problem (stack strace) as below.
> (ber_strdup+0x8) 800c0000 lwz r0,0x0(r12)
> glink.ber_strdup() at 0xd10f2580
> Was there any resolution for this problem ?
>
>
> Thanks,
> Danny Loo
> BroadVision, Inc.
>
>
>
> ********* Original messages ************
> Was there ever any resolution to this problem? We are having the
> exact same problem trying to install openldap-2.0.11 on Aix 4.3.3. Is
> it normal for the "make depend" to have so many undefined symbol
> errors? For example:
>
> Entering subdirectory tools
> ../../build/mkdep -d "." -c "cc_r" -m "" -I../../include -I../../include -I/usr/local/BerkeleyDB.3.2/include -I/usr/local/include ldapsearch.c ldapmodify.c ldapdelete.c ldapmodrdn.c ldappasswd.c
> ld: 0711-224 WARNING: Duplicate symbol: .main
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> ld: 0711-317 ERROR: Undefined symbol: .ber_set_option
> ld: 0711-317 ERROR: Undefined symbol: .ldap_set_option
> ld: 0711-317 ERROR: Undefined symbol: ldif_debug
> ld: 0711-317 ERROR: Undefined symbol: .lutil_sigaction
> ld: 0711-317 ERROR: Undefined symbol: .ldap_init
> ld: 0711-317 ERROR: Undefined symbol: .ldap_initialize
> ld: 0711-317 ERROR: Undefined symbol: .ldap_err2string
> ld: 0711-317 ERROR: Undefined symbol: .ldap_start_tls_s
> ld: 0711-317 ERROR: Undefined symbol: .ldap_perror
> ld: 0711-317 ERROR: Undefined symbol: .lutil_sasl_defaults
> ld: 0711-317 ERROR: Undefined symbol: lutil_sasl_interact
> ld: 0711-317 ERROR: Undefined symbol: .ldap_sasl_interactive_bind_s
> ld: 0711-317 ERROR: Undefined symbol: .ldap_bind_s
> ld: 0711-317 ERROR: Undefined symbol: .ldap_unbind
> ld: 0711-317 ERROR: Undefined symbol: .ldap_search_ext
> ld: 0711-317 ERROR: Undefined symbol: .ldap_result
> ld: 0711-317 ERROR: Undefined symbol: .ldap_sort_entries
> ld: 0711-317 ERROR: Undefined symbol: .ldap_first_message
> ld: 0711-317 ERROR: Undefined symbol: .ldap_msgtype
> ld: 0711-317 ERROR: Undefined symbol: .ldap_msgid
> ld: 0711-317 ERROR: Undefined symbol: .ldap_next_message
> ld: 0711-317 ERROR: Undefined symbol: .ldap_msgfree
> ld: 0711-317 ERROR: Undefined symbol: .ldif_put
> ld: 0711-317 ERROR: Undefined symbol: .ber_memfree
> ld: 0711-317 ERROR: Undefined symbol: .ber_memalloc
> ld: 0711-317 ERROR: Undefined symbol: .lutil_b64_ntop
> ld: 0711-317 ERROR: Undefined symbol: .ber_bvfree
> ld: 0711-317 ERROR: Undefined symbol: .ldap_parse_result
> ld: 0711-317 ERROR: Undefined symbol: .ber_memvfree
> ld: 0711-317 ERROR: Undefined symbol: .ldap_controls_free
> ld: 0711-317 ERROR: Undefined symbol: .ldap_parse_extended_partial
> ld: 0711-317 ERROR: Undefined symbol: .ldap_parse_extended_result
> ld: 0711-317 ERROR: Undefined symbol: .ldap_parse_reference
> ld: 0711-317 ERROR: Undefined symbol: .ldap_get_dn
> ld: 0711-317 ERROR: Undefined symbol: .ldap_dn2ufn
> ld: 0711-317 ERROR: Undefined symbol: .ldap_get_entry_controls
> ld: 0711-317 ERROR: Undefined symbol: .ldap_memfree
> ld: 0711-317 ERROR: Undefined symbol: .ldap_first_attribute
> ld: 0711-317 ERROR: Undefined symbol: .ldap_get_values_len
> ld: 0711-317 ERROR: Undefined symbol: .ldif_is_not_printable
> ld: 0711-317 ERROR: Undefined symbol: .ber_bvecfree
> ld: 0711-317 ERROR: Undefined symbol: .ldap_next_attribute
> ld: 0711-317 ERROR: Undefined symbol: .ber_free
> Target "depend" is up to date
>
> There are many other similar loader errors. Could this have anything
> to do with the segmentation faults in the "make test"? Are we missing >
> some LIBPATH?
>
> Ric Miller (ric@colostate.edu)
> Academic Computing & Networking Services
> Colorado State University
>
>
>
> >From: <JeromePerreard@lyon.msi-sa.fr>
> >To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
> >Cc: openldap-its@OpenLDAP.org
> >Subject: RE: Seg Fault during make tests on AIX (ITS#1134)
> >Date: Mon, 14 May 2001 15:36:27 +0200
> >
> >Here is what is inside the core.
> >
> >dbx ../clients/tools/ldapsearch
> >Type 'help' for help.
> >reading symbolic information ...
> >[using memory image in core]
> >
> >Segmentation fault in glink.ber_strdup at 0xd10f2580 ($t1)
> >0xd10f2580 (ber_strdup+0x8) 800c0000 lwz r0,0x0(r12)
> >(dbx) where
> >glink.ber_strdup() at 0xd10f2580
> >ldap_pvt_get_fqdn(0x2ff21548), line 410 in "util-int.c"
> >ldap_int_initialize(0xf03563e8, 0x0), line 441 in "init.c"
> >ldap_create(0x2ff21760), line 92 in "open.c"
> >ldap_init(0x20007148, 0x0), line 201 in "open.c"
> >main(0xc, 0x2ff22904) at 0x10001030
> >
> >- Jerome
> >
> >> -----Message d'origine-----
> >> De: Kurt D. Zeilenga [SMTP:Kurt@OpenLDAP.org]
> >> Date: lundi 7 mai 2001 21:15
> >> .: JeromePerreard@lyon.msi-sa.fr
> >> Cc: openldap-its@OpenLDAP.org
> >> Objet: Re: Seg Fault during make tests on AIX (ITS#1134)
> >>
> >> Please use a debugger to obtain a stack backtrace (bt in
> >> gdb) from the core file. Thanks, Kurt
> >>
> >> At 01:52 AM 5/3/01, JeromePerreard@lyon.msi-sa.fr wrote:
> >> >Full_Name: Jerome PERREARD
> >> >Version: openldap-2.0.7
> >> >OS: AIX4.3.3
> >> >URL: <ftp://ftp.openldap.org/incoming/>
> >> >Submission from: (NULL) (193.249.22.9)
> >> >
> >> >
> >> >Hello,
> >> >
> >> >I am trying to install an LDAP server (openldap-2.0.7)
> >> >with SSL (openssl-0.9.6) on a powerpc-ibm-aix4.3.3.0.
> >> >I use gdbm-1.8.0
> >> >
> >> >My environnement is set with
> >> >export LDFLAGS="-L/temp/public/jerome/ssl/lib
> >> -L/temp/public/jerome/gdbm/lib"
> >> >export CC=cc_r
> >> >export CPPFLAGS="-I/temp/public/jerome/ssl/include
> >> >-I/temp/public/jerome/gdbm/include"
> >> >export CFLAGS="-g -O"
> >> >
> >> >I have installed openSSL (/temp/public/jerome/ssl)
> >> >and GDBM (/temp/public/jerome/gdbm)
> >> >
> >> >I tried this to setup LDAP
> >> >1>configure --with-tls --with-threads --enable-ldbm
> >> >--prefix=/temp/public/jerome/ldap
> >> >make depend
> >> >make
> >> >
> >> >2>configure --with-tls --enable-ldbm
> >--prefix=/temp/public/jerome/ldap
> >> >make depend
> >> >make
> >> >
> >> >3>configure --with-threads --enable-ldbm
> >> --prefix=/temp/public/jerome/ldap
> >> >make depend
> >> >make
> >> >
> >> >4>configure --prefix=/temp/public/jerome/ldap
> >> >make depend
> >> >make
> >> >
> >> >but in each case I got "Segmentation fault" when I'm executing "make
> >> tests"
> >> >
> >> >ln: 0653-417 ./data is a directory. (cannot unlink)
> >> >make: 1254-004 The error code from the last command is 1.
> >> >make: 1254-005 Ignored error code 1 from last command.
> >> >ln: 0653-421 ./schema exists.
> >> > Specify -f to remove ./schema before linking.
> >> >make: 1254-004 The error code from the last command is 1.
> >> >make: 1254-005 Ignored error code 1 from last command.
> >> >Initiating LDAP tests for LDBM...
> >> >>>>>> Executing all LDAP tests...
> >> >>>>>> Test Directory: .
> >> >>>>>> Backend: ldbm
> >> >>>>>> Starting test000-rootdse ...
> >> >running defines.sh . ldbm
> >> >Datadir is ./data
> >> >Cleaning up in ./test-db...
> >> >Starting slapd on TCP/IP port 9009...
> >> >Using ldapsearch to retrieve all the entries...
> >> >./scripts/test000-rootdse[29]: 57156 Segmentation fault(coredump)
> >> >./scripts/test000-rootdse[29]: 57158 Segmentation fault(coredump)
> >> >./scripts/test000-rootdse[29]: 57160 Segmentation fault(coredump)
> >> >./scripts/test000-rootdse[29]: 57162 Segmentation fault(coredump)
> >> >./scripts/test000-rootdse[29]: 57164 Segmentation fault(coredump)
> >> >./scripts/test000-rootdse[29]: 57166 Segmentation fault(coredump)>
> >> >kill: 50468: 0403-003 The specified process does not exist.
> >> >>>>>> Test failed
> >> >>>>>> ./scripts/test000-rootdse failed (exit 139)
> >> >make: 1254-004 The error code from the last command is 139.
> >> >
> >> >I don't understand why the test failed.
> >> >Did I do something wrong ?
> >> >
> >> >When I use an LDAP server built with SSL, can i use it without SSL or
> >> >do I need build another server without SSL?
> >> >
> >> >Thank you for your help.
> >> >Jerome
>
>
>
> Danny Y. Loo
> BroadVision Inc.
> Direct: (650) 261-5152 Main: (650) 261-5100
> email: Danny.Loo@BroadVision.Com
> www.BroadVision.com
>
> This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message and any attachments.
>
>
>