We have moved to a new Sailfish OS Forum. Please start new discussions there.

liblcms.so.1, XA2, failed installs due to this missing library. Where to get it?

asked 2020-02-02 21:59:09 +0200

Beethoven gravatar image

updated 2020-02-07 15:06:39 +0200

jiit gravatar image

I tried to install Xplanet and imagemagick from openrepos, both fail with 'Nothing provides liblcms.so.1 needed by....'.

Searching reveals nothing specific to Jolla, is this a library that anyone recognizes?

edit retag flag offensive close delete



usually, performing devel-su pkcon refresh and then downloading often solves such issues.

Spam Hunter ( 2020-02-02 22:53:00 +0200 )edit

Did you do an OS upgrade just lately?

Normally I would just second Edz's comment. But as this library is a direct dependency of glibc
pkcon required-by lcms-libs
could it be something more serious? Not fully successful upgrade?

Get back here if pkcon refresh does not help...

peterleinchen ( 2020-02-03 18:17:22 +0200 )edit

Hmm strange. Executing this
pkcon get-details lcms
on 3.2.1 shows:
Getting detailsQueryingFinishedPackage descriptionpackage: lcms-libs-1.19-1.1.14.jolla.armv7hlsummary: Library for lcmslicense: MITgroup: systemdescription: The lcms-libs package contains library for lcms.size: 147474 bytesurl: http://www.littlecms.com/[root@Sailfish nemo]# pkcon get-detailsCommand failed: A package name is required[root@Sailfish nemo]# pkcon get-details lcmsResolvingGetting detailsFinishedPackage descriptionpackage: lcms-1.19-1.1.14.jolla.armv7hlsummary: Color Management Systemlicense: MITgroup: unknowndescription: LittleCMS intends to be a small-footprint, speed optimized color managementengine in open source form.size: 182848 bytesurl: http://www.littlecms.com/

And I have it installed together with X-Planet and ImageMagick.

And zypper tells it is coming from Jolla repos:
[root@Sailfish nemo]# zypper info lcmsLoading repository data...Reading installed packages...Information for package lcms:-----------------------------Repository : @SystemName : lcmsVersion : 1.19-1.1.14.jollaArch : armv7hlVendor : meegoInstalled Size : 178.6 KiBInstalled : Yes (automatically)Status : up-to-dateSource package : lcms-1.19-1.1.14.jolla.srcSummary : Color Management SystemDescription :LittleCMS intends to be a small-footprint, speed optimized color managementengine in open source form.

peterleinchen ( 2020-02-04 23:17:35 +0200 )edit

That is weird, I'm guessing you installed those in an earlier version, and then upgraded the OS?

Because here on a very fresh install of SFOS for Xperia10, it's the below. Now, I am at the moment using a non-paid-for version. Perhaps the package comes from a repo which needs an active license?

# pkcon refresh; pkcon get-details lcms; ssu re
Refreshing cache
Package not found: lcms
Command failed: This tool could not find all the packages: No packages were found
Device release is currently:
nephros ( 2020-02-05 10:29:39 +0200 )edit

3 Answers

Sort by » oldest newest most voted

answered 2020-02-06 16:56:56 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2020-02-07 14:06:51 +0200

Spam Hunter gravatar image

Answer stroke workaround ~ I'm still looking at making ImageMagick into an RPM, but for now;

Here's how I built and installed ImageMagick (not RPM package)

Get the package;

curl https://www.imagemagick.org/download/ImageMagick.tar.gz

extract contents;

tar xvzf ImageMagick.tar.gz

move to folder where package was extracted;

cd ImageMagick-7.0.9-21/

configure/compile ImageMagick;


perform compilation;


install it;

make install

configure dynamic linker;

ldconfig /usr/local/lib

Package is installed at /usr/local/bin

Test install with this line;

/usr/local/bin/convert logo: logo.gif

You should now find logo.gif in /home/nemo

The same procedure should also work for XPlanet. (I haven't tried)

NOTE If this can be done differently/better, let me know in the comments.

edit flag offensive delete publish link more


Just create /etc/ld.so.conf.d/local.conf with the folloving:


manu007 ( 2020-02-07 11:50:25 +0200 )edit

Thanks for checking this.

I am in the process of building an RPM now.

nephros ( 2020-02-07 16:27:56 +0200 )edit

answered 2020-02-08 11:36:37 +0200

nephros gravatar image

I have successfully built some RPMS and published on openrepos.

Please test. This is my first time building anything from .spec so there may be gremlins.

edit flag offensive delete publish link more

answered 2020-02-09 18:43:30 +0200

updated 2020-02-09 18:46:48 +0200

Thanks all for their initiatives.

I grabbed those libraries from 3.2.0 repository and stored them away (for later manual installation, if needed).
Assuming you are on 3.2.1 (else adapt to your release):


ssu re
pkcon refresh
pkcon download . lcms lcms-libs
ssu re
pkcon refresh

rpm -i lcms-1.19-1.1.14.jolla.armv7hl.rpm  lcms-libs-1.19-1.1.14.jolla.armv7hl.rpm
edit flag offensive delete publish link more


Brilliant, thanks, this solved it.

Beethoven ( 2020-02-13 13:18:11 +0200 )edit
Login/Signup to Answer

Question tools



Asked: 2020-02-02 21:59:09 +0200

Seen: 499 times

Last updated: Feb 09 '20