[SSSD-users] RHEL5-builds of sssd 1.9.4

Michael Ströder michael at stroeder.com
Thu Mar 28 14:58:57 UTC 2013


On Thu, 28 Mar 2013 10:16:27 -0400 Stephen Gallagher <sgallagh at redhat.com>
wrote
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thu 28 Mar 2013 10:15:10 AM EDT, Michael Ströder wrote:
> > On Thu, 28 Mar 2013 10:05:35 -0400 Stephen Gallagher
> > <sgallagh at redhat.com> wrote
> >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> >> 
> >> On Thu 28 Mar 2013 10:01:43 AM EDT, Michael Ströder wrote:
> >>> Ok, now I'm stuck with this output of OpenLDAP lib checks when 
> >>> running 1.9.4's configure:
> >>> 
> >>> checking for LDAPDerefRes... no configure: error: The OpenLDAP 
> >>> version found does not contain the required type LDAPDerefRes
> >>> 
> >>> I guess this is because the OpenLDAP 2.3.43 libs that come
> >>> with RHEL5 does not contain support for the experimental deref
> >>> LDAP control.
> >>> 
> >>> Since I don't need it my question is: Any chance to disable
> >>> this when running configure?
> >> 
> >> RHEL 5.6 and later have an openldap24-libs-devel package that you
> >> can build against.
> > 
> > This does not seam to be in the standard 5.6 repo. In which repo
> > can I find that?
> > 
> 
> Sorry, I was incorrect. It's in 5.7, not 5.6.

Ok, I've grabbed openldap24-libs-devel from more recent RHEL 5.8, applying the
above mentioned patch and after installing myriads of other -devel packages the
build fails:

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 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 
/.libs/libsss_util.a -ltevent -ltalloc -lpopt -lldb -L/lib64 -ldbus-1 -lpcre
-lini_config -lcollection -ldhash -L/usr/lib64/openldap24 -llber -lldap -ltdb
-lglib-2.0 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread
-ldl
/usr/bin/ld: warning: libpath_utils.so.1, needed by
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so, not
found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libref_array.so.1, needed by
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so, not
found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libbasicobjects.so.0, needed by
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so, not
found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `simplebuffer_alloc'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_replace'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `simplebuffer_get_buf'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_reset'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `simplebuffer_get_len'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_append'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `simplebuffer_free'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_create'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_copy'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `simplebuffer_add_cr'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_len'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_remove'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_getlen'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `make_normalized_absolute_path'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_destroy'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_insert'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `simplebuffer_add_str'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_get'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `ref_array_swap'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libini_config.so:
undefined reference to `simplebuffer_add_raw'
collect2: ld returned 1 exit status
make[2]: *** [sss_ssh_authorizedkeys] Error 1
make[2]: Leaving directory `/home/mstroeder/sssd-1.9.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mstroeder/sssd-1.9.4'
make: *** [all] Error 2

Ciao, Michael.




More information about the sssd-users mailing list