Coder Social home page Coder Social logo

Comments (8)

probonopd avatar probonopd commented on June 13, 2024 1

Yes, did you run find squashfs-root/ -name *freetype* -delete (without doing cd squashfs-root/ first)? It should have deleted the bundled FreeType.

Run LD_DEBUG=libs ./squashfs-root/AppRun to see what is going on with FreeType and HarfBuzz this time...

from prusacontrol.

xqgex avatar xqgex commented on June 13, 2024 1

My bad, I thought that "find" is an arguments for the AppImage
Doing:

  1. ./prusacontrol_0.9.4.415_beta.AppImage --appimage-extract
  2. find squashfs-root/ -name freetype -delete
  3. ./squashfs-root/AppRun

Works!!!

from prusacontrol.

probonopd avatar probonopd commented on June 13, 2024

Please run LD_DEBUG=libs ./prusacontrol_0.9.4.415_beta.AppImage, do you see any errors?

from prusacontrol.

xqgex avatar xqgex commented on June 13, 2024

The output is 5591 lines long,
Doing search for the words "error" and 'fatal" gave me:

15 times (Lines 2711 until 2725):
32326: /lib64/libGL.so.1: error: symbol lookup error: undefined symbol: FunctionType (fatal)
90 times (Lines 2765 until 2854):
32326: /lib64/libGLU.so.1: error: symbol lookup error: undefined symbol: FunctionType (fatal)
lines 3620 to 3638:

     32326:	find library=libgpg-error.so.0 [0]; searching
     32326:	 search path=/tmp/.mount_prusac5QfCZ6/usr/lib:/tmp/.mount_prusac5QfCZ6/usr/lib/x86_64-linux-gnu:/tmp/.mount_prusac5QfCZ6/lib:/tmp/.mount_prusac5QfCZ6/lib/x86_64-linux-gnu:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64:		(LD_LIBRARY_PATH)
     32326:	  trying file=/tmp/.mount_prusac5QfCZ6/usr/lib/libgpg-error.so.0
     32326:	  trying file=/tmp/.mount_prusac5QfCZ6/usr/lib/x86_64-linux-gnu/libgpg-error.so.0
     32326:	  trying file=/tmp/.mount_prusac5QfCZ6/lib/libgpg-error.so.0
     32326:	  trying file=/tmp/.mount_prusac5QfCZ6/lib/x86_64-linux-gnu/libgpg-error.so.0
     32326:	  trying file=tls/x86_64/x86_64/libgpg-error.so.0
     32326:	  trying file=tls/x86_64/libgpg-error.so.0
     32326:	  trying file=tls/x86_64/libgpg-error.so.0
     32326:	  trying file=tls/libgpg-error.so.0
     32326:	  trying file=x86_64/x86_64/libgpg-error.so.0
     32326:	  trying file=x86_64/libgpg-error.so.0
     32326:	  trying file=x86_64/libgpg-error.so.0
     32326:	  trying file=libgpg-error.so.0
     32326:	 search cache=/etc/ld.so.cache
     32326:	  trying file=/lib64/libgpg-error.so.0
     32326:	
     32326:	
     32326:	calling init: /lib64/libgpg-error.so.0

Lines 4008, 4479 and 5308:
32326: /lib64/libharfbuzz.so.0: error: symbol lookup error: undefined symbol: FT_Get_Var_Blend_Coordinates (fatal)

from prusacontrol.

probonopd avatar probonopd commented on June 13, 2024

Yes, HarfBuzz strikes again! It seems to be so closely linked to FreeType that either both or none must be bundled but not just one of them without the other.

Please try whether this fixes it:

./prusacontrol_0.9.4.415_beta.AppImage --appimage-extract
find squashfs-root/ -name *freetype* -delete
./squashfs-root/AppRun 
# Does it run?

If this solves it (without breaking it for other distributions), then we should consider to not bundle FreeType in the AppImage.

References:

from prusacontrol.

xqgex avatar xqgex commented on June 13, 2024

Running that command created a new folder called "squashfs-root", I've try to do

cd squashfs-root/
./AppRun

But still got "Segmentation fault (core dumped)"

from prusacontrol.

xqgex avatar xqgex commented on June 13, 2024

Based on:
https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671
It's seems like a problem with the freetype version

from prusacontrol.

probonopd avatar probonopd commented on June 13, 2024

So, FreeType should not be bundled @tibor-vavra

from prusacontrol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.