Re: compiling 389-ds 3.6(or newer) on ubuntu 16.04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2017-07-14 at 16:18 -0300, Alberto Viana wrote:
> As far as I can see (with a little research on some tickets) lib nunc-stans
> is now enabled by default in 389 (389-ds-base) and I'm trying to compiling
> it on ubuntu 16.04 and was getting the following error:
> 
> /.libs/libnunc-stans.so: undefined reference to `event_add'
> ./.libs/libnunc-stans.so: undefined reference to `event_base_loop'
> ./.libs/libnunc-stans.so: undefined reference to `event_set_log_callback'
> ./.libs/libnunc-stans.so: undefined reference to `event_base_free'
> ./.libs/libnunc-stans.so: undefined reference to `event_assign'
> ./.libs/libnunc-stans.so: undefined reference to `event_set_mem_functions'
> ./.libs/libnunc-stans.so: undefined reference to `event_base_new'
> ./.libs/libnunc-stans.so: undefined reference to `event_del'
> collect2: error: ld returned 1 exit status
> 
> 
> Nunc-stans depends on libevent-dev (at least on ubuntu):
> 
> gcc -g -O2 -o .libs/ns-slapd ldap/servers/slapd/ns_slapd-abandon.o
> ldap/servers/slapd/ns_slapd-auth.o ldap/servers/slapd/ns_slapd-bind.o
> ldap/servers/slapd/ns_slapd-compare.o ldap/servers/slapd/ns_slapd-config.o
> ldap/servers/slapd/ns_slapd-configdse.o
> ldap/servers/slapd/ns_slapd-connection.o
> ldap/servers/slapd/ns_slapd-conntable.o ldap/servers/slapd/ns_slapd-daemon.o
> ldap/servers/slapd/ns_slapd-detach.o ldap/servers/slapd/ns_slapd-extendop.o
> ldap/servers/slapd/ns_slapd-fedse.o ldap/servers/slapd/ns_slapd-fileio.o
> ldap/servers/slapd/ns_slapd-getopt_ext.o ldap/servers/slapd/ns_slapd-globals.o
> ldap/servers/slapd/ns_slapd-house.o ldap/servers/slapd/ns_slapd-init.o
> ldap/servers/slapd/ns_slapd-main.o ldap/servers/slapd/ns_slapd-monitor.o
> ldap/servers/slapd/ns_slapd-passwd_extop.o
> ldap/servers/slapd/ns_slapd-psearch.o
> ldap/servers/slapd/ns_slapd-pw_mgmt.o ldap/servers/slapd/ns_slapd-pw_verify.o
> ldap/servers/slapd/ns_slapd-rootdse.o ldap/servers/slapd/ns_slapd-sasl_io.o
> ldap/servers/slapd/ns_slapd-saslbind.o ldap/servers/slapd/ns_slapd-search.o
> ldap/servers/slapd/ns_slapd-start_tls_extop.o
> ldap/servers/slapd/ns_slapd-strdup.o
> ldap/servers/slapd/ns_slapd-stubs.o ldap/servers/slapd/ns_slapd-tempnam.o
> ldap/servers/slapd/ns_slapd-unbind.o
> ldap/servers/slapd/ns_slapd-getsocketpeer.o
>  ./.libs/libnunc-stans.so ./.libs/libslapd.so ./.libs/libldaputil.so
> -lldap_r -llber -lssl3 -lnss3 -ldl -lplc4 -lplds4 -lnspr4 -lsasl2
> -L/usr/lib/x86_64-linux-gnu/ -lsvrcore -lpthread -Wl,-rpath
> -Wl,/opt/dirsrv/lib/dirsrv
> 
> Seems to be missing the libevent(-levent), my workaround was to add it
> manually:
> 
> LIBS=-levent ./configure
> 
> I'm not sure if is an expected behavior, but anyway I just want to share my
> workaround.
> 

That's odd, I think it should pick this up. Can you send your
configure.log to me? 

-- 
Sincerely,

William Brown
Software Engineer
Red Hat, Australia/Brisbane

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux