[Nix-dev] Missing libbz2

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Jul 13 15:13:32 CEST 2012


Hi Pjotr,

On 13/07/12 05:53, Pjotr Prins wrote:

> 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

You need the /usr/lib/libbz2.so symlink, which is typically provided by a
package named bzip2-devel or something similar.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list