0

While I am on a x86-64 machine, I need to cross-compile for an embedded GNU linux distro that uses and ARMV5. During compilation I am getting No such file or directory on

#include <openssl/opensslconf.h>

So I will need the source for opensll. Clear enough. First of all, there is no apt-get package for Libssl-dev. We are forced to dpkg a deb instead, which is exactly what I try to do next. But then that does not work even when run directly from the downloaded file. It complains the versions do not match. What is the way forward from here?

There is some confusion about whether Ubuntu 18.04 was built on top of Debian sid or Debian buster. This may or may not be related. Your thoughts ?

root@linus-V# dpkg -i libssl1.1_1.1.1n-0+deb10u3_armel.deb 
Selecting previously unselected package libssl1.1:armel.
(Reading database ... 169854 files and directories currently installed.)
Preparing to unpack libssl1.1_1.1.1n-0+deb10u3_armel.deb ...
De-configuring libssl1.1:i386 (1.1.1-1ubuntu2.1~18.04.20) ...
De-configuring libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.20) ...
Unpacking libssl1.1:armel (1.1.1n-0+deb10u3) ...
dpkg: error processing package libssl1.1:armel (--install):
 package libssl1.1:armel 1.1.1n-0+deb10u3 cannot be configured because libssl1.1:amd64 is at a different version (1.1.1-1ubuntu2.1~18.04.20)
dpkg: error processing package libssl1.1:amd64 (--install):
 package libssl1.1:amd64 1.1.1-1ubuntu2.1~18.04.20 cannot be configured because libssl1.1:armel is at a different version (1.1.1n-0+deb10u3)
dpkg: error processing package libssl1.1:i386 (--install):
 package libssl1.1:i386 1.1.1-1ubuntu2.1~18.04.20 cannot be configured because libssl1.1:armel is at a different version (1.1.1n-0+deb10u3)
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
Errors were encountered while processing:
 libssl1.1:armel
 libssl1.1:amd64
 libssl1.1:i386
root@linus-V#

0 Answers0