RSS feed

RPM packaging for version 0.8.12

[Date Prev][Date Next] [Thread Prev][Thread Next]

RPM packaging for version 0.8.12


I am trying to package as RPM nss-pam-ldapd 0.8.12. For that, I have used the SPEC for the package from CentOS 6.3 (although that SPEC is for version 0.7.x), available in The only thing I have done is to remove the patches and change the nss-pam-ldapd version. The resulting SPEC is here

But when I try to compile it using the command

rpmbuild -ba /usr/src/redhat/SPECS/nss-pam-ldapd_sacyl.spec

I get this error, after some output (the full output is here

gcc -fPIC -O2 -g -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -shared -Wl,-h, -Wl,--version-script,./exports.glibc  -o -shared -Wl,-h, -Wl,--version-script,./exports.glibc common.o aliases.o ethers.o group.o hosts.o netgroup.o networks.o passwd.o protocols.o rpc.o services.o shadow.o    ../common/libtio.a ../common/libprot.a
/usr/bin/ld: duplicate version tag `EXPORTED'
collect2: ld returned 1 exit status
make[2]: *** [] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/nss-pam-ldapd-0.8.12/nss'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/nss-pam-ldapd-0.8.12'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.29341 (%build)

Any idea why is this happening?

Regards and thanks in advance.

To unsubscribe send an email to or see