-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
sway: symbol lookup error: sway: undefined symbol: wlc_set_pointer_motion_cb_v2 #1461
Comments
Your wlc is outdated. |
How? It just came from the master branch. |
Unless it's picking up something from |
You must have installed it incorrectly, maybe into /usr/local. |
|
Here is the output after
|
Does /usr/include/wlc/wlc.h exist? |
Yes, it does. |
Well, there you have it. |
I think I get it. So some other thing installed an older version, probably |
Wait. No! What's wrong with it installing to |
I mean. Not my problem, right? I'm just following directions. |
/usr takes precedence. You already installed it there before. You need to remove the old version from /usr or install the new version to /usr. |
If the instructions are wrong, fix them. It's a wiki. Sway on Debian is user-supported. |
Okay, thanks for the help. |
@SirCmpwn I just removed the following files--my only guess is that I've tried installing this some time ago and forgotten:
I've also verified that wlc installed to the location as per the output of Why then is sway unable to find
|
If you're not going to install to /usr you need to set some environment variables to load libraries from somewhere else. Ask your distro for help. |
Yep, I added a the *.so paths to my
|
The error tells you what to do. |
I did it. Now I'm getting the damn missing |
For security reasons, sway clears your LD_LIBRARY_PATH from the environment during startup. You have to hard code it when you compile sway with cmake -DLD_LIBRARY_PATH=... |
Alll right now we are cooking with grease. Let me try it. |
Passing in a -D switch to CMake did not do it, but I was able to load it in system-wide via adding it to
|
Maybe the config it copied over isn't working. I will fiddle with that. |
Nope. Not sure! That |
No, that doesn't have anything to do with it. I don't know what's wrong. |
@SirCmpwn It turns out the problem is in trying to load the file in |
I followed your Debian Installation Guide and the build went fine without error. That is, using
#master
repo from bothwlc
andsway
. However, when I back out into TTY and attempt to runsway
, I get the error in the title line. That is:sway: symbol lookup error: sway: undefined symbol: wlc_set_pointer_motion_cb_v2
Since I did
sudo make install
on bothsway
andwlc
as directed, chances are some dependency I installed viaapt-get
, or the#master
versions ofsway
orwlc
, do not match those at the time of the writing of Debian Installation Guide.Debian GNU/Linux 9 (stretch)
The text was updated successfully, but these errors were encountered: