11-01-2021 07:25 AM
Hello,
When I attempt to install Duo for Linux, I’m getting these errors:
make[2]: Entering directory ‘/home/administrator/duo_unix-1.11.4/compat’
depbase=echo groupaccess.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'
;
/bin/bash …/libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I… -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -MT groupaccess.lo -MD -MP -MF $depbase.Tpo -c -o groupaccess.lo groupaccess.c &&
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: Failed to create `.libs’
Makefile:382: recipe for target ‘groupaccess.lo’ failed
make[2]: *** [groupaccess.lo] Error 1
make[2]: Leaving directory ‘/home/administrator/duo_unix-1.11.4/compat’
Makefile:472: recipe for target ‘all-recursive’ failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory ‘/home/administrator/duo_unix-1.11.4’
Makefile:382: recipe for target ‘all’ failed
make: *** [all] Error 2
administrator@ZMTEST:~/duo_unix-1.11.4$
It also seems that /etc/duo directory is not getting created, as the install is unsuccessful. Can someone please give me an idea of what I’m doing wrong? Thanks.
11-08-2021 02:24 AM
Hi,
Which Linux distribution do you use? Have you tried with sudo or as root?
Regards,
Antony
11-09-2021 05:08 AM
Hi Antony,
Thanks for the response. I have tried using Sudo, and the distro I’m on is Ubuntu 16.04. Thanks.
11-09-2021 06:01 AM
Hi Patrick,
Can you share the output of a ls -ld
? It seems there is an issue with permission in your directories.
Regards,
Antony
11-09-2021 07:00 AM
Could the issue be which directory I’m uncompressing the tar file in? I’m uncompressing it under /home/administrator. I’m wondering if that’s causing the permissions issue?
administrator@ZMTEST:~$ cd duo_unix-1.11.4/
administrator@ZMTEST:~/duo_unix-1.11.4$ ls -ld
drwxr-xr-x 9 root root 4096 Nov 9 09:53 .
administrator@ZMTEST:~/duo_unix-1.11.4$
11-09-2021 07:44 AM
Patrick,
It is indeed the issue:
Which command did you use to extract the files from the archive?
Normally, you should use the following commands:
tar zxf duo_unix-latest.tar.gz
cd duo_unix-1.11.4
./configure --with-pam --prefix=/usr && make && sudo make install
sudo
is only used with the make install /!\
I did that successfully on a Debian box (so, kinda the same architecture than Ubuntu).
Regards,
Antony
11-09-2021 11:11 AM
Thank you for help Antony. I was able to get it to install after trying this as root as opposed to running it with sudo under my Administrator login.
11-10-2021 12:58 AM
Hi Patrick,
Glad you found the way to install it.
As I said in my previous reply, sudo
is only used during the installation phase and during the compiling phase. You need to pay attention to that in Linux:
HTH,
Antony
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide