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

Compilation crossroads #1129

Open
vvsvvsvvs opened this issue Jan 24, 2024 · 2 comments
Open

Compilation crossroads #1129

vvsvvsvvs opened this issue Jan 24, 2024 · 2 comments

Comments

@vvsvvsvvs
Copy link

The cmake compilation process adds 2 libraries: so.0 and so.1 with the same name (libiio.**).
Ld(config) subsytems knows one: so.1, thus when linking old progs with -liio, one will get compilation errors with absent functions.

@pcercuei
Copy link
Contributor

The compiler will always pick libiio.so when compiling with -liio, which always point to the v1.0 library.

If you want to compile programs based on v0.x Libiio, you have to use Libiio v0.25 or from the libiio-v0 branch.

@vvsvvsvvs
Copy link
Author

1st time solution is to add /usr/lib/x86_64-linux-gnu/libiio.so.0 when linking. But some progs go to SIG11.

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

2 participants