[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Plugin configuration problem
Pierangelo Masarati wrote:
Samuel Tran wrote:
I got a stack back trace using gdb:
stran@educ236:/usr/local/src/openldap_2.3.x_20050808/servers/slapd/.libs
$ sudo gdb ./slapd
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-linux"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".
(gdb) set width 70
(gdb) run -d 0 -f /etc/openldap/slapd.conf
Starting
program:
/usr/local/src/openldap_2.3.x_20050808/servers/slapd/.libs/slapd -d 0
-f /etc/openldap/slapd.conf
[Thread debugging using libthread_db enabled]
[New Thread 1078075520 (LWP 3347)]
/etc/openldap/slapd.conf: line 178: warning: cannot assess the validity
of the ACL scope within backend naming context
/etc/openldap/slapd.conf: line 207: warning: cannot assess the validity
of the ACL scope within backend naming context
/etc/openldap/slapd.conf: line 244: warning: cannot assess the validity
of the ACL scope within backend naming context
[New Thread 1088740272 (LWP 3350)]
[New Thread 1097128880 (LWP 3351)]
slapd: ch_malloc.c:122: ch_strdup: Assertion `0' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 1097128880 (LWP 3351)]
0x402fd83b in raise () from /lib/tls/libc.so.6
(gdb) bt full
#0 0x402fd83b in raise () from /lib/tls/libc.so.6
No symbol table info available.
#1 0x402fefa2 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#2 0x402f72df in __assert_fail () from /lib/tls/libc.so.6
No symbol table info available.
#3 0x080852af in ch_strdup (string=0x0) at ch_malloc.c:122
new = 0x0
#4 0x081225bf in slapi_int_modifications2ldapmods (
pmodlist=0x82565cc) at slapi_utils.c:2723
What happens here is that slapi_int_modifications2ldapmods() is trying
to duplicate the type of the modification (a string that contains the
name of the attribute that's being modified). Usually, this cannot be
NULL, but it is in case of some special internal attributes
(structuralObjectClass, entryUUID and so). I think you should file an
ITS, because it appears that SLAPI is unable to cope with slapd's
internal representation of modifications, but I'd prefer that someone
more familiar with SLAPI takes care of this. I have a trivial fix
that I'd append to your ITS, but I'm not sure it would fit. So please
go and file one.
p.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
Now I get an error when I try to build the SRPMS of openldap-2.2.23-5.
see the attach log file.....
.M
/usr/bin/libtool --mode=link cc -static -I/usr/src/redhat/BUILD/openldap-2.2.23/db-instroot/include -I/usr/kerberos/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i686 -mtune=pentium4 -fasynchronous-unwind-tables -D_REENTRANT -fPIC -L/usr/src/redhat/BUILD/openldap-2.2.23/db-instroot/lib -L/usr/kerberos/lib -dlopen self -pie -Wl,-z,defs -o slapd main.o globals.o config.o daemon.o connection.o search.o filter.o add.o cr.o attr.o entry.o backend.o result.o operation.o dn.o compare.o modify.o delete.o modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o abandon.o filterentry.o phonetic.o acl.o str2filter.o aclparse.o init.o user.o repl.o lock.o controls.o extended.o kerberos.o passwd.o schema.o schema_check.o schema_init.o schema_prep.o schemaparse.o ad.o at.o mr.o syntax.o oc.o saslauthz.o oidm.o starttls.o index.o sets.o referral.o root_dse.o sasl.o module.o mra.o mods.o sl_malloc.o limits.o backglue.o operational.o matchedValues.o cancel.o syncrepl.o backover.o ctxcsn.o ldapsync.o sessionlog.o slapadd.o slapcat.o slapcommon.o slapdn.o slapindex.o slappasswd.o slaptest.o version.o libbackends.a ../../libraries/liblunicode/liblunicode.a ../../libraries/librewrite/librewrite.a ../../libraries/liblutil/liblutil.a ../../libraries/libldap_r/libldap_r.la ../../libraries/liblber/liblber.la liboverlays.a -lsasl2 -lssl -lcrypto -lcrypt -lresolv -lpthread -lltdl \
-lwrap
rm -f .libs/slapd.nm .libs/slapd.nmS .libs/slapd.nmT
creating .libs/slapdS.c
(cd .libs && gcc -c -fno-builtin "slapdS.c")
rm -f .libs/slapdS.c .libs/slapd.nm .libs/slapd.nmS .libs/slapd.nmT
cc -I/usr/src/redhat/BUILD/openldap-2.2.23/db-instroot/include -I/usr/kerberos/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i686 -mtune=pentium4 -fasynchronous-unwind-tables -D_REENTRANT -fPIC .libs/slapdS.o -pie -Wl,-z -Wl,defs -o slapd main.o globals.o config.o daemon.o connection.o search.o filter.o add.o cr.o attr.o entry.o backend.o result.o operation.o dn.o compare.o modify.o delete.o modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o abandon.o filterentry.o phonetic.o acl.o str2filter.o aclparse.o init.o user.o repl.o lock.o controls.o extended.o kerberos.o passwd.o schema.o schema_check.o schema_init.o schema_prep.o schemaparse.o ad.o at.o mr.o syntax.o oc.o saslauthz.o oidm.o starttls.o index.o sets.o referral.o root_dse.o sasl.o module.o mra.o mods.o sl_malloc.o limits.o backglue.o operational.o matchedValues.o cancel.o syncrepl.o backover.o ctxcsn.o ldapsync.o sessionlog.o slapadd.o slapcat.o slapcommon.o slapdn.o slapindex.o slappasswd.o slaptest.o version.o -Wl,--export-dynamic -L/usr/src/redhat/BUILD/openldap-2.2.23/db-instroot/lib -L/usr/kerberos/lib libbackends.a ../../libraries/liblunicode/liblunicode.a ../../libraries/librewrite/librewrite.a ../../libraries/liblutil/liblutil.a ../../libraries/libldap_r/.libs/libldap_r.a /usr/src/redhat/BUILD/openldap-2.2.23/openldap-2.2.23/build-servers/libraries/liblber/.libs/liblber.a -L/lib -L/usr/lib/mysql ../../libraries/liblber/.libs/liblber.a liboverlays.a /usr/lib/libsasl2.so -lssl -lcrypto -lcrypt -lresolv -lpthread /usr/lib/libltdl.a -ldl -lwrap
daemon.o(.text+0x1805): In function `slapd_daemon_task':
../../../servers/slapd/daemon.c:1443: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
daemon.o(.text+0x17f7):../../../servers/slapd/daemon.c:1443: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
libbackends.a(sqlmodify.o)(.text+0x4ef): In function `backsql_modify':
../../../../servers/slapd/back-sql/modify.c:119: undefined reference to `SQLTransact'
libbackends.a(sqlmodrdn.o)(.text+0xf6a): In function `backsql_modrdn':
../../../../servers/slapd/back-sql/modrdn.c:372: undefined reference to `SQLTransact'
libbackends.a(sqlmodrdn.o)(.text+0x1071):../../../../servers/slapd/back-sql/modrdn.c:369: undefined reference to `SQLTransact'
libbackends.a(sqlmodrdn.o)(.text+0x10cb):../../../../servers/slapd/back-sql/modrdn.c:254: undefined reference to `SQLBindParameter'
libbackends.a(sqlmodrdn.o)(.text+0x10d6):../../../../servers/slapd/back-sql/modrdn.c:257: undefined reference to `SQLExecute'
libbackends.a(sqlmodrdn.o)(.text+0x113d):../../../../servers/slapd/back-sql/modrdn.c:263: undefined reference to `SQLFreeStmt'
libbackends.a(sqlmodrdn.o)(.text+0x1220):../../../../servers/slapd/back-sql/modrdn.c:270: undefined reference to `SQLFreeStmt'
libbackends.a(sqlmodrdn.o)(.text+0x13e0):../../../../servers/slapd/back-sql/modrdn.c:288: undefined reference to `SQLBindParameter'
libbackends.a(sqlmodrdn.o)(.text+0x1432):../../../../servers/slapd/back-sql/modrdn.c:289: undefined reference to `SQLBindParameter'
libbackends.a(sqlmodrdn.o)(.text+0x1487):../../../../servers/slapd/back-sql/modrdn.c:297: undefined reference to `SQLBindParameter'
libbackends.a(sqlmodrdn.o)(.text+0x14d9):../../../../servers/slapd/back-sql/modrdn.c:299: undefined reference to `SQLBindParameter'
libbackends.a(sqlmodrdn.o)(.text+0x14e4):../../../../servers/slapd/back-sql/modrdn.c:302: undefined reference to `SQLExecute'
libbackends.a(sqlmodrdn.o)(.text+0x15a7):../../../../servers/slapd/back-sql/modrdn.c:307: undefined reference to `SQLFreeStmt'
libbackends.a(sqlmodrdn.o)(.text+0x15e8):../../../../servers/slapd/back-sql/modrdn.c:313: undefined reference to `SQLFreeStmt'
libbackends.a(sqlschema-map.o)(.text+0xa05): In function `backsql_oc_get_attr_mapping':
../../../../servers/slapd/back-sql/schema-map.c:373: undefined reference to `SQLExecute'
libbackends.a(sqlschema-map.o)(.text+0xb37):../../../../servers/slapd/back-sql/schema-map.c:389: undefined reference to `SQLFetch'
libbackends.a(sqlschema-map.o)(.text+0xe3b):../../../../servers/slapd/back-sql/schema-map.c:389: undefined reference to `SQLFetch'
libbackends.a(sqlschema-map.o)(.text+0xe69):../../../../servers/slapd/back-sql/schema-map.c:482: undefined reference to `SQLFreeStmt'
libbackends.a(sqlschema-map.o)(.text+0x1b7b): In function `backsql_load_schema_map':
../../../../servers/slapd/back-sql/schema-map.c:522: undefined reference to `SQLFreeStmt'
libbackends.a(sqlschema-map.o)(.text+0x1cff):../../../../servers/slapd/back-sql/schema-map.c:537: undefined reference to `SQLExecute'
libbackends.a(sqlschema-map.o)(.text+0x1dc1):../../../../servers/slapd/back-sql/schema-map.c:546: undefined reference to `SQLFetch'
libbackends.a(sqlschema-map.o)(.text+0x1de9):../../../../servers/slapd/back-sql/schema-map.c:621: undefined reference to `SQLFreeStmt'
libbackends.a(sqlschema-map.o)(.text+0x231d):../../../../servers/slapd/back-sql/schema-map.c:547: undefined reference to `SQLFetch'
libbackends.a(sqlschema-map.o)(.text+0x24fe):../../../../servers/slapd/back-sql/schema-map.c:636: undefined reference to `SQLBindParameter'
libbackends.a(sqlschema-map.o)(.text+0x2610):../../../../servers/slapd/back-sql/schema-map.c:653: undefined reference to `SQLFreeStmt'
libbackends.a(sqlsearch.o)(.text+0x2d4d): In function `backsql_oc_get_candidates':
../../../../servers/slapd/back-sql/search.c:1244: undefined reference to `SQLBindParameter'
libbackends.a(sqlsearch.o)(.text+0x2d8d):../../../../servers/slapd/back-sql/search.c:1382: undefined reference to `SQLExecute'
libbackends.a(sqlsearch.o)(.text+0x2df8):../../../../servers/slapd/back-sql/search.c:1387: undefined reference to `SQLFreeStmt'
libbackends.a(sqlsearch.o)(.text+0x3437):../../../../servers/slapd/back-sql/search.c:1370: undefined reference to `SQLBindParameter'
libbackends.a(sqlsearch.o)(.text+0x3679):../../../../servers/slapd/back-sql/search.c:1334: undefined reference to `SQLBindParameter'
libbackends.a(sqlsearch.o)(.text+0x3786):../../../../servers/slapd/back-sql/search.c:1275: undefined reference to `SQLBindParameter'
libbackends.a(sqlsearch.o)(.text+0x3805):../../../../servers/slapd/back-sql/search.c:1393: undefined reference to `SQLFetch'
libbackends.a(sqlsearch.o)(.text+0x3830):../../../../servers/slapd/back-sql/search.c:1444: undefined reference to `SQLFreeStmt'
libbackends.a(sqlsearch.o)(.text+0x3be9):../../../../servers/slapd/back-sql/search.c:1394: undefined reference to `SQLFetch'
libbackends.a(sqlsql-wrap.o)(.text+0x94): In function `backsql_PrintErrors':
../../../../servers/slapd/back-sql/sql-wrap.c:50: undefined reference to `SQLError'
libbackends.a(sqlsql-wrap.o)(.text+0x1ac): In function `backsql_Prepare':
../../../../servers/slapd/back-sql/sql-wrap.c:67: undefined reference to `SQLAllocStmt'
libbackends.a(sqlsql-wrap.o)(.text+0x1e7):../../../../servers/slapd/back-sql/sql-wrap.c:76: undefined reference to `SQLGetInfo'
libbackends.a(sqlsql-wrap.o)(.text+0x240):../../../../servers/slapd/back-sql/sql-wrap.c:94: undefined reference to `SQLSetStmtOption'
libbackends.a(sqlsql-wrap.o)(.text+0x2c4):../../../../servers/slapd/back-sql/sql-wrap.c:109: undefined reference to `SQLSetStmtOption'
libbackends.a(sqlsql-wrap.o)(.text+0x2e5):../../../../servers/slapd/back-sql/sql-wrap.c:120: undefined reference to `SQLPrepare'
libbackends.a(sqlsql-wrap.o)(.text+0x493): In function `backsql_BindRowAsStrings':
../../../../servers/slapd/back-sql/sql-wrap.c:140: undefined reference to `SQLNumResultCols'
libbackends.a(sqlsql-wrap.o)(.text+0x60e):../../../../servers/slapd/back-sql/sql-wrap.c:201: undefined reference to `SQLBindCol'
libbackends.a(sqlsql-wrap.o)(.text+0x66f):../../../../servers/slapd/back-sql/sql-wrap.c:164: undefined reference to `SQLDescribeCol'
libbackends.a(sqlsql-wrap.o)(.text+0x7bd): In function `backsql_init_db_env':
../../../../servers/slapd/back-sql/sql-wrap.c:277: undefined reference to `SQLAllocEnv'
libbackends.a(sqlsql-wrap.o)(.text+0xb6d): In function `backsql_free_db_conn':
../../../../servers/slapd/back-sql/sql-wrap.c:263: undefined reference to `SQLTransact'
libbackends.a(sqlsql-wrap.o)(.text+0xb78):../../../../servers/slapd/back-sql/sql-wrap.c:264: undefined reference to `SQLDisconnect'
libbackends.a(sqlsql-wrap.o)(.text+0xb83):../../../../servers/slapd/back-sql/sql-wrap.c:265: undefined reference to `SQLFreeConnect'
libbackends.a(sqlsql-wrap.o)(.text+0xfca): In function `backsql_get_db_conn':
../../../../servers/slapd/back-sql/sql-wrap.c:322: undefined reference to `SQLAllocConnect'
libbackends.a(sqlsql-wrap.o)(.text+0x1321):../../../../servers/slapd/back-sql/sql-wrap.c:331: undefined reference to `SQLConnect'
libbackends.a(sqlsql-wrap.o)(.text+0x1423):../../../../servers/slapd/back-sql/sql-wrap.c:351: undefined reference to `SQLSetConnectOption'
libbackends.a(sqlsql-wrap.o)(.text+0x145e):../../../../servers/slapd/back-sql/sql-wrap.c:360: undefined reference to `SQLGetInfo'
libbackends.a(sqladd.o)(.text+0x155): In function `backsql_modify_delete_all_values':
../../../../servers/slapd/back-sql/add.c:97: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x1b9):../../../../servers/slapd/back-sql/add.c:124: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x2b4):../../../../servers/slapd/back-sql/add.c:116: undefined reference to `SQLExecute'
libbackends.a(sqladd.o)(.text+0x415):../../../../servers/slapd/back-sql/add.c:135: undefined reference to `SQLFetch'
libbackends.a(sqladd.o)(.text+0x439):../../../../servers/slapd/back-sql/add.c:233: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x44b):../../../../servers/slapd/back-sql/add.c:137: undefined reference to `SQLFetch'
libbackends.a(sqladd.o)(.text+0x4d9):../../../../servers/slapd/back-sql/add.c:187: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x56a):../../../../servers/slapd/back-sql/add.c:202: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x595):../../../../servers/slapd/back-sql/add.c:213: undefined reference to `SQLExecute'
libbackends.a(sqladd.o)(.text+0x602):../../../../servers/slapd/back-sql/add.c:229: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x6a5):../../../../servers/slapd/back-sql/add.c:167: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x8c6):../../../../servers/slapd/back-sql/add.c:224: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0xbf2): In function `backsql_modify_internal':
../../../../servers/slapd/back-sql/add.c:540: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0xc46):../../../../servers/slapd/back-sql/add.c:550: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0xc6e):../../../../servers/slapd/back-sql/add.c:559: undefined reference to `SQLExecute'
libbackends.a(sqladd.o)(.text+0xcd8):../../../../servers/slapd/back-sql/add.c:575: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0xd7f):../../../../servers/slapd/back-sql/add.c:526: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0xf65):../../../../servers/slapd/back-sql/add.c:430: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0xfd5):../../../../servers/slapd/back-sql/add.c:444: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0xffa):../../../../servers/slapd/back-sql/add.c:455: undefined reference to `SQLExecute'
libbackends.a(sqladd.o)(.text+0x1061):../../../../servers/slapd/back-sql/add.c:471: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x1108):../../../../servers/slapd/back-sql/add.c:412: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x18f1):../../../../servers/slapd/back-sql/add.c:569: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x1992):../../../../servers/slapd/back-sql/add.c:465: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x1c39): In function `backsql_add_attr':
../../../../servers/slapd/back-sql/add.c:700: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x1c90):../../../../servers/slapd/back-sql/add.c:710: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x1cf6):../../../../servers/slapd/back-sql/add.c:721: undefined reference to `SQLExecute'
libbackends.a(sqladd.o)(.text+0x1d63):../../../../servers/slapd/back-sql/add.c:735: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x1e27):../../../../servers/slapd/back-sql/add.c:691: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x200b):../../../../servers/slapd/back-sql/add.c:730: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x2280): In function `backsql_add':
../../../../servers/slapd/back-sql/add.c:1181: undefined reference to `SQLTransact'
libbackends.a(sqladd.o)(.text+0x2539):../../../../servers/slapd/back-sql/add.c:1178: undefined reference to `SQLTransact'
libbackends.a(sqladd.o)(.text+0x2c08):../../../../servers/slapd/back-sql/add.c:969: undefined reference to `SQLAllocStmt'
libbackends.a(sqladd.o)(.text+0x2c69):../../../../servers/slapd/back-sql/add.c:977: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x2d07):../../../../servers/slapd/back-sql/add.c:983: undefined reference to `SQLExecDirect'
libbackends.a(sqladd.o)(.text+0x2da1):../../../../servers/slapd/back-sql/add.c:1157: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x2de0):../../../../servers/slapd/back-sql/add.c:996: undefined reference to `SQLTransact'
libbackends.a(sqladd.o)(.text+0x2e09):../../../../servers/slapd/back-sql/add.c:1004: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x2e1e):../../../../servers/slapd/back-sql/add.c:1005: undefined reference to `SQLAllocStmt'
libbackends.a(sqladd.o)(.text+0x2e41):../../../../servers/slapd/back-sql/add.c:1012: undefined reference to `SQLExecDirect'
libbackends.a(sqladd.o)(.text+0x2e5c):../../../../servers/slapd/back-sql/add.c:1024: undefined reference to `SQLNumResultCols'
libbackends.a(sqladd.o)(.text+0x2fc6):../../../../servers/slapd/back-sql/add.c:1040: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x2ffc):../../../../servers/slapd/back-sql/add.c:1064: undefined reference to `SQLBindCol'
libbackends.a(sqladd.o)(.text+0x3007):../../../../servers/slapd/back-sql/add.c:1069: undefined reference to `SQLFetch'
libbackends.a(sqladd.o)(.text+0x3027):../../../../servers/slapd/back-sql/add.c:1083: undefined reference to `SQLFreeStmt'
libbackends.a(sqladd.o)(.text+0x34a6):../../../../servers/slapd/back-sql/add.c:1123: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x34f8):../../../../servers/slapd/back-sql/add.c:1124: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x354d):../../../../servers/slapd/back-sql/add.c:1130: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x359f):../../../../servers/slapd/back-sql/add.c:1133: undefined reference to `SQLBindParameter'
libbackends.a(sqladd.o)(.text+0x36b0):../../../../servers/slapd/back-sql/add.c:1147: undefined reference to `SQLExecute'
libbackends.a(sqladd.o)(.text+0x377f):../../../../servers/slapd/back-sql/add.c:1171: undefined reference to `SQLFreeStmt'
libbackends.a(sqldelete.o)(.text+0x816): In function `backsql_delete':
../../../../servers/slapd/back-sql/delete.c:187: undefined reference to `SQLBindParameter'
libbackends.a(sqldelete.o)(.text+0x86f):../../../../servers/slapd/back-sql/delete.c:198: undefined reference to `SQLBindParameter'
libbackends.a(sqldelete.o)(.text+0x87a):../../../../servers/slapd/back-sql/delete.c:203: undefined reference to `SQLExecute'
libbackends.a(sqldelete.o)(.text+0x8e1):../../../../servers/slapd/back-sql/delete.c:324: undefined reference to `SQLFreeStmt'
libbackends.a(sqldelete.o)(.text+0x943):../../../../servers/slapd/back-sql/delete.c:213: undefined reference to `SQLFreeStmt'
libbackends.a(sqldelete.o)(.text+0xa93):../../../../servers/slapd/back-sql/delete.c:233: undefined reference to `SQLBindParameter'
libbackends.a(sqldelete.o)(.text+0xa9e):../../../../servers/slapd/back-sql/delete.c:236: undefined reference to `SQLExecute'
libbackends.a(sqldelete.o)(.text+0xb31):../../../../servers/slapd/back-sql/delete.c:254: undefined reference to `SQLFreeStmt'
libbackends.a(sqldelete.o)(.text+0xc36):../../../../servers/slapd/back-sql/delete.c:274: undefined reference to `SQLBindParameter'
libbackends.a(sqldelete.o)(.text+0xc41):../../../../servers/slapd/back-sql/delete.c:277: undefined reference to `SQLExecute'
libbackends.a(sqldelete.o)(.text+0xcd4):../../../../servers/slapd/back-sql/delete.c:295: undefined reference to `SQLFreeStmt'
libbackends.a(sqldelete.o)(.text+0xdc1):../../../../servers/slapd/back-sql/delete.c:315: undefined reference to `SQLBindParameter'
libbackends.a(sqldelete.o)(.text+0xdcc):../../../../servers/slapd/back-sql/delete.c:318: undefined reference to `SQLExecute'
libbackends.a(sqldelete.o)(.text+0xe59):../../../../servers/slapd/back-sql/delete.c:329: undefined reference to `SQLFreeStmt'
libbackends.a(sqldelete.o)(.text+0xe7d):../../../../servers/slapd/back-sql/delete.c:340: undefined reference to `SQLTransact'
libbackends.a(sqlentry-id.o)(.text+0x246): In function `backsql_count_children':
../../../../servers/slapd/back-sql/entry-id.c:249: undefined reference to `SQLFreeStmt'
libbackends.a(sqlentry-id.o)(.text+0x383):../../../../servers/slapd/back-sql/entry-id.c:232: undefined reference to `SQLBindParameter'
libbackends.a(sqlentry-id.o)(.text+0x45f):../../../../servers/slapd/back-sql/entry-id.c:243: undefined reference to `SQLExecute'
libbackends.a(sqlentry-id.o)(.text+0x50a):../../../../servers/slapd/back-sql/entry-id.c:255: undefined reference to `SQLFetch'
libbackends.a(sqlentry-id.o)(.text+0x534):../../../../servers/slapd/back-sql/entry-id.c:272: undefined reference to `SQLFreeStmt'
libbackends.a(sqlentry-id.o)(.text+0x7d1): In function `backsql_get_attr_vals':
../../../../servers/slapd/back-sql/entry-id.c:336: undefined reference to `SQLBindParameter'
libbackends.a(sqlentry-id.o)(.text+0x90a):../../../../servers/slapd/back-sql/entry-id.c:356: undefined reference to `SQLExecute'
libbackends.a(sqlentry-id.o)(.text+0x964):../../../../servers/slapd/back-sql/entry-id.c:362: undefined reference to `SQLFreeStmt'
libbackends.a(sqlentry-id.o)(.text+0xa2a):../../../../servers/slapd/back-sql/entry-id.c:368: undefined reference to `SQLFetch'
libbackends.a(sqlentry-id.o)(.text+0xa4e):../../../../servers/slapd/back-sql/entry-id.c:401: undefined reference to `SQLFreeStmt'
libbackends.a(sqlentry-id.o)(.text+0xa9b):../../../../servers/slapd/back-sql/entry-id.c:369: undefined reference to `SQLFetch'
libbackends.a(sqlentry-id.o)(.text+0x1456): In function `backsql_dn2id':
../../../../servers/slapd/back-sql/entry-id.c:149: undefined reference to `SQLFreeStmt'
libbackends.a(sqlentry-id.o)(.text+0x163d):../../../../servers/slapd/back-sql/entry-id.c:142: undefined reference to `SQLBindParameter'
libbackends.a(sqlentry-id.o)(.text+0x18e5):../../../../servers/slapd/back-sql/entry-id.c:153: undefined reference to `SQLExecute'
libbackends.a(sqlentry-id.o)(.text+0x19a2):../../../../servers/slapd/back-sql/entry-id.c:164: undefined reference to `SQLFetch'
libbackends.a(sqlentry-id.o)(.text+0x1a5d):../../../../servers/slapd/back-sql/entry-id.c:191: undefined reference to `SQLFreeStmt'
collect2: ld returned 1 exit status
rm -f .libs/slapdS.o
make[2]: *** [slapd] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/openldap-2.2.23/openldap-2.2.23/build-servers/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/openldap-2.2.23/openldap-2.2.23/build-servers/servers'
make: *** [all-common] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.77075 (%build)