Skip to content

Binary distributions on FreeBSD 9 fail to complete nix-final-setup. #55

Closed

Description

@skull-squadron

Binary builds

Neither binary builds of 1.1 or 1.2 head work on the latest daily FreeBSD 9.1 RC1.

Cause: libutil.so.8 is not available on FreeBSD 9.x+. Symlinking libutil.so.8 -> libutil.so.9 is popular but not recommended.

Activity

  1. skull-squadron commented on Sep 25, 2012

    @skull-squadron
    Author

    Steps to reproduce to follow:

  2. skull-squadron commented on Sep 25, 2012

    @skull-squadron
    Author

    pkg_add -r curl && \ curl -L http://hydra.nixos.org/build/3059523/download/1/nix-1.2pre2912_20582e9-x86_64-freebsd.tar.bz2 | \ tar Jxf - -C / \ && nix-finish-install

  3. skull-squadron commented on Sep 25, 2012

    @skull-squadron
    Author
    root@freebsd:/root # curl -L http://hydra.nixos.org/build/3059523/download/1/nix-1.2pre2912_20582e9-x86_64-freebsd.tar.bz2 | tar Jxf - -C / && nix-finish-install
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      1 21.1M    1  277k    0     0   148k      0  0:02:25  0:00:01  0:02:24  155ktar: Removing leading '/' from member names
    100 21.1M  100 21.1M    0     0   291k      0  0:01:14  0:01:14 --:--:--  306k
    creating /root/.nix-profile
    installing `nix-1.2pre2912_20582e9'
    error: substituter `/nix/store/kp5hls34kscjllm1hg2mqwl6rn1kbk18-nix-1.2pre2912_20582e9/libexec/nix/substituters/copy-from-other-stores.pl' failed: Shared object "libutil.so.8" not found, required by "perl"
    /usr/bin/nix-finish-install: unable to install Nix into your default profile
  4. domenkozar commented on Oct 30, 2013

    @domenkozar
    Member

    Same goes for installing nixops, libz.so.5 is missing and can be symlinked from libz.so.6

  5. domenkozar commented on Jun 3, 2016

    @domenkozar
    Member

    @steakknife I wonder if this is still a problem on FreeBSD.

  6. armijnhemel commented on Apr 30, 2017

    @armijnhemel
    Contributor

    FreeBSD 9.x is no longer supported by the FreeBSD project. Is this still a problem on a current, supported FreeBSD?

  7. 0mp commented on May 8, 2019

    @0mp
    Contributor

    @armijnhemel There is an attempt at adding Nix to the FreeBSD ports collection: https://reviews.freebsd.org/D17766

    AFAIK, the missing library is no longer an issue.

  8. gilligan commented on Mar 29, 2020

    @gilligan
    Contributor

    This seems dead and the author hasn't been active on this for years - i'd suggest to close this one.

  9. armijnhemel commented on Mar 29, 2020

    @armijnhemel
    Contributor

    This seems dead and the author hasn't been active on this for years - i'd suggest to close this one.

    Agreed

  10. added a commit that references this issue on Aug 28, 2020
  11. added a commit that references this issue on Jan 1, 2024
  12. added a commit that references this issue on Mar 5, 2025
  13. added a commit that references this issue on Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions