AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Error : must be able to specify blibpath on AIX - check config.log

    Posted Mon July 27, 2009 08:20 AM

    Originally posted by: bz9002


    Hollo !

    I'm compiling opennssh 4.6p1 patched with openssh-lpk-4.6p1-0.3.9.patch.
    1- On 5.3TL5 server it works well
    2- On 5.3TL9 it gives me thise error :

    checking how to specify blibpath for linker (gcc)... not found
    configure: error: *** must be able to specify blibpath on AIX - check config.log

    On the 5.3TL9 I have this :
    1. rpm -aq
    cdrecord-1.9-7
    mkisofs-1.13-4
    AIX-rpm-5.3.9.0-1
    bash-3.0-1
    bash-doc-3.0-1
    unzip-5.51-1
    libgcc-4.0.0-1
    gcc-c++-4.0.0-1
    gcc-4.0.0-1
    libstdc++-4.0.0-1
    libstdc++-devel-4.0.0-1

    And on the 5.3TL5 I have this :
    1. rpm -aq
    cdrecord-1.9-7
    mkisofs-1.13-4
    AIX-rpm-5.3.0.50-1
    bash-3.0-1
    libgcc-4.0.0-1
    libstdc++-4.0.0-1
    libstdc++-devel-4.0.0-1
    gcc-4.0.0-1
    gcc-c++-4.0.0-1
    zlib-1.2.3-3
    zlib-devel-1.2.3-3
    patch-2.5.4-4
    openssl-0.9.7g-1
    openssl-devel-0.9.7g-1
    db-3.3.11-4
    openldap-2.0.21-5ssl

    Any help please ??

    Best regards !!
    #AIX-Forum


  • 2.  Re: Error : must be able to specify blibpath on AIX - check config.log

    Posted Mon July 27, 2009 10:41 AM

    Originally posted by: bz9002


    Oops !!

    Here is the configure command :

    ./configure --prefix=/usr/openssh-lpk --sysconfdir=/etc/ssh-lpk --libexecdir=/usr/openssh-lpk/sbin --with-md5-passwords --with-pam --with-libs="-lldap" --with-cppflags=-DWITH_LDAP_PUBKEY

    Thanks
    #AIX-Forum


  • 3.  Re: Error : must be able to specify blibpath on AIX - check config.log

    Posted Mon July 27, 2009 11:18 AM

    Originally posted by: Holgervk


    configure tells you to check "config.log"
    did you do this? can you paste it?
    #AIX-Forum


  • 4.  Re: Error : must be able to specify blibpath on AIX - check config.log

    Posted Mon July 27, 2009 11:50 AM

    Originally posted by: bz9002


    I past just the part where I found the error , because the file is too large :

    configure:6099: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -DWITH_LDAP_PUBKEY -blibpath:/usr/lib:/lib conftest.c -lldap >&5
    gcc: '-b' must come at the start of the command line
    configure:6105: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "OpenSSH"
    | #define PACKAGE_TARNAME "openssh"
    | #define PACKAGE_VERSION "Portable"
    | #define PACKAGE_STRING "OpenSSH Portable"
    | #define PACKAGE_BUGREPORT "openssh-unix-dev@mindrot.org"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define WORDS_BIGENDIAN 1
    | #define _LARGE_FILES 1
    | #define LOGIN_PROGRAM_FALLBACK "/usr/bin/login"
    | #define _PATH_PASSWD_PROG "/usr/bin/passwd"
    | #define HAVE_CRYPT_H 1
    | #define HAVE_DIRENT_H 1
    | #define HAVE_FCNTL_H 1
    | #define HAVE_GLOB_H 1
    | #define HAVE_LIMITS_H 1
    | #define HAVE_LOGIN_H 1
    | #define HAVE_NETDB_H 1
    | #define HAVE_PATHS_H 1
    | #define HAVE_RPC_TYPES_H 1
    | #define HAVE_SECURITY_PAM_APPL_H 1
    | #define HAVE_STDDEF_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_SYS_AUDIT_H 1
    | #define HAVE_SYS_CDEFS_H 1
    | #define HAVE_SYS_DIR_H 1
    | #define HAVE_SYS_MMAN_H 1
    | #define HAVE_SYS_SELECT_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_SYS_STREAM_H 1
    | #define HAVE_SYS_STROPTS_H 1
    | #define HAVE_SYS_SYSMACROS_H 1
    | #define HAVE_SYS_TIME_H 1
    | #define HAVE_SYS_TIMERS_H 1
    | #define HAVE_SYS_UN_H 1
    | #define HAVE_TIME_H 1
    | #define HAVE_TTYENT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_USERSEC_H 1
    | #define HAVE_UTIME_H 1
    | #define HAVE_UTMP_H 1
    | #define HAVE_UTMPX_H 1
    | /* end confdefs.h. */

    | int
    | main ()

    | {
    |

    | ;
    | return 0;

    | }
    configure:6124: result: not found
    configure:6126: error: *** must be able to specify blibpath on AIX - check config.log
    #AIX-Forum