Convert doesn't work as regular user when installing from Source

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
abishekrsrikaanth
Posts: 3
Joined: 2017-03-29T09:40:52-07:00
Authentication code: 1151

Convert doesn't work as regular user when installing from Source

Post by abishekrsrikaanth »

I installed from source using the steps mentioned here https://www.imagemagick.org/script/install-source.php.
I am installing the latest version of Imagemagick on Ubuntu 16.04.

The installation seems to work fine, but I can only run convert as a sudo and not as a regular user.
Am I missing something?

Thanks
Abishek R Srikaanth
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Convert doesn't work as regular user when installing from Source

Post by fmw42 »

Did you install all your desired delegates first, such as for processing PNG, TIF, JPG files, etc. See http://www.imagemagick.org/download/delegates/

What do you get from

Code: Select all

convert -version
or

Code: Select all

magick -version
since you did not say what version you installed.

Other than missing delegates, I know little about installing on Linux.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Convert doesn't work as regular user when installing from Source

Post by snibgo »

I don't use *nix, but that sounds like a privileges problem, perhaps fixable with chmod.
snibgo's IM pages: im.snibgo.com
abishekrsrikaanth
Posts: 3
Joined: 2017-03-29T09:40:52-07:00
Authentication code: 1151

Re: Convert doesn't work as regular user when installing from Source

Post by abishekrsrikaanth »

Code: Select all

/usr/local/bin$ pwd
/usr/local/bin
/usr/local/bin$ ls -trla convert
lrwxrwxrwx 1 root root 6 Mar 29 16:30 convert -> magick
@fmw42 thank you.
@snibgo I was thinking permissions too, here is the output for the file permissions. Am i missing anything?
abishekrsrikaanth
Posts: 3
Joined: 2017-03-29T09:40:52-07:00
Authentication code: 1151

Re: Convert doesn't work as regular user when installing from Source

Post by abishekrsrikaanth »

@snibgo, got it work. A restart was require for the convert to work without sudo.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Convert doesn't work as regular user when installing from Source

Post by fmw42 »

You did not answer my question. What do you get from running

Code: Select all

magick -version
or if need be

Code: Select all

sudo magick -version
This will tell us what delegates you have installed. Though this is not related to your sudo issue, it is important to have delegates installed to do any useful work.
Post Reply