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
changed notes
moved from Incoming to Build
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
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
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
i saw this problem with AIX 4.3.3 was reported already; i'm using gcc, gbdm backend . ive included the dbx output below. maybe it will help you? i noticed that the slapd daemon is dumping core... bryan$servers/slapd/slapd -f ./data/slapd-schema.conf -h ldap://localhost:9009/ -d5 Segmentation fault(coredump) bryan$make test cd tests; make test 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[30]: 23998 Segmentation fault(coredump) ./scripts/test000-rootdse[30]: 24000 Segmentation fault(coredump) ./scripts/test000-rootdse[30]: 24002 Segmentation fault(coredump) ./scripts/test000-rootdse[30]: 24004 Segmentation fault(coredump) ./scripts/test000-rootdse[30]: 24006 Segmentation fault(coredump) ./scripts/test000-rootdse[30]: 24008 Segmentation fault(coredump) kill: 20470: 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. Stop. make: 1254-004 The error code from the last command is 2. Stop. bryan$ bryan$dbx servers/slapd/slapd Type 'help' for help. reading symbolic information ...internal error: unexpected value 120 at line 395 3 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: 1283-228 expected char ',', found 'sdst_key:,32,32;ctx:96,64,32; sig:374=ar-1;0;511;-5,96,4096;siglen:-1,4192,32;;' internal error: 1283-228 expected char ',', found 'dst_key:,32,32;ctx:96,64,32;s ig:374=ar-1;0;511;-5,96,4096;siglen:-1,4192,32;;' internal error: 1283-228 expected char ';', found 'st_key:,32,32;ctx:96,64,32;si g:374=ar-1;0;511;-5,96,4096;siglen:-1,4192,32;;' internal error: unexpected value 44 at line 3953 in file stabstring.c internal error: 1283-228 expected char ',', found '32,32;ctx:96,64,32;sig:374=ar -1;0;511;-5,96,4096;siglen:-1,4192,32;;' internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: 1283-228 expected char ',', found 's__LC_locale:,768,32;__meth_p tr:96,800,32;__data_ptr:96,832,32;;' internal error: 1283-228 expected char ',', found '__LC_locale:,768,32;__meth_pt r:96,800,32;__data_ptr:96,832,32;;' internal error: 1283-228 expected char ';', found '_LC_locale:,768,32;__meth_ptr :96,800,32;__data_ptr:96,832,32;;' internal error: unexpected value 44 at line 3953 in file stabstring.c internal error: 1283-228 expected char ',', found '768,32;__meth_ptr:96,800,32;_ _data_ptr:96,832,32;;' internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: 1283-228 expected char ',', found 's_LC_locale_objhdl:,64,32;;' internal error: 1283-228 expected char ',', found '_LC_locale_objhdl:,64,32;;' internal error: 1283-228 expected char ';', found 'LC_locale_objhdl:,64,32;;' internal error: unexpected value 44 at line 3953 in file stabstring.c internal error: 1283-228 expected char ',', found '64,32;;' internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: 1283-228 expected char ',', found 'sslap_filter:,0,32;;' internal error: 1283-228 expected char ',', found 'slap_filter:,0,32;;' internal error: 1283-228 expected char ';', found 'lap_filter:,0,32;;' internal error: unexpected value 44 at line 3953 in file stabstring.c internal error: 1283-228 expected char ',', found '0,32;;' internal error: unexpected value 120 at line 3953 in file stabstring.c internal error: unexpected value 120 at line 3953 in file stabstring.c [using memory image in core] Segmentation fault in ldap_create_control at 0x20003640 0x20003640 (ldap_create_control+0x218) 800c0000 lwz r0,0x0(r12) (dbx)
I saw your post about AIX 4.3.3 generating seg. faults at the "make test" step and was having the same problem. I did the following and was able to get it to pass the tests: I configured with the --enable-shared=no (no shared libraries). Still I was having a problem with getaddrinfo so I went into the file include/portable.h and took out the definition of HAVEGETADDRINFO: #define HAVE_GETADDRINFO 1 and replaced it with #undef HAVE_GETADDRINFO I then did the make depend,make, and make test and it passed all the tests. ( I then went into the configure script and hardwired getaddrinfo to no, reran the configure --enable-shared=no,make depend,make, and make test. If you want instructions for that ask and I'll send them). I haven't yet actually set up my slapd.conf file yet or created my database, but passing those tests is a good sign that it will work. I'm using gcc with a gdbm backend. I had installed ssl and sasl support but for now I've removed those libraries until I see that what I've done so far actually works. Why don't you try the same thing on your box and if you are also successful we can report back to openldap that we have a workaround for the problem. bz
I finally succeed with the "make test" but i don't remember how.... I modify a lot of lot things in the makefiles generated (some are usefull, other don't). I am pretty busy now and i don't have time to check what you said, but i trust you if you say it works. I can't check this before 2 or 3 weeks. Thanks. Jerome > -----Message d'origine----- > De: Bryan Zeli Kartzman [SMTP:bryan@ymail.yu.edu] > Date: jeudi 21 juin 2001 02:10 > À: JeromePerreard@lyon.msi-sa.fr > Cc: kurt@openldap.org > Objet: Re: Seg Fault during make tests on AIX (ITS#1134) > > I saw your post about AIX 4.3.3 generating seg. faults at the "make test" > step and was having the same problem. I did the following and was able to > get it to pass the tests: I configured with the --enable-shared=no (no > shared libraries). Still I was having a problem with getaddrinfo so I went > into the file include/portable.h and took out the definition of > HAVEGETADDRINFO: > #define HAVE_GETADDRINFO 1 > and replaced it with > #undef HAVE_GETADDRINFO > > I then did the make depend,make, and make test and it passed all the > tests. ( I then went into the configure script and hardwired getaddrinfo > to no, reran the configure --enable-shared=no,make depend,make, and make > test. If you want instructions for that ask and I'll send them). I haven't > yet actually set up my slapd.conf file yet or created my database, but > passing those tests is a good sign that it will work. I'm using gcc with a > gdbm backend. I had installed ssl and sasl support but for now I've > removed those libraries until I see that what I've done so far actually > works. > > Why don't you try the same thing on your box and if you are also > successful we can report back to openldap that we have a workaround for > the problem. > > bz
I did the two things Bryan suggested: 1) ./configure --enable-shared=no 2) vi include/portable.h replacing the HAVE_GETADDRINFO line before running make depend and make. I am able to run all the tests successfully now! Ric Miller (ric@colostate.edu) Academic Computing & Networking Services ---------- Forwarded message ---------- Date: Thu, 21 Jun 2001 14:12:40 -0400 (EDT) From: Bryan Zeli Kartzman <bryan@ymail.yu.edu> To: Ric Miller ACNS <ric@yuma.acns.ColoState.EDU> Subject: Re: Seg Fault during make tests on AIX (ITS#1134) (fwd) should have included you in this mailing as well... bz ---------- Forwarded message ---------- Date: Wed, 20 Jun 2001 20:10:24 -0400 (EDT) From: Bryan Zeli Kartzman <bryan@ymail.yu.edu> To: JeromePerreard@lyon.msi-sa.fr Cc: kurt@openldap.org Subject: Re: Seg Fault during make tests on AIX (ITS#1134) I saw your post about AIX 4.3.3 generating seg. faults at the "make test" step and was having the same problem. I did the following and was able to get it to pass the tests: I configured with the --enable-shared=no (no shared libraries). Still I was having a problem with getaddrinfo so I went into the file include/portable.h and took out the definition of HAVEGETADDRINFO: #define HAVE_GETADDRINFO 1 and replaced it with #undef HAVE_GETADDRINFO I then did the make depend,make, and make test and it passed all the tests. ( I then went into the configure script and hardwired getaddrinfo to no, reran the configure --enable-shared=no,make depend,make, and make test. If you want instructions for that ask and I'll send them). I haven't yet actually set up my slapd.conf file yet or created my database, but passing those tests is a good sign that it will work. I'm using gcc with a gdbm backend. I had installed ssl and sasl support but for now I've removed those libraries until I see that what I've done so far actually works. Why don't you try the same thing on your box and if you are also successful we can report back to openldap that we have a workaround for the problem. bz
changed notes changed state Open to Suspended
changed notes changed state Suspended to Closed moved from Build to Software Bugs
moved from Software Bugs to Archive.Software Bugs
segfault fixed.