Skip to content

Appimage does not launch (execv error: No such file or directory) #1004

Description

@prog-amateur

History :
Hello, I am sure you know Veracrypt app. It has a very useful portable version for Windows (to make it executable from a USB device) but not for Linux.
Thank to the developer, there is a generic installer with tar.bz2 which can extract the files instead of installing on the computer (it means there is binaries, images, and desktop file included).

Problem :
AppImage is the ideal tool to make it executable as a portable app, but... I am not a developer (if only you knew about my job, it has nothing to do with it).

I followed step by step an excellent tutorial from @probonopd , everything goes well (I even have a Success message at the end). Unfortunately, when I launch Veracrypt.AppImage, absolutely nothing happens. From the CLI, the message is as bellow:
execv error: No such file or directory

What do you think of that? I can't find the reason for this bug, however, I'm sure I'm very close to succeeding, it's frustrating. Thank you very much for your help!

Information about the step-by-step procedure I have followed :

# 1. Make the AppDir : 

cd ~/Documents
mkdir -p veracrypt/veracrypt.AppDir


# 2. Download the generic Veracrypt linux installer : 

wget -c https://launchpad.net/veracrypt/trunk/1.24-hotfix1/+download/veracrypt-1.24-Hotfix1-setup.tar.bz2
tar -xf veracrypt-1.24-Hotfix1-setup.tar.bz2 -C veracrypt_archive/
cd veracrypt_archive
./veracrypt-1.24-Hotfix1-setup-gui-x64 


# 3. Accept the license, select extract and go to /tmp to extract the tar.gz content into the AppDir : 

cd /tmp
tar -xf veracrypt_1.24-Hotfix1_amd64.tar.gz -C ~/Documents/veracrypt/veracrypt.AppDir/

# 4. In "/usr/share/applications/veracrypt.desktop" file, add "Version=1.0" below "Encoding=UTF-8" line and edit "Categories" line as "Categories=Utility;". Otherwise, I have "deprecated" error messages. 


# 5. Organize the AppDir and make the AppRun executable : 

cd ~/Documents/veracrypt/veracrypt.AppDir/
cp ./usr/share/pixmaps/veracrypt.xpm .
cp ./usr/share/applications/veracrypt.desktop .
wget -c https://github.com/AppImage/AppImageKit/releases/download/12/AppRun-x86_64
chmod a+x AppRun-x86_64

# 6. Package the AppDir as an AppImage : 

cd ..
wget -c https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage
chmod a+x appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage veracrypt.AppDir ./Veracrypt-x86_64.AppImage

# 7. Launch Veracrypt-x86_64.AppImage (this is where I have the error message : execv error: No such file or directory) : 

./Veracrypt-x86_64.AppImage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions