Page 1 of 1
Is there a default path for the NConvert plugins on Mac?
Posted: Thu Jun 09, 2016 6:12 pm
by mbm
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?
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Mon Jun 13, 2016 9:03 am
by xnview
You must have:
nconvert
Plugins/webp.dylib
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Wed Jun 15, 2016 9:18 am
by mbm
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:
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)
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
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Wed Jun 15, 2016 3:12 pm
by xnview
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Thu Jun 16, 2016 12:07 am
by mbm
Thanks but it's a Linux build not Mac.
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
Once you post the Mac version, do the plugins go in
/usr/local/bin/Plugins or some other path?
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Thu Jun 16, 2016 6:50 am
by xnview
sorry
this one
the plugins must be in same folder of nconvert
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Fri Jun 17, 2016 1:00 am
by mbm
Thanks but still did not work with 6.90:
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)
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.
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Fri Jun 17, 2016 11:16 am
by xnview
the folder is not
Code: Select all
/Users/username/xnview test/test/Plugins
?
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Sat Jun 18, 2016 3:58 am
by mbm
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.
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Mon Jun 20, 2016 8:09 am
by xnview
what is the folder of nconvert?
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Mon Jun 20, 2016 9:23 am
by mbm
/usr/local/bin/
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Mon Jun 20, 2016 9:26 am
by mbm
Is there some nconvert specific environmental variable that needs to be set? Something like:
Code: Select all
export DYLD_LIBRARY_PATH="/usr/local/lib/"
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Thu Jun 23, 2016 8:49 am
by xnview
Re: Is there a default path for the NConvert plugins on Mac?
Posted: Fri Jun 24, 2016 12:20 am
by mbm
That worked great. Thank you!