bugDenemo - Bugs: bug #61739, Outdated libffi dependency...

 
 

bug #61739: Outdated libffi dependency prevents AppImage launch under Ubuntu 20.04

Submitter:  None
Submitted:  Wed 29 Dec 2021 02:41:10 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 26 Nov 2023 07:01:54 PM UTC, comment #4: 

@Richard, thank you very much for pointing this out. I tried flatpak image and this time with luck.

Maciej Pilichowski <macias>
Sun 26 Nov 2023 04:14:51 PM UTC, comment #3: 


"the idea of the AppImage was (?) the images are self contained"

the AppImage is self-contained only insofar as enough of the libraries are included, evidently not enough for these newer distros. I haven't got a current way of building these AppImages, but the flatpak version is being maintained...


Richard Shann <rshann>
Group administrator
Sat 25 Nov 2023 05:31:02 AM UTC, comment #2: 

Same story with openSUSE 15.3 and I even cannot find this version of the library in the repo, I only see version 7.

Besides, the idea of the AppImage was (?) the images are self contained, so I am a bit puzzled here over host system dependency.

Maciej Pilichowski <macias>
Wed 29 Dec 2021 05:21:18 PM UTC, comment #1: 

On Debian stable I am getting the same error message running the AppImage built when libffi was on version six. I've rebuilt the appimage to include the current libffi that is in Debian stable, version 7, and the appimage after build ok fails to execute with this message

./denemo_2.5.7.AppImage
/tmp/.mount_denemopoVnee
Denemo data expected in /tmp/.mount_denemopoVnee/share/denemo
Uncaught exception:
Backtrace:

Error while printing exception:
Key: stack-overflow, args: (#f "Stack overflow" #f #f)
Aborting.
Aborted

It sounds like if I could copy libffi version six into the appimage then it might work, but I don't know how to get hold of the files to copy...

Richard Shann <rshann>
Group administrator
Wed 29 Dec 2021 02:41:10 PM UTC, original submission:  

Running Ubuntu 20.04, I grabbed a copy of the AppImage, made it executable, and was met with the error:

./bin/denemo: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory

It looks like the system libffi version (for Ubuntu 20.04 and presumably later) is 7, and the AppImage depends on the system having version 6 installed.  Perhaps this dependency can/should be part of the AppImage itself?  Not sure, as it looks like this might actually be part of a larger issue with Ubuntu 20.04 shipping a broken installation of Python:

https://stackoverflow.com/questions/61875869/ubuntu-20-04-upgrade-python-missing-libffi-so-6

Regardless, I was able to get the AppImage to launch after manually downloading and installing an outdated libffi6 package, but wanted to report the problem anyway, in case it would be an easy fix for the package maintainer(s).  :)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by macias (Posted a comment)
  • -email is unavailable- added by rshann (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-29 rshann StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-5884.
    Corresponding source code