cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
0
Helpful
2
Replies

Issue installing Duo on AIX 7.2

JSantos12
Level 1
Level 1

When running 

./configure --with-pam --prefix=/usr && make && sudo make install

The following output from the command is as follows

 

checking for a BSD-compatible install... autotools/install-sh -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... autotools/install-sh -c -d

checking for gawk... no

checking for mawk... no

checking for nawk... nawk

checking whether make sets $(MAKE)... yes

checking whether make supports nested variables... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking build system type... powerpc-ibm-aix7.2.0.0

checking host system type... powerpc-ibm-aix7.2.0.0

configure: autobuild project... duo_unix

configure: autobuild revision... 2.0.1

configure: autobuild hostname... server

configure: autobuild timestamp... 20230717T162057Z

checking for style of include used by make... GNU

checking for gcc... no

checking for cc... cc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... no

checking whether cc accepts -g... yes

checking for cc option to accept ISO C89... -qlanglvl=ansi

checking dependency style of cc -qlanglvl=ansi... none

checking how to run the C preprocessor... cc -qlanglvl=ansi -E

checking for grep that handles long lines and -e... /usr/bin/grep

checking for egrep... /usr/bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking minix/config.h usability... no

checking minix/config.h presence... no

checking for minix/config.h... no

checking whether it is safe to define __EXTENSIONS__... yes

checking whether we are using the GNU C compiler... (cached) no

checking whether cc accepts -g... (cached) yes

checking for cc option to accept ISO C89... (cached) -qlanglvl=ansi

checking dependency style of cc -qlanglvl=ansi... (cached) none

checking whether cc -qlanglvl=ansi and cc understand -c and -o together... yes

checking how to print strings... print -r

checking for a sed that does not truncate output... /usr/bin/sed

checking for fgrep... /usr/bin/grep -F

checking for non-GNU ld... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... no

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B

checking the name lister (/usr/bin/nm -B) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 786432

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... no

checking how to convert powerpc-ibm-aix7.2.0.0 file names to powerpc-ibm-aix7.2.0.0 format... func_convert_file_noop

checking how to convert powerpc-ibm-aix7.2.0.0 file names to toolchain format... func_convert_file_noop

checking for /usr/bin/ld option to reload object files... -r

checking for objdump... no

checking how to recognize dependent libraries... pass_all

checking for dlltool... no

checking how to associate runtime and link libraries... print -r --

checking for ar... ar

checking for archiver @FILE support... no

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm -B output from cc -qlanglvl=ansi object... ok

checking for sysroot... no

checking for mt... mt

checking if mt is a manifest tool... no

checking for dlfcn.h... yes

checking for objdir... .libs

checking for cc -qlanglvl=ansi option to produce PIC...  -DPIC

checking if cc -qlanglvl=ansi PIC flag  -DPIC works... yes

checking if cc -qlanglvl=ansi static flag -bnso -bI:/lib/syscalls.exp works... no

checking if cc -qlanglvl=ansi supports -c -o file.o... yes

checking if cc -qlanglvl=ansi supports -c -o file.o... (cached) yes

checking whether the cc -qlanglvl=ansi linker (/usr/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... aix7.2.0.0 ld.so

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... no

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking if -fstack-protector and -fstack-protector-all are supported.... yes

configure: -fstack-protector disabled on AIX

checking whether byte ordering is bigendian... yes

checking for an ANSI C-conforming const... yes

checking for int64_t... no

checking for ANSI C header files... (cached) yes

checking for inttypes.h... (cached) yes

checking limits.h usability... yes

checking limits.h presence... yes

checking for limits.h... yes

checking for memory.h... (cached) yes

checking for stdint.h... (cached) yes

checking for stdlib.h... (cached) yes

checking for string.h... (cached) yes

checking for unistd.h... (cached) yes

checking for pkg-config... no

checking for openssl/ssl.h in /usr/local/ssl... no

checking for openssl/ssl.h in /usr/lib/ssl... no

checking for openssl/ssl.h in /usr/ssl... no

checking for openssl/ssl.h in /usr/pkg... no

checking for openssl/ssl.h in /usr/local... no

checking for openssl/ssl.h in /usr... yes

checking whether compiling and linking against OpenSSL works... no

configure: error: in `/opt/duo_unix-2.0.1':

configure: error: OpenSSL not found

See `config.log' for more details

 

It looks like it's having an issue with OpenSSL but when I check, it has the right version (openssl version -a) but it still errors out.

I have tried this as well with no success (https://help.duo.com/s/article/4497?language=en_US)

./configure --with-pam --prefix=/usr --with-openssl=/usr

2 Replies 2

DuoKristina
Cisco Employee
Cisco Employee

Try...

./configure CFLAGS="-nostdinc -I/usr/include" --with-pam --prefix=/usr --with-openssl=/usr
Duo, not DUO.

JSantos12
Level 1
Level 1

Unfortunately, that failed as well.  We will be looking in to installing gcc though.  Hoping it may help

 

./configure CFLAGS="-nostdinc -I/usr/include" --with-pam --prefix=/usr --with-openssl=/usr
checking for a BSD-compatible install... autotools/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... autotools/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... powerpc-ibm-aix7.2.0.0
checking host system type... powerpc-ibm-aix7.2.0.0
configure: autobuild project... duo_unix
configure: autobuild revision... 2.0.1
configure: autobuild hostname... Server
configure: autobuild timestamp... 20230818T175536Z
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... no
configure: error: in `/opt/duo_unix-2.0.1':
configure: error: C compiler cannot create executables
See `config.log' for more details

Quick Links