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

Linker issues on NixOS #234

Open
MikMuellerDev opened this issue Dec 13, 2024 · 2 comments
Open

Linker issues on NixOS #234

MikMuellerDev opened this issue Dec 13, 2024 · 2 comments

Comments

@MikMuellerDev
Copy link

Hello, i am using the newest version of the crate on NixOS Uakari.
I am building an app with serialport and tauri.
When just using serialport, the app builds fine. When just using tauri, the app builds fine.
Together they break.

For more info see the issue on the tauri repo:
https://github.com/tauri-apps/tauri/issues/11946

@sirhcel
Copy link
Contributor

sirhcel commented Jan 9, 2025

Phew, I have to admit that I have no flight hours on NixOS. How does building your app work on just on Linux (like for example an Ubuntu or Debian system)?

Have you tried to build serialport without libudev support (like in --no-default-features). Enumerating USB and some "built-in" serial ports works with this variant as well and #238 sets out to improve this one more step.

At a first, superficial glance at tauri-apps/tauri#11946, the build errors look like a wrong variant/version of libudev gets used in this build.

@MikMuellerDev
Copy link
Author

Yeah, that's also what I figured out.
Fact is, the same error also surfaces on Debian and even on Windows.
On windows, the error looks slightly different but comes from the same issue i suppose.

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