[Nix-dev] Missing libbz2

Pjotr Prins pjotr.public12 at thebird.nl
Fri Jul 13 11:53:36 CEST 2012


I am trying to build nix-1.1pre2742_a7a43ad in user land (no root on
the grid). It finds bzip2 fine, but

  ./configure --prefix=$HOME/opt/local
  (...)
  checking for BZ2_bzWriteOpen in -lbz2... no
  configure: error: Nix requires libbz2, which is part of bzip2.  See http://www.bzip.org/.

It should be there

  $ locate libbz2
  /usr/lib/libbz2.so.1
  /usr/lib/libbz2.so.1.0.3
  /usr/lib64/libbz2.so.1
  /usr/lib64/libbz2.so.1.0.3

also

  $ ls ../bzip2-1.0.6/lib*
  ../bzip2-1.0.6/libbz2.a

What is the recommended thing to do. There is no parameter for
configure.

Pj.


More information about the nix-dev mailing list