Public bug reported:

cmake complains about missing boost_context.

$ cat CMakeLists.txt
find_package(Boost COMPONENTS context REQUIRED)

$ cmake .
CMake Error at /usr/share/cmake-3.2/Modules/FindBoost.cmake:1202 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.58.0

  Boost include path: /usr/include

  Could not find the following Boost libraries:

          boost_context

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:1 (find_package)


It seems that some .so files are missing in the package on arm64.

$ dpkg -L libboost-context1.58.0
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libboost-context1.58.0
/usr/share/doc/libboost-context1.58.0/copyright
/usr/share/doc/libboost-context1.58.0/changelog.Debian.gz

Comparing with the package on x86, you will be able to find some .so
files :

$ dpkg -L libboost-context1.54.0
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libboost-context1.54.0
/usr/share/doc/libboost-context1.54.0/changelog.Debian.gz
/usr/share/doc/libboost-context1.54.0/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libboost-context1.54.0
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libboost_context.so.1.54.0

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: libboost-context1.58.0 1.58.0+dfsg-3.1ubuntu1
Uname: Linux 4.1.12+ aarch64
ApportVersion: 2.19.1-0ubuntu5
Architecture: arm64
Date: Tue Mar 15 08:44:51 2016
Dependencies:
 
JournalErrors:
 No journal files were found.
 -- No entries --
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 SHELL=/bin/bash
SourcePackage: boost1.58
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: boost1.58 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug arm64 wily

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1557240

Title:
  Cannot find boost library : boost_context on arm64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.58/+bug/1557240/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to