Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

FreeBSD build errors #830

Closed
tymat opened this issue Mar 26, 2016 · 3 comments
Closed

FreeBSD build errors #830

tymat opened this issue Mar 26, 2016 · 3 comments
Labels
F8-enhancement 🎊 An additional feature request.

Comments

@tymat
Copy link

tymat commented Mar 26, 2016

error: could not find native static library `z`, perhaps an -L flag is missing?
Build failed, waiting for other jobs to finish...
/home/appuser/.cargo/registry/src/github.com-88ac128001ac3a9a/nix-0.4.2/src/lib.rs:46:20: 46:28 error: unresolved import `libc::PATH_MAX`. There is no `PATH_MAX` in `libc` [E0432]
/home/appuser/.cargo/registry/src/github.com-88ac128001ac3a9a/nix-0.4.2/src/lib.rs:46 use libc::{c_char, PATH_MAX};
                                                                                                         ^~~~~~~~
/home/appuser/.cargo/registry/src/github.com-88ac128001ac3a9a/nix-0.4.2/src/lib.rs:46:20: 46:28 help: run `rustc --explain E0432` to see a detailed explanation
/home/appuser/.cargo/registry/src/github.com-88ac128001ac3a9a/nix-0.4.2/src/lib.rs:46:20: 46:28 error: unresolved import `libc::PATH_MAX`. There is no `PATH_MAX` in `libc` [E0432]
/home/appuser/.cargo/registry/src/github.com-88ac128001ac3a9a/nix-0.4.2/src/lib.rs:46 use libc::{c_char, PATH_MAX};
                                                                                                         ^~~~~~~~
/home/appuser/.cargo/registry/src/github.com-88ac128001ac3a9a/nix-0.4.2/src/lib.rs:46:20: 46:28 help: run `rustc --explain E0432` to see a detailed explanation
error: aborting due to previous error
@gavofyork
Copy link
Contributor

hmm - i seem to remember nix had an issue on raspi, too... @arkpar any ideas?

@arkpar
Copy link
Collaborator

arkpar commented Mar 27, 2016

nix-rust/nix#268
Latest nix library is required.

@gavofyork gavofyork added F8-enhancement 🎊 An additional feature request. and removed F2-build labels Apr 6, 2016
@gavofyork
Copy link
Contributor

Closing due to explanation of required dependencies - putting that in the wiki

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F8-enhancement 🎊 An additional feature request.
Projects
None yet
Development

No branches or pull requests

3 participants