[Freeswitch-users] mod_ldap

Michael Jerris mike at jerris.com
Tue Dec 16 05:32:02 PST 2008


Can you please file a bug in jira on this issue, we can get this  
corrected today.
On Dec 16, 2008, at 8:06 AM, Helmut Kuper wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> I updated to latest FS trunk today and tried to compile mod_ldap and  
> got
> this errors:
>
>
> mkdir .libs
> ar cru .libs/libldap.a  bind.o open.o result.o error.o compare.o
> search.o controls.o messages.o references.o extended.o cyrus.o  
> modify.o
> add.o modrdn.o delete.o abandon.o sasl.o sbind.o kbind.o unbind.o
> cancel.o filter.o free.o sort.o passwd.o whoami.o getdn.o getentry.o
> getattr.o getvalues.o addentry.o request.o os-ip.o url.o sortctrl.o
> vlvctrl.o init.o options.o print.o string.o util-int.o schema.o
> charray.o tls.o os-local.o dnssrv.o utf-8.o utf-8-conv.o turn.o
> groupings.o txn.o ppolicy.o version.o
> ranlib .libs/libldap.a
> creating libldap.la
> (cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
> cc -g -O2 -o apitest apitest.o  ./.libs/libldap.a
> /opt/app/voip/src/freeswitch/trunk/libs/openldap-2.3.19/libraries/ 
> liblber/.libs/liblber.a
> ../../libraries/liblber/.libs/liblber.a
> ../../libraries/liblutil/liblutil.a /usr/lib/libsasl2.a -ldl -lresolv
> ./.libs/libldap.a(os-ip.o): In function `ldap_pvt_is_socket_ready':
> /opt/app/voip/src/freeswitch/trunk/libs/openldap-2.3.19/libraries/ 
> libldap/os-ip.c:194:
> warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r'  
> instead
> /opt/app/voip/src/freeswitch/trunk/libs/openldap-2.3.19/libraries/ 
> libldap/os-ip.c:194:
> warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r'  
> instead
> /usr/lib/libsasl2.a(db_berkeley.o): In function `berkeleydb_close':
> (.text+0x348): undefined reference to `db_strerror'
> /usr/lib/libsasl2.a(db_berkeley.o): In function `berkeleydb_open':
> (.text+0x3d0): undefined reference to `db_create'
> /usr/lib/libsasl2.a(db_berkeley.o): In function `berkeleydb_open':
> (.text+0x453): undefined reference to `db_strerror'
> /usr/lib/libsasl2.a(db_berkeley.o): In function `_sasldb_getdata':
> (.text+0x7e8): undefined reference to `db_strerror'
> /usr/lib/libsasl2.a(db_berkeley.o): In function `_sasldb_putdata':
> (.text+0xa4e): undefined reference to `db_strerror'
> /usr/lib/libsasl2.a(db_berkeley.o): In function `_sasldb_putdata':
> (.text+0xafa): undefined reference to `db_strerror'
> /usr/lib/libsasl2.a(digestmd5.o): In function `init_des':
> (.text+0x6c8): undefined reference to `DES_key_sched'
> /usr/lib/libsasl2.a(digestmd5.o): In function `init_des':
>
>
> When I change src/mod/directories/mod_ldap/Makefile line 3 to
> "LDAP=openldap-2.4.11" and putting openldap-2.4.11.tgz in libs/  
> manually
> it compiles without error, but with some warnings.
>
>
> Maybe the openldap-2.3.19 delivered by FS is too old?
>
> regards
> helmut
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
>
> iEYEARECAAYFAklHp/MACgkQ4tZeNddg3dzjOgCfSExGU7PSWSdAxI4VCZIosrLJ
> 25kAoK0igc53iV1PhWkj5faAVOL78E8B
> =ny1E
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org





More information about the FreeSWITCH-users mailing list