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

zfs-0.8.4: undefined symobol aok in libnvpair.so #10353

Closed
RiderALT opened this issue May 21, 2020 · 3 comments
Closed

zfs-0.8.4: undefined symobol aok in libnvpair.so #10353

RiderALT opened this issue May 21, 2020 · 3 comments

Comments

@RiderALT
Copy link

Hi.
found during zfs 0.8.4 build for ALT Linux (ALT uses strong symbols checking in the build farm):

$ ldd -r lib/libnvpair/.libs/libnvpair.so
        linux-vdso.so.1 (0x00007fffc076f000)
        libc.so.6 => /lib64/libc.so.6 (0x00007ff6b9a4f000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff6b9c30000)
undefined symbol: aok   (lib/libnvpair/.libs/libnvpair.so)

adding int oak = 0; to lib/libnvpair/libnvpair.c solves this problem.

@behlendorf
Copy link
Contributor

Related to #9752 . That seems to be to simplest fix, would you mind opening a PR?

@meilihao
Copy link

meilihao commented Dec 25, 2020

me too with zfs-0.8.6 + ubuntu 16.04.6 + aarch64. And append int aok = 0; after lib/libnvpair/libnvpair.c's include is ok.

@behlendorf
Copy link
Contributor

Closing. This was resolved in the 2.0 release. If possible I'd suggest moving to the new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants