[SSSD] can't build 1.10.0beta1 missing Samba 4 development libraries

steve steve at steve-ss.com
Tue May 7 13:55:52 UTC 2013


On 07/05/13 13:59, Jakub Hrozek wrote:
> On Tue, May 07, 2013 at 01:40:50PM +0200, steve wrote:
>> On 07/05/13 10:15, Jakub Hrozek wrote:
>>>
>>> As the configure script told you, you're missing the Samba 4 devel
>>> libraries. Is there anything like samba4-devel in OpenSuse? Or maybe a
>>> package that provides the ndr.h header file?
>>
>> Hi
>> It seems that those libs are only available after building Samba4.
>> There is a repo for samba4-devel but it depends on Samba4 so I
>> thought I'd build it anyway. I copied the lib it produced to
>> /usr/lib. It wouldn't work by adding /usr/local/samba/lib to the
>> path (?).
>>
>
> Yes, I asked our Samba maintainer and he confirmed that Samba4 is not
> available on OpenSuse 12.3.
>
> I think you'd have to add the path of the .pc files of the Samba
> libraries to PKG_CONFIG_PATH, I don't think /usr/local is there by
> default.
>
>> Any idea on the Ubuntu build error in the earlier post?
>> Thanks,
>> Steve
>
> Sorry, which build error?

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@@TALLOC_2.0.2'
/usr/bin/ld: note: '_talloc_zero_array@@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

> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
>




More information about the sssd-devel mailing list