Closed dcow closed 6 years ago
Your version of harfbuzz is too old. Update or use the linux binaries rather than building from source (though note that the linux binaries require a relatively recent version of freetype as well).
I installed harfbuzz
from source. Why would the top of tree be too old?
The missing symbol in harfbuzz hb_ft_font_changed means that you either did not compile harfbuz againt freetype, the freetype version you compiled it against is too old, or you have not set LD_LIBRARY_PATH or similar to ensure kitty loads the newly compiled harfbuzz
It looks like my harfbuzz
was not configured properly. It's aware of freetype
now and everything works. Thanks!
I am getting the same issue, but i dont know how to resolve.
javis@javis:~/kitty/kitty/launcher$ ./kitty
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/javis/kitty/kitty/launcher/../../__main__.py", line 117, in <module>
main()
File "/home/javis/kitty/kitty/launcher/../../__main__.py", line 110, in main
from kitty.main import main
File "/home/javis/kitty/kitty/launcher/../../kitty/main.py", line 11, in <module>
from .borders import load_borders_program
File "/home/javis/kitty/kitty/launcher/../../kitty/borders.py", line 7, in <module>
from .fast_data_types import (
ImportError: /home/javis/kitty/kitty/launcher/../../kitty/fast_data_types.so: undefined symbol: hb_ft_font_changed
javis@javis:~/kitty/kitty/launcher$
I have installed harfbuzz-2.6.0 in $HOME/Downloads/harfbuzz-2.6.0 and compiled successfully with make & make install
Is there any comments an the above conversations ?
@dcow can you please describe how exactly you fixed this problem? Did you pass any parameters to harfuzz's ./configure
to make it use freetype?
According to my history, no. But I don't really remember. I think it was a missing dependency. I think this line (copied from the harfbuzz
BUILD.md
) fixed it:
sudo apt install gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev
Followed of course by rebuilding. I don't think you need to rebuild kitty, just harfbuzz. Here's my history after the above command if it helps:
sudo apt install -f
make clean
./configure
sudo apt install autoconf automake libtool pkg-config ragel gtk-doc-tools
make clean
git clean -fxd
./autogen.sh
./configure ls
^^^ pretty sure this is just a typo which is why I try again
git clean -fxd
./autogen.sh
./configure
make
sudo make install
kitty