-
-
Notifications
You must be signed in to change notification settings - Fork 979
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
ld: library not found for -lhon.framework/Versions/3.5/Pyt #2
Comments
Are you doing this on OSX? kitty does not currently support OS X, although it should be relatively easy to port. This particular error occurs because of line 73 in setup.py It probably needs to be adjusted for OS X. |
What does python3 -c "import sysconfig; print(sysconfig.get_config_var('LDLIBRARY'))" output |
I have the same issue. @kovidgoyal the output is:
|
Hmm, so we need some way to get the full path to the python framework on OS X. Can somebody post the output of python3 -m sysconfig on OS X? That should hopefully have enough info to get the full path. |
@kovidgoyal I put sysconfig output here: http://samet.asopy.com/sysconfig.txt |
I have made a commit that should fix this, although I currently dont have access to an OSX machine to test on |
After that commit, I am now getting this error from python:
|
Post the output of python3 -m sysconfig on your machine |
Here is it: http://pastebin.com/X7M79WZm |
Ah you are running under pyenv -- I added some code for that, try it again. |
It seems closer, now I got this error:
That was on this command:
|
Does Python.framework not exist in /Users/addisonbean/.pyenv/versions/3.5.2? |
This commit might also make a difference 0cd0a9f |
That last commit now gives me this error: http://pastebin.com/BCmibFGY |
Ah looks like one more missing -framework arguments in the linker command. These should have been returned by pkg_config('glfw3', '--libs'). What does pkg-config --libs glfw3 return on your system? |
It returns |
This should do the trick: 192ce1d |
That's closer, now I got this error: Undefined symbols for architecture x86_64: |
That means the OpenGL libraries are not linked against. UNfortunately, I have no experience with OpenGL on OSX, so trying to figure out that the link flags for it should be is going to take some experimentation/googling. |
Maybe try: -framework OpenGL |
I have now got kitty building on OS X see #5 for details. Now to actually make it work :) |
I am trying to compile kitty with Python 3.5.2 using
python3 setup.y build
, but it fails on this command:I am getting this error:
It looks like one of the options got truncated somehow. Any idea why this is happening? Thanks!
The text was updated successfully, but these errors were encountered: