Skip to content

Build Asio (non-boost) On OpenBSD

Asio Fossil Mirror From Github

Build Asio (non-boost) On OpenBSD

1. Install Required tools/libs

$ doas pkg_add boost autoconf automake

2. Create xjail filesystem (Suggest)

$ doas mkdir /xjail

3. Clone asio code from github

$ git clone --depth=1
$ cd asio

4. Build asio c++ network library

$ ./
$ ./configure --prefix=/xjail/local --with-boost=/usr/local/include --enable-boost-coroutine
$ make LDFLAGS="${LDFLAGS} -L/usr/local/lib"
$ doas make install
  • asio has been installed to /xjail/local/include now. Asio is header-only library.
  • Q: Why not use ports or pkg_add asio?
    A: It lacks some critical features.




No Trackbacks


Display comments as Linear | Threaded

No comments

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.

Form options

Submitted comments will be subject to moderation before being displayed.