Troubleshooting appimage build

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
Post Reply
User avatar
jnxd
Posts: 951
Joined: Mon Mar 30, 2015 2:30 pm
Contact:

Troubleshooting appimage build

Post by jnxd »

So I'm trying to build an appimage following the instructions here: https://docs.appimage.org/packaging-gui ... aries.html.

However, when running

Code: Select all

make install -DESTDIR=AppDir
.../linuxdeploy-x86_64.AppImage --appdir AppDir
I get an error:

Code: Select all

-- Deploying dependencies for existing files in AppDir -- 
Deploying dependencies for ELF file AppDir/usr/bin/FreeCADCmd 
ERROR: Could not find dependency: libFreeCADApp.so 
ERROR: Failed to deploy dependencies for existing files 
The result is slightly better when running

Code: Select all

cmake . -DCMAKE_INSTALL_PREFIX=/path/to/freecad-install/usr/
make install
.../linuxdeploy-x86_64.AppImage --appdir /path/to/freecad-install/
But that still halts at

Code: Select all

ERROR: Could not find dependency: Import.so 
ERROR: Failed to deploy dependencies for existing files 
Any help would be appreciated.
My latest (or last) project: B-spline Construction Project.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Troubleshooting appimage build

Post by Kunda1 »

you may want to ping looo on this
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
jnxd
Posts: 951
Joined: Mon Mar 30, 2015 2:30 pm
Contact:

Re: Troubleshooting appimage build

Post by jnxd »

Hi @looo, tagging on Kunda's suggestion. Do you have any idea what might be happening?
My latest (or last) project: B-spline Construction Project.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Troubleshooting appimage build

Post by adrianinsaval »

I think looo doesn't follow this procedure so I don't know if he would be of much help
User avatar
jnxd
Posts: 951
Joined: Mon Mar 30, 2015 2:30 pm
Contact:

Re: Troubleshooting appimage build

Post by jnxd »

adrianinsaval wrote: Mon Oct 17, 2022 1:12 pm I think looo doesn't follow this procedure so I don't know if he would be of much help
If he can get me a step by step process that works for him, I'd be fine with that. (probably) unless that involves downloading a large amount of dependencies.
My latest (or last) project: B-spline Construction Project.
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Troubleshooting appimage build

Post by onekk »

jnxd wrote: Mon Oct 17, 2022 1:35 pm
adrianinsaval wrote: Mon Oct 17, 2022 1:12 pm I think looo doesn't follow this procedure so I don't know if he would be of much help
If he can get me a step by step process that works for him, I'd be fine with that. (probably) unless that involves downloading a large amount of dependencies.
I think that @looo has published somewhere the script he uses to make the Appimage:

https://github.com/FreeCAD/FreeCAD-Bundle

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
Post Reply