Package: ldb
Version: 0.9.0-1
Severity: serious

Hi,

Your package is failing to build (on amd64) with the following error:
Compiling snprintf.c
gcc -shared -Wl,-soname,libldb.so.0 -o lib/libldb.so.0.9.0 
modules/operational.po modules/rdn_name.po modules/objectclass.po 
modules/paged_results.po modules/sort.po modules/asq.po common/ldb.po 
common/ldb_ldif.po common/ldb_parse.po common/ldb_msg.po common/ldb_utf8.po 
common/ldb_debug.po common/ldb_modules.po common/ldb_dn.po common/ldb_match.po 
common/ldb_attributes.po common/attrib_handlers.po common/ldb_controls.po 
common/qsort.po ldb_tdb/ldb_tdb.po ldb_tdb/ldb_pack.po ldb_tdb/ldb_search.po 
ldb_tdb/ldb_index.po ldb_tdb/ldb_cache.po ldb_tdb/ldb_tdb_wrap.po replace.po 
snprintf.po  -ldl  -ltalloc   -ltdb
Compiling tools/ldbadd.c
Compiling tools/cmdline.c
gcc -shared -o bin/ldbadd tools/ldbadd.o tools/cmdline.o lib/libldb.so.0.9.0 
-ldl  -lpopt
/usr/bin/ld: tools/ldbadd.o: relocation R_X86_64_32 against `a local symbol' 
cannot be used when making a shared object; recompile with -fPIC
tools/ldbadd.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [bin/ldbadd] Error 1


Note that you're trying to make a shared library called "bin/ldbadd" and
the file tools/ldbadd.o wasn't build using -fPIC.

My guess is that it shouldn't be using the "-shared" when making
bin/ldbadd and that you want a normal executable.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to