build net-snmp with AES192/AES256 support to PowerC

Avner Flesch via Net-snmp-users <[email protected]> Mon, 3 Jun 2024 18:32:31 +0000
Newsgroups gmane.network.net-snmp.user
Message-ID <DM8PR13MB523789466D115EA60A365062DFFF2@DM8PR13MB5237.namprd13.prod.outlook.com>
--===============5282172144952467123==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_DM8PR13MB523789466D115EA60A365062DFFF2DM8PR13MB5237namp_"

--_000_DM8PR13MB523789466D115EA60A365062DFFF2DM8PR13MB5237namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I am trying to build net-snmp with AES192/AES256 support to PowerPC machine=
 - it is old but I have to make it work (it already works for me with AES 1=
28)
I am using eldk4.2 (I don't want to upgrade because it is newer libc, and w=
ill need to build everything in my system)
I have openssl 0.9.8b in my toolchain, and I set the --with-openssl option,=
 I even tried with newer openssl version 1.1.1
But nothing help - I get in the configure:
"checking for authentication support... configure: error: Asked to use Open=
SSL but I couldn't find it."

I am just trying to understand what I miss because with a newer eldk (5.6) =
- I do have success (but as I mentioned, I need to stay with the old eldk)

The configure file looks like that:
./configure --enable-blumenthal-aes --host=3Dppc-linux --with-endianness=3D=
big --enable-ipv6 --enable-privacy --enable-des --enable-internal-md5 --wit=
hout-rpm --with-openssl=3D/opt/eldk/ppc_6xx/usr --enable-mini-agent --with-=
default-snmp-version=3D2 --enable-shared --with-cflags=3D"-O2 -fsigned-char=
" --with-sys-location=3DUnknown --with-logfile=3D/var/log/snmpd.log --with-=
persistent-directory=3D/var/net-snmp --with-out-mib-modules=3Dexamples/ucdD=
emoPublic --sysconfdir=3D/etc --with-pic --disable-embedded-perl --with-per=
l-modules=3Dno --with-sys-contact=3Droot@localhost --with-mib-modules=3Dage=
ntx --disable-manuals --disable-scripts --disable-mibs --disable-mib-loadin=
g --disable-deprecated --with-out-mib-modules=3D"mibII mibII/snmp_mib mibII=
/system_mib mibII/sysORTable mibII/vacm_vars"

How can I make it work? (The openssl so file does exist)

Thanks

Avner Flesch


--_000_DM8PR13MB523789466D115EA60A365062DFFF2DM8PR13MB5237namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
Hi,</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
I am trying to build net-snmp with AES192/AES256 support to PowerPC machine=
 - it is old but I have to make it work (it already works for me with AES 1=
28)</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
I am using eldk4.2 (I don't want to upgrade because it is newer libc, and w=
ill need to build everything in my system)</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
I have openssl 0.9.8b in my toolchain, and I set the --with-openssl option,=
 I even tried with newer openssl version 1.1.1</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
But nothing help - I get in the configure:</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
&quot;checking for authentication support... configure: error: Asked to use=
 OpenSSL but I couldn't find it.&quot;</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
I am just trying to understand what I miss because with a&nbsp;newer eldk (=
5.6) - I do have success (but as I mentioned, I need to stay with the old e=
ldk)</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
The configure file looks like that:</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
./configure --enable-blumenthal-aes --host=3Dppc-linux --with-endianness=3D=
big --enable-ipv6 --enable-privacy --enable-des --enable-internal-md5 --wit=
hout-rpm --with-openssl=3D/opt/eldk/ppc_6xx/usr --enable-mini-agent --with-=
default-snmp-version=3D2 --enable-shared
 --with-cflags=3D&quot;-O2 -fsigned-char&quot; --with-sys-location=3DUnknow=
n --with-logfile=3D/var/log/snmpd.log --with-persistent-directory=3D/var/ne=
t-snmp --with-out-mib-modules=3Dexamples/ucdDemoPublic --sysconfdir=3D/etc =
--with-pic --disable-embedded-perl --with-perl-modules=3Dno
 --with-sys-contact=3Droot@localhost --with-mib-modules=3Dagentx --disable-=
manuals --disable-scripts --disable-mibs --disable-mib-loading --disable-de=
precated --with-out-mib-modules=3D&quot;mibII mibII/snmp_mib mibII/system_m=
ib mibII/sysORTable mibII/vacm_vars&quot;</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
How can I make it work? (The openssl so file does exist)</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
Thanks</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
<br>
</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
Avner Flesch</div>
<div class=3D"elementToProof" style=3D"font-family: Aptos, Aptos_EmbeddedFo=
nt, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; c=
olor: rgb(0, 0, 0);">
<br>
</div>
</body>
</html>

--_000_DM8PR13MB523789466D115EA60A365062DFFF2DM8PR13MB5237namp_--


--===============5282172144952467123==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============5282172144952467123==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

--===============5282172144952467123==--