New install on Linux Mint will not run
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Post one question per topic.
Always indicate your operating system and QCAD version.
Post one question per topic.
New install on Linux Mint will not run
Bought the pro last year, been using it every day and I like it. Just made some changes and switched from Linux Lite to Mint. Installation seems to be OK but it will not start. Tried to start from a terminal and I get Command not found. Missing some dependency? Thanks.
Re: New install on Linux Mint will not run
Which package did you download? What's your distribution version? 32bit or 64bit?
Some general information:
- There are different packages of QCAD for older systems (look for "Qt 4") as well as for newer systems with Wayland (look for "Qt 5.13").
- Check for missing dependencies using:
cd /path/to/qcad
LD_LIBRARY_PATH=. ldd ./qcad-bin
Some general information:
- There are different packages of QCAD for older systems (look for "Qt 4") as well as for newer systems with Wayland (look for "Qt 5.13").
- Check for missing dependencies using:
cd /path/to/qcad
LD_LIBRARY_PATH=. ldd ./qcad-bin
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: New install on Linux Mint will not run
I recently installed Qcad Pro on Linux Mint 19.3 Cinnamon with no problem at all, maybe you need to just reinstall Qcad. FYI, when you install the .run package in the command window (you have to change the Execute permission of the file to allow executing as a program), it will create a folder in Home called "opt" under that is the "qcad-3.24.3-pro-linux-x86_64" folder with the qcad executable in the root of that folder.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: New install on Linux Mint will not run
It is installed on the latest release of Cinnamon, and I have tried going to the opt/qcad... folder and running from a terminal in the folder. I get unknown command error.
As to other questions. 64 bit, Qcadcam-3.23.0-pro-linux-x86_64, the package manager shows several instances of QT5, there are some QT4 listed but I don't believe they are installed. I will check dependencies when I get to work. Thank you
As to other questions. 64 bit, Qcadcam-3.23.0-pro-linux-x86_64, the package manager shows several instances of QT5, there are some QT4 listed but I don't believe they are installed. I will check dependencies when I get to work. Thank you
Re: New install on Linux Mint will not run
Ran LD_LIBRARY_PATH=. ldd ./qcad-bin in the folder,
~/opt/qcadcam-3.23.0-pro-linux-x86_64$ LD_LIBRARY_PATH=. ldd ./qcad-bin
not a dynamic executable
:~/opt/qcadcam-3.23.0-pro-linux-x86_64$
~/opt/qcadcam-3.23.0-pro-linux-x86_64$ LD_LIBRARY_PATH=. ldd ./qcad-bin
not a dynamic executable
:~/opt/qcadcam-3.23.0-pro-linux-x86_64$
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: New install on Linux Mint will not run
the executable is qcad, no file extension
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: New install on Linux Mint will not run
This is what the terminal shows on install.
Verifying archive integrity... All good.
Uncompressing QCAD...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
QCAD Setup...
Making dir /home/dc/opt/qcadcam-3.23.0-pro-linux-x86_64...
Copying files...
Invoking postinstall.sh...
Installing mimetypes...
Installing mimetype icons...
Installing desktop menu entries...
Installing desktop icon...
Creating uninstall script...
Setting executable flag...
QCAD Setup finished.
dc@portable:~/Downloads$
Verifying archive integrity... All good.
Uncompressing QCAD...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
QCAD Setup...
Making dir /home/dc/opt/qcadcam-3.23.0-pro-linux-x86_64...
Copying files...
Invoking postinstall.sh...
Installing mimetypes...
Installing mimetype icons...
Installing desktop menu entries...
Installing desktop icon...
Creating uninstall script...
Setting executable flag...
QCAD Setup finished.
dc@portable:~/Downloads$
Re: New install on Linux Mint will not run
I ran the text that you originally posted, it shows the .bin. Ran again without the .bin and I get the same thing.
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: New install on Linux Mint will not run
there should be a file called just qcad no extension, there is also a file called qcad.bin, it's the one without an extension you should use
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: New install on Linux Mint will not run
I tried deleting all files, and reinstalling from another copy. Still would not start from desktop. Tried from terminal.
./qcad
./qcad: line 9: ./qcad-bin: cannot execute binary file: Exec format error
QCAD has unexpectedly quit.
Please use the offscreen platform plugin for headless systems
(without a running X11 server):
./qcad -platform offscreen
In addition, you might have to override the default Qt style
to prevent the loading of a native desktop style (such as GTK):
./qcad -style plastique
./qcad
./qcad: line 9: ./qcad-bin: cannot execute binary file: Exec format error
QCAD has unexpectedly quit.
Please use the offscreen platform plugin for headless systems
(without a running X11 server):
./qcad -platform offscreen
In addition, you might have to override the default Qt style
to prevent the loading of a native desktop style (such as GTK):
./qcad -style plastique
Re: New install on Linux Mint will not run
Are we now all stumped?
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: New install on Linux Mint will not run
To be honest, I'm a bit confused. Firstly, can you confirm which file you are using to launch Qcad
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: New install on Linux Mint will not run
I launch it from a desktop launcher with the following in the command field -
Code: Select all
/home/p****e/opt/qcad-3.24.3-pro-linux-x86_64/qcad
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: New install on Linux Mint will not run
actually, I've just read that if you installed Qcad using the .run file, a desktop launcher should be added as part of the install
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: New install on Linux Mint will not run
If I try from the desktop launcher nothing happens. This is the path in the launcher
"/home/.../opt/qcadcam-3.23.0-pro-linux-x86_64/qcad" %F
I just tried installing the same program on a Linux Peppermint system and it works.
Maybe the %F should not be there but it's there, but it is on Peppermint and works.
Typically, when there are dependency issues, launching a program from a terminal will give some insight.
With that in mind, I've tried launching from a terminal in the installation directory. BTW, doing that works on the Peppermint system.
"/home/.../opt/qcadcam-3.23.0-pro-linux-x86_64/qcad" %F
I just tried installing the same program on a Linux Peppermint system and it works.
Maybe the %F should not be there but it's there, but it is on Peppermint and works.
Typically, when there are dependency issues, launching a program from a terminal will give some insight.
With that in mind, I've tried launching from a terminal in the installation directory. BTW, doing that works on the Peppermint system.