WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore64 opensll/bn.h  (Read 1561 times)

Offline Mypresus

  • Newbie
  • *
  • Posts: 24
piCore64 opensll/bn.h
« on: August 30, 2021, 07:52:32 PM »
Hi there newbie here,
Just tried to compile haproxy came up with the following error belief that openssl bn.h file is not included in the build or is there something else wrong?

tc@box:~/ext/tmp/haproxy-2.4.3$ sudo make DESTDIR=/home/tc/ext/usr/local TARGET=linux-glibc ARCH=armv8-auto USE_OPENSSL=1 USE_THREAD=1
  CC      src/slz.o
  CC      src/ev_poll.o
  CC      src/ev_epoll.o
  CC      src/cpuset.o
  CC      src/ssl_sample.o
In file included from include/haproxy/listener-t.h:37,
                 from include/haproxy/server-t.h:36,
                 from include/haproxy/lb_map-t.h:26,
                 from include/haproxy/backend-t.h:30,
                 from include/haproxy/proxy-t.h:35,
                 from include/haproxy/applet-t.h:31,
                 from include/haproxy/obj_type.h:26,
                 from src/ssl_sample.c:27:
include/haproxy/openssl-compat.h:5:10: fatal error: openssl/bn.h: No such file or directory
    5 | #include <openssl/bn.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:945: src/ssl_sample.o] Error 1

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11570
Re: piCore64 opensll/bn.h
« Reply #1 on: August 30, 2021, 08:07:04 PM »
Hi Mypresus
Welcome to the forum.

Did you load  openssl-dev.tcz ? According to this it contains  bn.h:
http://tinycorelinux.net/13.x/aarch64/tcz/openssl-dev.tcz.list

Offline Mypresus

  • Newbie
  • *
  • Posts: 24
Re: piCore64 opensll/bn.h
« Reply #2 on: August 30, 2021, 08:23:21 PM »
Thank you for getting back to me Rich. That will be the reason
Kind regards Robert

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11570
Re: piCore64 opensll/bn.h
« Reply #3 on: August 30, 2021, 08:32:44 PM »
Hi Mypresus
You are welcome. Glad I could help.