LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (http://www.linuxquestions.org/questions/aix-43/)
-   -   openssh compiling error Undefined symbol: .AES_encrypt (http://www.linuxquestions.org/questions/aix-43/openssh-compiling-error-undefined-symbol-aes_encrypt-4175425769/)

LinuxLover 09-05-2012 09:06 AM

openssh compiling error Undefined symbol: .AES_encrypt
 
Hi,
I am using AIX 5.3 and trying to compile openssh-5.8p2 on this.I already have installed gcc-4.4.0-1,make,gmake etc along with their dependencies.

./configure command finish successfully but when I give command gmake it finish with below error

ld: 0711-317 ERROR: Undefined symbol: .AES_encrypt
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status


Any idea what to do ?

DukeSSD 09-11-2012 06:25 PM

Um, why compile?

Google aix 5.3 ssh, first hit tells you all about it:
http://publib.boulder.ibm.com/infoce...ty/openssh.htm

Download and install ssl, then ssh, instructions and download links provided...

LinuxLover 09-12-2012 12:42 AM

1 Attachment(s)
Hi DukeSSD,
Thanks for your help.After lot of google searching I already able to install Openssh 5.8 on all AIX 5.3 boxes from installp command. I did download from AIX Web Download Pack.

https://www14.software.ibm.com/webap...o?source=aixbp

Howto document is attached.

However I am facing some other issue on on of AIX 5.2 box which I am posting in another thread.

NevemTeve 09-17-2012 06:51 AM

Maybe you should upgrade your OpenSsl, too. The latest version is 1.0.1c.

Code:

$ dump -Tv /usr/local/lib/libcrypto.so | grep AES

[118]  0x10146fb0    .text      EXP    RO  Ldef        [noIMid] AES_version
[537]  0x2001594c    .data      EXP    DS SECdef        [noIMid] AES_encrypt
...
[877]  0x20016954    .data      EXP    DS  Ldef        [noIMid] AES_unwrap_key
[878]  0x20016960    .data      EXP    DS  Ldef        [noIMid] private_AES_set_encrypt_key
[879]  0x2001696c    .data      EXP    DS  Ldef        [noIMid] private_AES_set_decrypt_key



All times are GMT -5. The time now is 10:21 PM.