-
Notifications
You must be signed in to change notification settings - Fork 8
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
Wrong library reference in a default install #150
Comments
Weird, I use a similar setup.
What is the output of `ghdl --dispconfig` ?
And the output of `ghdl-ls --disp-config` ?
|
Here are the printouts:
And another:
|
So what is the issue ? Why is the library reference wrong ?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have built and installed ghdl in: /home/r2com/eda/install/ghdl/
Then I went back to the source ghdl folder and ran:
pip install .
That did install the ghdl which I was able to run in command line.
However, when in Sublime I configured LSP to use it, I got error:
I know that this file is located after ghdl-ls install in:
/home/r2com/.local/lib/python3.11/site-packages/
The init.py at line 155 tries to look in ../../lib folder for this file, but if executed from ghdl-ls location there is No such folder (although there is just necessary .so file)
So the way I fixed it, is just created a symbolic link "lib" which points to:
/home/r2com/eda/install/ghdl/lib
The above folder is the install folder of ghdl, which has lib folder where necessary .so file located.
After that my ghdl-ls works OK in Sublime.
So... reason I posted this is to show you what exists, and whether there is more proper way to fix it? or did I miss some step during install?
The text was updated successfully, but these errors were encountered: