lists.arthurdejong.org
RSS feed

Re: RPM packaging for version 0.8.12

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

Re: RPM packaging for version 0.8.12



On Thu, 2012-11-29 at 13:00 +0100, Juan Asensio Sánchez wrote:
> I get this error, after some output (the full output is here
> http://pastebin.com/scK2kyqk):
[...]
> /usr/bin/ld: duplicate version tag `EXPORTED'
[...]
> Any idea why is this happening?

I've had a quick look but there are a few things going. First,
autoreconf is run during the build. The configure script seems to work
slightly different from the configure script shipped in nss-pam-ldapd.

Another difference from a build on a test box is that gcc seems to be
passed a few extra options:
-m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables

The link command that is failing is passed some options twice amongst
which -Wl,--version-script,./exports.glibc which defines which symbols
need to be exported. If this is passed twice the above error can be
expected.

Which versions of autoconf and automake do you have installed? Perhaps
taking out the autoreconf step will help.

Also, you are passing the --disable-pam option to configure. These days
the PAM module in nss-pam-ldapd is a pretty good replacement for the old
pam_ldap so you could consider building it.

-- 
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org --
-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/