Subject: 2007Q1 -> security/pam-pwauth_suid build failed on NetBSD-4/Amd64
To: None <pkgsrc-users@netbsd.org>
From: Asmodehn Shade <asmodehn@gmail.com>
List: pkgsrc-users
Date: 06/08/2007 14:04:31
Here is the error I got trying to build pam-pwauth_suid :
===> Building for pam-pwauth_suid-1.0
(cd /usr/pkgsrc/security/pam-pwauth_suid/work && cc -O2 -DPATH_HELPER=\"/usr/pkg/libexec/pwauth_suid_helper\" -I/usr/include -shared pam_pwauth_suid.c -o pam_pwauth_suid.so.0 && cc -O2 -DPATH_HELPER=\"/usr/pkg/libexec/pwauth_suid_helper\" -I/usr/include pwauth_suid_helper.c -o pwauth_suid_helper -lcrypt)
ld: /var/tmp//cciJqKgI.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/var/tmp//cciJqKgI.o: could not read symbols: Bad value
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/security/pam-pwauth_suid/work/.gcc/bin/gcc -O2 -DPATH_HELPER=\"/usr/pkg/libexec/pwauth_suid_helper\" -shared pam_pwauth_suid.c -o pam_pwauth_suid.so.0 -I/usr/pkgsrc/security/pam-pwauth_suid/work/.buildlink/include -L/usr/pkgsrc/security/pam-pwauth_suid/work/.buildlink/lib
*** Error code 1
I wondered if anyone has a clue why ?
Did anyone succeeded in building this from pkgsrc-current ?
Do I have something wrong in my pkgsrc somewhere?
This seems to be the last chance for me to be able to authenticate my https ( apache 22 ) users against my netbsd server password database...
Thanks for the help anyway ;)
--
Asmodehn