I try to install OpenVPN Web Certificate Management in a Debian 6
I have this error:
The server is i386
/tmp/openvpn# make install
cp -a . /home/openvpn
chown -R www-data.www-data /home/openvpn
make pam
make: se ingresa al directorio `/tmp/openvpn'
cd /home/openvpn/www/status/pam && make -f Makefile
make: se ingresa al directorio `/home/openvpn/www/status/pam'
gcc -g -o check_user check_user.o -lpam -lpam_misc
/usr/bin/ld: i386:x86-64 architecture of input file `check_user.o' is incompatible with i386 output
/usr/bin/ld: final link failed: Invalid operation
collect2: ld returned 1 exit status
make: *** Error 1
make: se sale del directorio `/home/openvpn/www/status/pam'
make: *** Error 2
make: se sale del directorio `/tmp/openvpn'
make: *** Error 2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welcome to Open Discussion
I try to install OpenVPN Web Certificate Management in a Debian 6
I have this error:
The server is i386
/tmp/openvpn# make install
cp -a . /home/openvpn
chown -R www-data.www-data /home/openvpn
make pam
make: se ingresa al directorio `/tmp/openvpn'
cd /home/openvpn/www/status/pam && make -f Makefile
make: se ingresa al directorio `/home/openvpn/www/status/pam'
gcc -g -o check_user check_user.o -lpam -lpam_misc
/usr/bin/ld: i386:x86-64 architecture of input file `check_user.o' is incompatible with i386 output
/usr/bin/ld: final link failed: Invalid operation
collect2: ld returned 1 exit status
make: *** Error 1
make: se sale del directorio `/home/openvpn/www/status/pam'
make: *** Error 2
make: se sale del directorio `/tmp/openvpn'
make: *** Error 2
Hi, i some problem.
I prove in ubuntu 9.1, lenny and squeeze.
Please help rc-flyer.
Thanks
Hi all
For solved this problem yo need download de SVN versions , in this version is solved the compilation of `check_user.o'
svn co https://openvpncertmgmt.svn.sourceforge.net/svnroot/openvpncertmgmt openvpncertmgmt
Before:
root@bt:/usr/local/src/openvpn# make install
cp -a . /home/openvpn
chown -R www-data.www-data /home/openvpn
make pam
make: Entering directory `/usr/local/src/openvpn'
cd /home/openvpn/www/status/pam && make -f Makefile
make: Entering directory `/home/openvpn/www/status/pam'
gcc -g -o check_user check_user.o -lpam -lpam_misc
/usr/bin/ld: i386:x86-64 architecture of input file `check_user.o' is incompatible with i386 output
/usr/bin/ld: final link failed: Invalid operation
collect2: ld returned 1 exit status
make: *** Error 1
make: Leaving directory `/home/openvpn/www/status/pam'
make: *** Error 2
make: Leaving directory `/usr/local/src/openvpn'
make: *** Error 2
After:
root@/usr/local/src/openvpncertmanagement/openvpncertmgmt#make install
cp -a . /home/openvpn
chown -R www-data.www-data /home/openvpn
make pam
make: Entering directory `/usr/local/src/openvpncertmanagement/openvpncertmgmt'
cd /home/openvpn/www/status/pam && make -f Makefile
make: Entering directory `/home/openvpn/www/status/pam'
gcc -g -o check_user check_user.o -lpam -lpam_misc
make: Leaving directory `/home/openvpn/www/status/pam'
make: Leaving directory `/usr/local/src/openvpncertmanagement/openvpncertmgmt'
setup/installconfig.sh
Good Job rc-flyer