Pu Zhang wrote:
I think you should "--disable-bdb" on the compilation.
Michael Jonsson wrote:
Pierangelo Masarati wrote:
[please reply on the list]
Michael Jonsson wrote:
If I will build the openldap from the latest source (version 2.3.4), with configure switch do I need to make the back_sql to work ??? I'm building the openldap on a fedora core 4.
To build back-sql: --enable-sql=yes To build back-sql as module: --enable.modules --enable-sql=mod
Same for 2.2.
p.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497
When I build from the latest source with this switches,
./configure --enable-sql=mod --enable-modules --enable-crypt --enable-slurpd --with-kerberos=k5only --with-cyrus-sasl --enable-syslog --enable-debug --enable-bdb=yes --enable-hdb=mod
I get this error messeges when I try to start the slapd....
[root@micke-laptop libexec]# ./slapd -d 1
@(#) $OpenLDAP: slapd 2.3.4 (Aug 7 2005 23:28:01) $
root@micke-laptop.lmpnet.se:/home/develop/openldap-2.3.4/servers/slapd
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: initialized ldap:///
daemon_init: 2 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_back_initialize: initialize BDB backend
bdb_back_initialize: Sleepycat Software: Berkeley DB 4.3.27: (April 25, 2005)
Unrecognized database type (sql)
/usr/local/etc/openldap/slapd.conf: line 56: <database> failed init (sql)!
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.
------------------------------------------------------------------------
# # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /usr/local/etc/openldap/schema/core.schema
# Define global ACLs to disable default read access.
# Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org
pidfile /usr/local/var/run/slapd.pid argsfile /usr/local/var/run/slapd.args
# Load dynamic backend modules: modulepath /usr/local/sbin/openldap # moduleload back_bdb.la # moduleload back_ldap.la # moduleload back_ldbm.la # moduleload back_passwd.la # moduleload back_shell.la moduleload back_sql.la
# Sample security restrictions # Require integrity protection (prevent hijacking) # Require 112-bit (3DES or better) encryption for updates # Require 63-bit encryption for simple bind # security ssf=1 update_ssf=112 simple_bind=64
# Sample access control policy: # Root DSE: allow anyone to read it # Subschema (sub)entry DSE: allow anyone to read it # Other DSEs: # Allow self write access # Allow authenticated users read access # Allow anonymous users to authenticate # Directives needed to implement policy: # access to dn.base="" by * read # access to dn.base="cn=Subschema" by * read # access to * # by self write # by users read # by anonymous auth # # if no access controls are present, the default policy # allows anyone and everyone to read anything but restricts # updates to rootdn. (e.g., "access to * by * read") # # rootdn can always read and write EVERYTHING!
####################################################################### # BDB database definitions #######################################################################
database sql
suffix "dc=my-domain,dc=com"
rootdn "cn=Manager,dc=my-domain,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /usr/local/var/openldap-data
# Indices to maintain
index objectClass eq
.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)