Unable to Run Executable

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
sixia

Unable to Run Executable

Post by sixia »

A newbie migrant to Linux Mint XFCE 13, and like it so far.
Recently facing an issue that is really irritating - i wanted to try out the latest version of Blender and downloaded the latest stable version. The instruction says just extract all the files into a folder and run the executable. The thing is, the executable just doesn't run. In the GUI, the 'Open With' window pops-up when trying to run it. In the terminal it says 'command not found'. I have tried chmod 755 and +x but it doesn't seem to help at all. Please advice.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8172
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Unable to Run Executable

Post by kc1di »

Hi sixia & Welcome to Mint.

What command did you type in the terminal and where did you extract the files to?

you may have to put the full address in the command to get it to work if it's in an unusual directory.

for instance if you extracted the files to say your home folder you may have to enter /home/<your usr name>/blender/< execute file> for it to work

Also it's possible that some dependency has not been met.

It is often better to stick to the version in the Mint or ubuntu repositories , unless there is a specific need that you have for new features.

the version currently in the repositories is 2.62-1. the newest stable version is 2.63a. Are you sure you downloaded the linux version?

Lots of questions hope we can help.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
User avatar
kc1di
Level 18
Level 18
Posts: 8172
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Unable to Run Executable

Post by kc1di »

ok I downloaded the current version and it runs fine on my machine by just going to the folder where you extracted it to and clicking on the blender exicutable.

also ran with this command

Code: Select all

 /home/<usr name>/Downloads/blender-2.63a-linux-glibc27-x86_64/blender
I'm in Cinnamon though and not sure you have the same glibc27 libraries in xfce. you may want to check and make sure that file is installed on your system as it is required by blender.

also not sure your using mint version 13 if not the current glibc file might be too old.
Cheers

p.s. if you get it to exicute and want to place it in the menu let me know I'll walk you through how to do that also.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
sixia

Re: Unable to Run Executable

Post by sixia »

> Are you sure you downloaded the linux version?
Yes. Linux x86-32 - http://www.blender.org/download/get-blender/

> where did you extract the files to?
The file was downloaded and extracted into a NTFS partition called S. The actual path to the extracted folder - /media/S/Software/Design/Blender/blender .

> What command did you type in the terminal?
I opened the extracted folder in Thunar, right-clicked and selected 'Open Terminal Here'. I've assumed that a file called 'blender' is the executable that needs to be run. I've tried the following commands:

1. blender
2. ./blender
3. sudo ./blender
4. sudo blender

Then I tried to change the file permission:
1. sudo chmod a+x blender
2. sudo chmod 755 blender

However, the permission doesn't change at all. ls- l:

-rw------- 1 m m 62048708 May 9 23:31 blender
User avatar
kc1di
Level 18
Level 18
Posts: 8172
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Unable to Run Executable

Post by kc1di »

Ok I would move the whole folder to the linux partition extract it to your home folder for now and try executing it from there. I suspect that you may not have execute privileges on the NTFS partition. and it's harder to do that than just moving the file. to Linux partition.

make a folder in your home partition called blender and copy or move the extracted files to it.

then try again and let me know if it runs or not.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Unable to Run Executable

Post by Flemur »

"Ok I would move the whole folder to the linux partition extract it to your home folder for now and try executing it from there."

Better yet, start over and extract the download to a linux (ext3,4) partition. Copying from the NTFS parition might not work if the permissions on some of the files are already wrong (permissions don't map well between NTFS and ext4).
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
sixia

Re: Unable to Run Executable

Post by sixia »

I followed your suggestions, and it worked! Thanks, kc1di and Flemur, for your quick responses and teaching me something new. Much appreciated.
User avatar
kc1di
Level 18
Level 18
Posts: 8172
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Unable to Run Executable

Post by kc1di »

sixia wrote:I followed your suggestions, and it worked! Thanks, kc1di and Flemur, for your quick responses and teaching me something new. Much appreciated.
Your welcome,
Now if you want to place and entry in the menu to launch from, you can follow the instructions here:
http://developer.gnome.org/integration- ... es.html.en

cheers!
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Locked

Return to “Xfce”