On 07/05/13 10:15, Jakub Hrozek wrote:
On Tue, May 07, 2013 at 10:10:34AM +0200, steve wrote:
> Hi
> openSUSE 12.3
>
> ./configure fails with
> configure: error: "Please install Samba 4 development libraries"
>
> We have installed the libraries necessary to build Samba4:
> libacl-devel python-selinux autoconf make \
> python-devel gdb sqlite3-devel libgnutls-devel binutils \
> policycoreutils-python setools-libs selinux-policy \
> setools-libs popt-devel libpcap-devel keyutils-devel \
> libidn-devel libxml2-devel libacl-devel libsepol-devel \
> libattr-devel zlib-devel cyrus-sasl-devel gcc \
> krb5-client openldap2-devel libopenssl-devel\
> bind-utils bind-lib
>
> We can build sssd 1.9.5 with this plus what we have installed.
>
> What are we missing to build the beta?
> Cheers,
> Steve
As the configure script told you, you're missing the Samba 4 devel
libraries. Is there anything like samba4-devel in OpenSuse?
No.
Or maybe a
package that provides the ndr.h header file?
zypper wp ndr.h
Obteniendo los datos del repositorio...
Leyendo los paquetes instalados...
No se han encontrado proveedores de 'ndr.h'.
It says that there are no providers for ndr.h
The errors are:
checking for NDR_KRB5PAC... no
configure: WARNING: Cannot build pac responder without libndr_krb5pac
checking for krb5-config... (cached) /usr/lib/mit/bin/krb5-config
checking for supported MIT krb5 version... yes
checking for sigprocmask... yes
checking for sigblock... yes
checking for sigaction... yes
checking for getpgrp... yes
checking for prctl... yes
checking for NDR_NBT... no
configure: error: "Please install Samba 4 development libraries"
-------
Also tried on Ubuntu but still get errors:
libtool: link: gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith
-Wcast-qual -Wcast-align -Wwrite-strings
-Werror-implicit-function-declaration -fno-strict-aliasing -std=gnu99 -g
-O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -o
.libs/sss_ssh_authorizedkeys
src/sss_client/sss_ssh_authorizedkeys-common.o
src/sss_client/ssh/sss_ssh_authorizedkeys-sss_ssh_client.o
src/sss_client/ssh/sss_ssh_authorizedkeys-sss_ssh_authorizedkeys.o
-lpthread ./.libs/libsss_util.so -Wl,-rpath -Wl,/usr/local/lib/sssd
/usr/bin/ld: src/sss_client/ssh/sss_ssh_authorizedkeys-sss_ssh_client.o:
undefined reference to symbol '_talloc_zero_array@(a)TALLOC_2.0.2'
/usr/bin/ld: note: '_talloc_zero_array@(a)TALLOC_2.0.2' is defined in DSO
/usr/lib/i386-linux-gnu/libtalloc.so.2 so try adding it to the linker
command line
/usr/lib/i386-linux-gnu/libtalloc.so.2: could not read symbols: Invalid
operation
collect2: error: ld returned 1 exit status
make[2]: *** [sss_ssh_authorizedkeys] Error 1
make[2]: Leaving directory `/home/steve/Downloads/sssd-1.9.92'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/Downloads/sssd-1.9.92'
make: *** [all] Error 2
Any ideas?
Thanks