Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to compile xbt on a Debian machine, but boost/make_shared.hpp is not found.

In file included from ./stdafx.h:32,
                 from ../misc/bvalue.cpp:1:
../misc/xbt/virtual_binary.h:5:33: error: boost/make_shared.hpp: No such file or directory
../misc/bvalue.cpp: In member function 'Cvirtual_binary Cbvalue::read() const':
../misc/bvalue.cpp:308: error: 'BOOST_VERIFY' was not declared in this scope

apt-cache show libboost-dev says the following, if it helps:

Package: libboost-dev
Priority: optional
Section: libdevel
Installed-Size: 28156
Maintainer: Debian Boost Team <>
Architecture: amd64
Source: boost
Version: 1.34.1-14

How can I update boost to the latest version on Debian?

share|improve this question
up vote 1 down vote accepted

What version of Debian are you running? libboost-dev is at 1.34.1-14 in Lenny (aka oldstable).

I'm not sure which version of the library you need for xbt since I couldn't find the build requirements for it anywhere but is available in Squeeze. Have you considered upgrading to Squeeze?

share|improve this answer
Upgrading to Squeeze did the trick. Thanks. – pt2ph8 Jun 5 '11 at 22:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.