Is there a default path for the NConvert plugins on Mac?
Moderators: XnTriq, helmut, xnview
-
- Posts: 15
- Joined: Thu Mar 10, 2016 2:40 pm
Is there a default path for the NConvert plugins on Mac?
While I can get NConvert v6.8.8 to convert webp on the Mac (Thank you for the updated version), I can't figure out the correct path to store the plugin files, e.g. webp.dylib.
I tried /usr/local/lib and /usr/local/lib/Plugins. Neither works. The readme files included with the binary don't seem to address plugins on the Mac OS version.
The only way I can get to work so far is to include a Plugins folder in the current working directory—which is not optimal. What am I missing?
I tried /usr/local/lib and /usr/local/lib/Plugins. Neither works. The readme files included with the binary don't seem to address plugins on the Mac OS version.
The only way I can get to work so far is to include a Plugins folder in the current working directory—which is not optimal. What am I missing?
-
- Author of XnView
- Posts: 44583
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Is there a default path for the NConvert plugins on Mac?
You must have:
nconvert
Plugins/webp.dylib
nconvert
Plugins/webp.dylib
Pierre.
-
- Posts: 15
- Joined: Thu Mar 10, 2016 2:40 pm
Re: Is there a default path for the NConvert plugins on Mac?
That did not work for me on OS X 10.11 (El Capitan). nconvert is located in /usr/local/bin. Putting a Plugins folder in /usr/local/bin with the plugin webp.dylib still fails:
The only thing that I've found to work is a Plugins folder in the current working directory.
To wrap-up with /usr/local/bin/nconvert these do not work:
/usr/local/bin/Plugins/webp.dylib
/usr/local/lib/Plugins/webp.dylib
/usr/local/lib/webp.dylib
Code: Select all
** NCONVERT v6.88 (c) 1991-2016 Pierre-E Gougelet (May 2 2016/11:20:18) **
Version for MacOS X (All rights reserved)
** This is freeware software (for non-commercial use)
my_error_exit...<Not a JPEG file: starts with 0x52 0x49>
Error: Don't know how to read this picture (005-00.webp)
To wrap-up with /usr/local/bin/nconvert these do not work:
/usr/local/bin/Plugins/webp.dylib
/usr/local/lib/Plugins/webp.dylib
/usr/local/lib/webp.dylib
-
- Author of XnView
- Posts: 44583
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 15
- Joined: Thu Mar 10, 2016 2:40 pm
Re: Is there a default path for the NConvert plugins on Mac?
Thanks but it's a Linux build not Mac.
Once you post the Mac version, do the plugins go in /usr/local/bin/Plugins or some other path?
Code: Select all
file nconvert
nconvert: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
-
- Author of XnView
- Posts: 44583
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Is there a default path for the NConvert plugins on Mac?
sorry this one
the plugins must be in same folder of nconvert
the plugins must be in same folder of nconvert
Pierre.
-
- Posts: 15
- Joined: Thu Mar 10, 2016 2:40 pm
Re: Is there a default path for the NConvert plugins on Mac?
Thanks but still did not work with 6.90:
The path in stdout is new but still indicates it's expects the Plugins folder in the current working directory. nconvert is located in /usr/local/bin as is the Plugins folder with webp.dylib.
Code: Select all
nconvert -out jpeg 005-00.webp
exe <nconvert>
</Users/username/xnview test/test/Plugins/>
** NCONVERT v6.90 (c) 1991-2016 Pierre-E Gougelet (Jun 15 2016/17:08:44) **
Version for MacOS X (All rights reserved)
** This is freeware software (for non-commercial use)
my_error_exit...<Not a JPEG file: starts with 0x52 0x49>
Error: Don't know how to read this picture (005-00.webp)
-
- Author of XnView
- Posts: 44583
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Is there a default path for the NConvert plugins on Mac?
the folder is not ?
Code: Select all
/Users/username/xnview test/test/Plugins
Pierre.
-
- Posts: 15
- Joined: Thu Mar 10, 2016 2:40 pm
Re: Is there a default path for the NConvert plugins on Mac?
No that Folder does not exist. If I did place it there it would work as that's the current working directory. This worked the same way in 6.88 as well. Putting a Plugins in folder in each working directory is not really something I care to do.
My apologies if I misunderstood the question.
My apologies if I misunderstood the question.
-
- Author of XnView
- Posts: 44583
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Is there a default path for the NConvert plugins on Mac?
what is the folder of nconvert?
Pierre.
-
- Posts: 15
- Joined: Thu Mar 10, 2016 2:40 pm
Re: Is there a default path for the NConvert plugins on Mac?
/usr/local/bin/
-
- Posts: 15
- Joined: Thu Mar 10, 2016 2:40 pm
Re: Is there a default path for the NConvert plugins on Mac?
Is there some nconvert specific environmental variable that needs to be set? Something like:
Code: Select all
export DYLD_LIBRARY_PATH="/usr/local/lib/"
-
- Author of XnView
- Posts: 44583
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 15
- Joined: Thu Mar 10, 2016 2:40 pm
Re: Is there a default path for the NConvert plugins on Mac?
That worked great. Thank you!