-
Notifications
You must be signed in to change notification settings - Fork 61
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
Missing symbol #79
Comments
The symbol is missing because, when building Harfbuzz from source, this package builds without Freetype support: rust-harfbuzz/harfbuzz-sys/makefile.cargo Line 35 in a308319
We should add an option to enable Freetype support for packages that need it. In this case a better solution might be to link against the system harfbuzz rather than building harfbuzz from source. Installing the |
Servo uses harfbuzz on Linux. Using cargo run will set the LD_LIBRARY_PATH to the library build, which include libharfbuzz.so. Are you suggesting that we build rust-harfbuzz against the local library if it's present? |
Yes, people building Servo on Linux should install the Harfbuzz development packages, so that the (But regardless, we can also provide an option to make it possible to build from source with freetype support.) |
You're right. It works.
Wouldn't it be better to just disable shared libraries? Then the |
disable .so files Fix #79 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-harfbuzz/80) <!-- Reviewable:end -->
When using: harfbuzz + tinyfiledialog, we end up with this error on Linux:
Only when the program is started with
cargo run
. Cargo adds its ownLD_LIBRARY_PATH
. So the binaryzenity
doesn't look at the system harfbuzz library, but the one intarget/debug/build
.STR:
I think we just need to expose the missing symbol, but I'm having issue doing so.
Symbol doesn't look exposed (checking with
nm -g
).This is blocking servoshell: paulrouget/servoshell#14
The text was updated successfully, but these errors were encountered: