-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
clipboard-jh package: Opening libcbx11.so to look for setX11Clipboard failed, aborting operation #229659
Comments
From the debug logs it seems like it should fail on Wayland as well - however it works fine on my Wayland machine. I will take a proper look later. |
I'm not proficient at compiling and building software at all, but maybe what I paste below will make sense. $ readelf -d result/bin/cb | rg PATH
0x000000000000001d (RUNPATH) Library runpath: [/nix/store/0z5kcds7b6qmm373s3b5w9ykvqbgw87i-glibc-2.37-8/lib:/nix/store/vaxgqbm6h3zvhpgk9xqqk97hqjp9gzvs-gcc-12.2.0-lib/lib] So, it seems like the required libraries are missing from runtime path of And here's another interesting line which I found in nix logs (during the install phase):
The rhs path seems broken to me. Maybe I should add the full log? |
And here is the full log
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/how-to-add-library-to-rpath/27984/1 |
For me, adding the following to the derivation fixes the issue: postFixup = ''
patchelf $out/bin/cb --add-rpath $out/lib
''; Now when I think about it: maybe this problem occurs only with the |
@heinwol adding the Might want to submit that change to the nix-package. |
@StrictlyMonad oh, cool, it wasn't just me being silly, someone else has this issue as well. Now, I need to figure out how to contribute to nixpkgs... |
I think @dit7ya is the original package maintainer for this one |
@Slackadays, you don't need to be the maintainer to update the package btw. We all have the ability to submit a change and have it reviewed! |
@heinwol, steps to submit the PR:
|
Describe the bug
The Clipboard package simply doesn't work for me. The problem seems to be in
cb
binary not being able to find Clipboard's own libraries. When running in debug mode some useful information comes out:However, those libraries are physically present:
I also tried to modify
LD_LIBRARY_PATH
to point to the lib directory, that didn't help either.Steps To Reproduce
cb
, like copy and paste something.Notify maintainers
Notifying @dit7ya as they are a maintainer.
Metadata
clipboard-jh version: 0.6.0, commit.
Xorg, KDE Plasma
The text was updated successfully, but these errors were encountered: