#529 build fails on opensuse
Closed: Invalid None Opened 13 years ago by honza801.

hi

i'm trying to build sssd on opensuse 11.2, but it fails

how to reproduce:

cd /tmp/sssd-git
autoreconf -i -f
LDB_LIBS=/usr/lib/ LDB_CFLAGS=/usr/include ./configure
make

what happens?

Making all in src
make[1]: Entering directory `/tmp/sssd-git/src'
make  all-recursive
make[2]: Entering directory `/tmp/sssd-git/src'
Making all in po
make[3]: Entering directory `/tmp/sssd-git/src/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/sssd-git/src/po'
make[3]: Entering directory `/tmp/sssd-git/src'
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Werror-implicit-function-declaration -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -avoid-version -module  -o memberof.la -rpath  ldb_modules/memberof_la-memberof.lo /usr/lib/ -L./../common/dhash/ -ldhash 
libtool: link: only absolute run-paths are allowed
make[3]: *** [memberof.la] Error 1
make[3]: Leaving directory `/tmp/sssd-git/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/sssd-git/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/sssd-git/src'
make: *** [all-recursive] Error 1

expected result:
make successfull

using:
- autoconf-2.63-5.2.i586
- make-3.81-130.2.i586

$ gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.4 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.4 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux)



$ uname -a
Linux stroj 2.6.31.12-0.2-default #1 SMP 2010-03-16 21:25:39 +0100 i686 i686 i386 GNU/Linux

any help would be appreciated

thanks

fous


Your LDB_LIBS and LDB_CFLAGS are wrong. You need them to be:

LDB_LIBS=-L/usr/lib -lldb
LDB_CFLAGS=-I/usr/include

Without the appropriate - option, gcc and ld are misinterpreting the argument.

resolution: => invalid
status: new => closed

Fields changed

rhbz: => 0

Fields changed

milestone: NEEDS_TRIAGE => void

Metadata Update from @honza801:
- Issue set to the milestone: void

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1571

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata