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

libfontconfig.so.1: undefined symbol: FT_Done_MM_Var #11

Open
probonopd opened this issue Apr 8, 2022 · 3 comments
Open

libfontconfig.so.1: undefined symbol: FT_Done_MM_Var #11

probonopd opened this issue Apr 8, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@probonopd
Copy link
Member

Debian 11 Bullseye (Build 4) has the following issue:

./AppRun: symbol lookup error: /usr/lib/x86_64-linux-gnu/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

Debian 11 Bullseye (Build 3) did not have the issue.

How can it be that such things break from one build to the next?

I am so sick and tired of this kind of BS.

Just confirming that the proposed fix of excluding libharfbuzz.so.0 and libfreetype.so.6 from the AppImage works for me as well to get my own AppImage of Peek run again on Arch.

@probonopd probonopd added the bug Something isn't working label Apr 8, 2022
@probonopd
Copy link
Member Author

TODO: Check workaround:

LD_PRELOAD=/usr/lib/libfreetype.so ./AppRun

@zhangguanzhang
Copy link

zhangguanzhang commented Aug 15, 2022

./xxx: symbol lookup error: /lib64/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

same issue,
work for me:

if [ -L /usr/lib64/libfreetype.so ];then
    export 'LD_PRELOAD=/usr/lib64/libfreetype.so' 
fi
exec my_c++_bin

@rodlie
Copy link

rodlie commented Oct 26, 2022

How can it be that such things break from one build to the next?
I am so sick and tired of this kind of BS.

Then make an AppImage that includes dependencies needed for the app to work ;) You can't just link against some random libfontconfig where the app was built and think it will work on other systems. You need to package the application properly.

The exclude list (probonopd/linuxdeployqt#261) is doing more harm than good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants