Hello,

I am running Openser 1.3.X with MySQL authentiocation and i decided to LDAP instead of MySQL. I did the following:
- Reconfigated the Makefile and i took ldap from  openser Makefile in (exclude_modules?=) in order to include LDAP module

ls /usr/local/lib/openser/modules/
acc.so            benchmark.so    diversion.so     gflags.so  mangler.so      mysql.so        pike.so       speeddial.so     uac.so
alias_db.so       cfgutils.so     domainpolicy.so  group.so   maxfwd.so       nathelper.so    registrar.so  sst.so           uri_db.so
auth_db.so        db_berkeley.so  domain.so        h350.so    mediaproxy.so   options.so      rr.so         statistics.so    uri.so
auth_diameter.so  dbtext.so       enum.so          imc.so     mi_datagram.so  path.so         siptrace.so   textops.so       usrloc.so
auth.so           dialog.so       exec.so          lcr.so     mi_fifo.so      pdt.so          sl.so         tm.so            xlog.so
avpops.so         dispatcher.so   flatstore.so     ldap.so    msilo.so        permissions.so  sms.so        uac_redirect.so

- then i added the module in openser.cfg (loadmodule "ldap.so")
- When i compile the configuration file i get the following:
ERROR:core:sr_load_module: could not open module </usr/local/lib/openser/modules/ldap.so>: /usr/local/lib/openser/modules/ldap.so: undefined symbol: ber_pvt_opt_on
Apr 16 17:26:45 [8172] CRITICAL:core:yyerror: parse error in config file, line 83, column 13-14: failed to load module

i have no idea from where to start or what to check. can anybody help me?

Ahmed ALALI