Skip to content
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

libreoffice: libharfbuzz.so.0: undefined symbol: FT_Get_Transform #38545

Closed
hervyqa opened this issue Aug 9, 2022 · 7 comments
Closed

libreoffice: libharfbuzz.so.0: undefined symbol: FT_Get_Transform #38545

hervyqa opened this issue Aug 9, 2022 · 7 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@hervyqa
Copy link
Contributor

hervyqa commented Aug 9, 2022

Is this a new report?

Yes

System Info

Void 5.18.16_1 x86_64 AuthenticAMD uptodate FFFFFFF

Package(s) Affected

libreoffice-7.3.3.2_3

Does a report exist for this bug with the project's home (upstream) and/or another distro?

Expected behaviour

libreoffice can be run.

Actual behaviour

libreoffice failed to run.

➜  ~ libreoffice
/usr/lib/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib/libharfbuzz.so.0: undefined symbol: FT_Get_Transform

Steps to reproduce

  1. sudo xbps-install -Su
  2. sudo reboot
  3. libreoffice
@hervyqa hervyqa added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Aug 9, 2022
@oreo639
Copy link
Member

oreo639 commented Aug 9, 2022

<quinq> Allright, got it working
<quinq> Three things
<quinq> 1/ loffice is broken with openjdk8
<quinq> 2/ you need to remove $HOME/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml
<quinq> 3/ you need to reset JAVA_HOME

This happens because openjdk8 includes its own libfreetype.

@hervyqa
Copy link
Contributor Author

hervyqa commented Aug 9, 2022

3/ you need to reset JAVA_HOME

how to reset? JAVA_HOME is empty.

[l7@studio ~]$ echo $JAVA_HOME

[l7@studio ~]$ 

@oreo639
Copy link
Member

oreo639 commented Aug 9, 2022

It should be set by /etc/profile.d/openjdk.sh based on which version of java you have set as your default in xbps-alternatives.

@paper42
Copy link
Member

paper42 commented Aug 9, 2022

quinq on IRC found that the java version is saved when used once, remove $HOME/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml, don't forget that step

@hervyqa
Copy link
Contributor Author

hervyqa commented Aug 9, 2022

thank you 👍🏻
switch to jdk11 works again

doas xbps-install -S openjdk11
rm -rfv ~/.config/libreoffice/4/user/config/javasettings_Linux_X86_64.xml
doas xbps-alternatives -s openjdk11
doas xbps-alternatives -s openjdk11-jre

Screenshot_20220809_172855

@classabbyamp
Copy link
Member

rebuilding openjdk8 with the new freetype fixed it, should be in the repos soon

@hervyqa
Copy link
Contributor Author

hervyqa commented Aug 9, 2022

rebuilding openjdk8 with the new freetype fixed it, should be in the repos soon

It's work with openjdk8.
Fixed: 4a2c3c6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

4 participants