Opened 10 years ago

Closed 10 years ago

#3006 closed Bugs (fixed)

Boost 1.39.0 lib installation wrong path

Reported by: bradenm@… Owned by:
Milestone: Component: Building Boost
Version: Severity: Problem
Keywords: Cc:


When building boost 1.39.0, the the library files are installed to /lib rather than /usr/local/lib.

After extracting the tarball and cd'ing to it, I do: ./ ./bjam install

This builds it and installs the headers to /usr/local/include but installs the libraries to /lib. According to ./bjam --help, The default prefix is /usr/local so the default libdir is /usr/local/lib. Explicitly setting this as ./bjam install --prefix=/usr/local doesn't fix the problem. However, explicitly setting the libdir with ./bjam install --libdir=/usr/local/lib causes it to work correctly.

Change History (4)

comment:1 Changed 10 years ago by adair

The bug is due to a typo in

if test "x$LIBDIR" = x; then



EPREFIX is currect.

comment:2 Changed 10 years ago by anonymous

Good find, I had this problem too. Maybe there will be a boost v1.39.1 in the near future?

comment:3 Changed 10 years ago by raffi.enficiaud@…

You can also use:

./ --prefix=$DEST --libdir=$DEST/lib ./bjam install

comment:4 Changed 10 years ago by Vladimir Prus

Resolution: fixed
Status: newclosed

This is fixed in HEAD, and merged to release branch.

Note: See TracTickets for help on using tickets.