net/isc-dhcp42-server and ldap support
Willy Offermans
Willy at Offermans.Rompen.nl
Mon Feb 2 09:46:47 UTC 2015
Dear FreeBSD friends,
I can report that I can compile isc-dhcp41-server with LDAP and LDAP_SSL
support and that I'm __not__ able to compile isc-dhcp42-server and
isc-dhcp43-server with LDAP and LDAP_SSL support. The error for
isc-dhcp42-server can be found below, after the error of isc-dhcp43-server.
B.t.w. I'm running FreeBSD 10.1
Despite the fact that I can understand the error message of
isc-dhcp43-server, I do not fully agree with it. I can imagine that
isc-dhcp41-server-4.1.e_9,2 and isc-dhcp43-server-4.3.1 will copy files
into the same place, but compiling is different from installation! If the
error-message would appear upon ``make install'', then I would agree, but
now the error-message is inappropriate to my opinion.
root at kwik:/usr/ports/net/isc-dhcp43-server # make
===> isc-dhcp43-server-4.3.1 conflicts with installed package(s):
isc-dhcp41-server-4.1.e_9,2
They install files into the same place.
You may want to stop build with Ctrl + C.
===> License ISCL accepted by the user
===> Found saved configuration for isc-dhcp43-server-4.3.1
===> isc-dhcp43-server-4.3.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by isc-dhcp43-server-4.3.1 for
building
===> isc-dhcp43-server-4.3.1 conflicts with installed package(s):
isc-dhcp41-server-4.1.e_9,2
They will not build together.
Please remove them first with pkg delete.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/net/isc-dhcp43-server
*** Error code 1
Stop.
make: stopped in /usr/ports/net/isc-dhcp43-server
root at kwik:/usr/ports/net/isc-dhcp43-server #
On Sun, Feb 01, 2015 at 12:07:55PM +0100, Willy Offermans wrote:
> Dear FreeBSD friends,
>
> I like to install net/isc-dhcp42-server with LDAP and LDAP_SSL support.
> However upon compilation, I received the following error message:
>
> gmake[3]: Entering directory
> '/usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.7/omapip'
> cc -O2 -pipe -fPIC -fstack-protector -DLDAP_DEPRECATED
> -fno-strict-aliasing -I../bind/include -Wl,-rpath,/usr/lib:/usr/local/lib
> -Wl,-rpath,/usr/lib:/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib
> -Wl,-rpath,/usr/lib:/usr/local/lib -fstack-protector -o svtest test.o
> libomapi.a ../bind/lib/libdns.a ../bind/lib/libisc.a -llber -lldap
> -L/usr/local/lib -lssl
> libomapi.a(buffer.o): In function `omapi_connection_copyin':
> buffer.c:(.text+0x76b): undefined reference to `isc__socket_fdwatchpoke'
> libomapi.a(dispatch.o): In function `omapi_register_io_object':
> dispatch.c:(.text+0x3aa): undefined reference to
> `isc__socket_fdwatchcreate'
> libomapi.a(dispatch.o): In function `omapi_reregister_io_object':
> dispatch.c:(.text+0x50d): undefined reference to `isc__socket_fdwatchpoke'
> libomapi.a(dispatch.o): In function `omapi_unregister_io_object':
> dispatch.c:(.text+0x677): undefined reference to `isc__socket_cancel'
> dispatch.c:(.text+0x67f): undefined reference to `isc__socket_detach'
> libomapi.a(isclib.o): In function `isclib_cleanup':
> isclib.c:(.text+0x27): undefined reference to `isc__task_shutdown'
> isclib.c:(.text+0x30): undefined reference to `isc__task_detach'
> isclib.c:(.text+0x40): undefined reference to `isc__timermgr_destroy'
> isclib.c:(.text+0x50): undefined reference to `isc__socketmgr_destroy'
> isclib.c:(.text+0x60): undefined reference to `isc__taskmgr_destroy'
> isclib.c:(.text+0x6f): undefined reference to `isc__app_ctxfinish'
> isclib.c:(.text+0x86): undefined reference to `isc__appctx_destroy'
> isclib.c:(.text+0x9e): undefined reference to `isc__mem_detach'
> libomapi.a(isclib.o): In function `dhcp_context_create':
> isclib.c:(.text+0x10b): undefined reference to `isc__mem_create'
> isclib.c:(.text+0x12c): undefined reference to `isc__appctx_create'
> isclib.c:(.text+0x13d): undefined reference to `isc__app_ctxstart'
> isclib.c:(.text+0x1a6): undefined reference to `isc__task_create'
> libomapi.a(isclib.o): In function `dhcp_signal_handler':
> isclib.c:(.text+0x446): undefined reference to `isc__app_ctxsuspend'
> cc: error: linker command failed with exit code 1 (use -v to see
> invocation)
> gmake[3]: *** [svtest] Error 1
> Makefile:390: recipe for target 'svtest' failed
> gmake[3]: Leaving directory
> '/usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.7/omapip'
> gmake[2]: *** [all-recursive] Error 1
> Makefile:412: recipe for target 'all-recursive' failed
> gmake[2]: Leaving directory
> '/usr/ports/net/isc-dhcp42-server/work/dhcp-4.2.7'
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/net/isc-dhcp42-server
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/net/isc-dhcp42-server
>
> How can I compile isc-dhcp42-server with LDAP and LDAP_SSL support?
>
>
> --
> Met vriendelijke groeten,
> With kind regards,
> Mit freundlichen Gruessen,
> De jrus wah,
>
> Wiel
>
> *************************************
> W.K. Offermans
>
> Powered by ....
>
> (__)
> \\\'',)
> \/ \ ^
> .\._/_)
>
> www.FreeBSD.org
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
--
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,
De jrus wah,
Wiel
*************************************
W.K. Offermans
Powered by ....
(__)
\\\'',)
\/ \ ^
.\._/_)
www.FreeBSD.org
More information about the freebsd-ports
mailing list