RPM packaging for version 0.8.12
[Date Prev][Date Next] [Thread Prev][Thread Next]RPM packaging for version 0.8.12
- From: Juan Asensio Sánchez <okelet [at] gmail.com>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: RPM packaging for version 0.8.12
- Date: Thu, 29 Nov 2012 13:00:23 +0100
Hi
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 http://vault.centos.org/6.3/updates/Source/SPackages/nss-pam-ldapd-0.7.5-15.el6_3.2.src.rpm. The only thing I have done is to remove the patches and change the nss-pam-ldapd version. The resulting SPEC is here http://pastebin.com/CBjNiaKY.
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 http://pastebin.com/scK2kyqk):
gcc -fPIC -O2 -g -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -shared -Wl,-h,libnss_ldap.so.2
-Wl,--version-script,./exports.glibc -o nss_ldap.so -shared
-Wl,-h,libnss_ldap.so.2 -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]: *** [nss_ldap.so] 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.
Any idea why is this happening?
Regards and thanks in advance.
-- To unsubscribe send an email to nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see http://lists.arthurdejong.org/nss-pam-ldapd-users/
- RPM packaging for version 0.8.12, Juan Asensio Sánchez
- Re: RPM packaging for version 0.8.12,
Arthur de Jong
- Re: RPM packaging for version 0.8.12,
Juan Asensio Sánchez
- Re: RPM packaging for version 0.8.12,
Arthur de Jong
- Re: RPM packaging for version 0.8.12, Juan Asensio Sánchez
- Re: RPM packaging for version 0.8.12,
Arthur de Jong
- Re: RPM packaging for version 0.8.12,
Juan Asensio Sánchez
- Prev by Date: Re: Upgrade from 0.7 to 0.8 having auth problems
- Next by Date: Re: RPM packaging for version 0.8.12
- Previous by thread: Re: Upgrade from 0.7 to 0.8 having auth problems
- Next by thread: Re: RPM packaging for version 0.8.12