Page 1 of 1
ld.so.1: convert:fatal:liblcms2.so,2: open failed: No Such file or directory
Posted: 2015-07-14T09:54:39-07:00
by plakshman
HI ,
On a Solaris Sparc 10 platform, i installed the package imagemagick-6.8.6.9-sol10-sparc-local
(Version: 6.8.6.9
Processor: SPARC
Operating System: Solaris 10
Download: imagemagick-6.8.6.9-sol10-sparc-local.gz)
i verified the commands convert,display now added in the Unix path and available for the user to execute but
per IM's manual when i test to verify if IM works :
convert logo: logo.gif
i get the error,
ld.so.1: convert:fatal:liblcms2.so,2: open failed: No Such file or directory
Could anyone help me out as this is the first time working on IM on Solaris env
-thanks
Re: ld.so.1: convert:fatal:liblcms2.so,2: open failed: No Such file or directory
Posted: 2015-07-14T15:18:35-07:00
by plakshman
Found the required package downloaed from unixpackages for a fee and
installed lcm2.so with it's dependencies
[ gcc-3.4.6
jpeg-8d
tiff-4.0.3
zlib-1.2.8]
and moving ahead with fixing other package dependencies [libpng-1.2.49]
Thanks,
Re: ld.so.1: convert:fatal:liblcms2.so,2: open failed: No Such file or directory
Posted: 2015-07-14T18:32:20-07:00
by 246246
plakshman wrote:
ld.so.1: convert:fatal:liblcms2.so,2: open failed: No Such file or directory
I no more have Solaris, but genererally speaking in Unix, you need to check the dependency with the following command (supposing convert is in your PATH):
If you see something like
liblcms.so.2 => not found
in stdout, you will have to check if liblcm2.so.2 exists.
Re: ld.so.1: convert:fatal:liblcms2.so,2: open failed: No Such file or directory
Posted: 2015-07-15T09:02:43-07:00
by plakshman
thanks 246246,
yes, solaris becoming to be pain.
convert is not in PATH (/usr/bin) but in /usr/local/bin
even when i issue that command from local/bin ,
> ldd 'which convert'
> ldd: which convert: cannot open file: No such file or directory
thanks
Re: ld.so.1: convert:fatal:liblcms2.so,2: open failed: No Such file or directory
Posted: 2015-07-15T11:48:56-07:00
by 246246
plakshman wrote:
convert is not in PATH (/usr/bin) but in /usr/local/bin
even when i issue that command from local/bin ,
> ldd 'which convert'
> ldd: which convert: cannot open file: No such file or directory
thanks
I think you have already solved your main problems, but using ldd is good practice to help solving such errors.
Use backquote (`) instead of single quote('), or explicitly
If there are still missing libraries, some features may not be available.
Re: ld.so.1: convert:fatal:liblcms2.so,2: open failed: No Such file or directory
Posted: 2015-07-15T12:47:42-07:00
by fmw42
try
/usr/local/bin/convert logo: logo.png
if that works, then add /usr/local/bin to your PATH environment variable
Re: ld.so.1: convert:fatal:liblcms2.so,2: open failed: No Such file or directory
Posted: 2016-03-08T13:46:56-07:00
by naveen800
I'm receiving too