Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Build failure on dev branch #1233

Closed
Dariqq opened this issue Aug 30, 2024 · 0 comments
Closed

[BUG] Build failure on dev branch #1233

Dariqq opened this issue Aug 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Dariqq
Copy link
Contributor

Dariqq commented Aug 30, 2024

Hi,

When building fastfetch dev branch with BINARY_LINK_TYPE=dynamic (or static) the linker complains about undefined references in the new zfs module:

ld: /tmp/guix-build-fastfetch-2.22.0-git.drv-0/cc7XJLY8.ltrans16.ltrans.o: in function `ffDetectZpool':
/tmp/guix-build-fastfetch-2.22.0-git.drv-0/source/src/detection/zpool/zpool_linux.c:53: undefined reference to `libzfs_init'
ld: /tmp/guix-build-fastfetch-2.22.0-git.drv-0/source/src/detection/zpool/zpool_linux.c:62: undefined reference to `libzfs_fini'
ld: /tmp/guix-build-fastfetch-2.22.0-git.drv-0/source/src/detection/zpool/zpool_linux.c:63: undefined reference to `zpool_get_prop_int'
ld: /tmp/guix-build-fastfetch-2.22.0-git.drv-0/source/src/detection/zpool/zpool_linux.c:64: undefined reference to `zpool_get_name'
ld: /tmp/guix-build-fastfetch-2.22.0-git.drv-0/source/src/detection/zpool/zpool_linux.c:65: undefined reference to `zpool_get_state_str'
ld: /tmp/guix-build-fastfetch-2.22.0-git.drv-0/source/src/detection/zpool/zpool_linux.c:66: undefined reference to `zpool_get_status'
ld: /tmp/guix-build-fastfetch-2.22.0-git.drv-0/source/src/detection/zpool/zpool_linux.c:68: undefined reference to `zpool_iter'
collect2: error: ld returned 1 exit status
@Dariqq Dariqq added the bug Something isn't working label Aug 30, 2024
CarterLi added a commit to CarterLi/fastfetch that referenced this issue Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant