Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
package lcms2 was not found in the pkg-config search path
#1
Quote: I am running with ubuntu 18.04.3

I was trying to make beautify which is a plugin for gimp 2.10.16 I got the error: package lcms2 was not found in the pkg-config search path

I then did a search of lcms2 and got:
Code:
greg@gregdown:~$ locate lcms2
/snap/gnome-3-26-1604/97/usr/lib/x86_64-linux-gnu/liblcms2.so.2
/snap/gnome-3-26-1604/97/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.6
/snap/gnome-3-26-1604/97/usr/share/doc/liblcms2-2
/snap/gnome-3-26-1604/97/usr/share/doc/liblcms2-2/changelog.Debian.gz
/snap/gnome-3-26-1604/97/usr/share/doc/liblcms2-2/copyright
/snap/gnome-3-26-1604/98/usr/lib/x86_64-linux-gnu/liblcms2.so.2
/snap/gnome-3-26-1604/98/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.6
/snap/gnome-3-26-1604/98/usr/share/doc/liblcms2-2
/snap/gnome-3-26-1604/98/usr/share/doc/liblcms2-2/changelog.Debian.gz
/snap/gnome-3-26-1604/98/usr/share/doc/liblcms2-2/copyright
/snap/gnome-3-28-1804/110/usr/lib/x86_64-linux-gnu/liblcms2.so.2
/snap/gnome-3-28-1804/110/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.8
/snap/gnome-3-28-1804/110/usr/share/doc/liblcms2-2
/snap/gnome-3-28-1804/110/usr/share/doc/liblcms2-2/changelog.Debian.gz
/snap/gnome-3-28-1804/110/usr/share/doc/liblcms2-2/copyright
/snap/gnome-3-28-1804/91/usr/lib/x86_64-linux-gnu/liblcms2.so.2
/snap/gnome-3-28-1804/91/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.8
/snap/gnome-3-28-1804/91/usr/share/doc/liblcms2-2
/snap/gnome-3-28-1804/91/usr/share/doc/liblcms2-2/changelog.Debian.gz
/snap/gnome-3-28-1804/91/usr/share/doc/liblcms2-2/copyright
/snap/guvcview/81/usr/lib/x86_64-linux-gnu/liblcms2.so.2
/snap/guvcview/81/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.8
/snap/guvcview/81/usr/share/doc/liblcms2-2
/snap/guvcview/81/usr/share/doc/liblcms2-2/changelog.Debian.gz
/snap/guvcview/81/usr/share/doc/liblcms2-2/copyright
/usr/lib/x86_64-linux-gnu/liblcms2.so.2
/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.8
/usr/share/doc/liblcms2-2
/usr/share/doc/liblcms2-utils
/usr/share/doc/liblcms2-2/changelog.Debian.gz
/usr/share/doc/liblcms2-2/copyright
/usr/share/doc/liblcms2-utils/changelog.Debian.gz
/usr/share/doc/liblcms2-utils/copyright
/var/lib/dpkg/info/liblcms2-2:amd64.list
/var/lib/dpkg/info/liblcms2-2:amd64.md5sums
/var/lib/dpkg/info/liblcms2-2:amd64.shlibs
/var/lib/dpkg/info/liblcms2-2:amd64.symbols
/var/lib/dpkg/info/liblcms2-2:amd64.triggers
/var/lib/dpkg/info/liblcms2-utils.list
/var/lib/dpkg/info/liblcms2-utils.md5sums


I found something called "liblcms2.so.2" which may be what I need or do I have to install lcms2?  If what I have is what I need then am I going to have to add something to pkg-config search path?  I, obviously, am clueless so but figured I had better get some advise instead of charging ahead.

Thank you........................
Reply
#2
You are perhaps missing a "development" package (header files, etc), look for an install a package called something like lcms2-dev or lcms2-devel.
Reply
#3
I am not too sure you can compile successfully in a 'snap' version. Gimp being sandboxed, the OS will not see libgimp2.0-dev (I think) Give it a try.

As Ofnuts pointed out you need liblcms2-dev package.  https://i.imgur.com/YmQLaxU.jpg

The Beautify plugin code was for Gimp 2.8 and one part of it - simple borders - needs a small change to work. One of the contributers here, Nelo came up with the fix. see the attached text file.

If you get stuck compiling it you can try my compile: I keep it here https://my.pcloud.com/publink/show?code=...aH4H68dXn7  about 60 MB download.

Looks like this Gimp 2.10.14 (from PPA) kubuntu 18.04 One part of it - texture borders https://i.imgur.com/kMjgH3y.jpg
not a very good example Wink another one https://i.imgur.com/JKsyL1x.jpg


Attached Files
.txt   beautify-fix.txt (Size: 479 bytes / Downloads: 212)
Reply
#4
Thank you for the replies.

I think my course should probably be to wait until v 2.10 calms down a bit and then take another look. My concern is that there is a very good chance I am waaay over my head with this one and things are changing quite a bit almost day to day. I think I will take a step back and run through a few of the beginner tutorials before I start with bigger stuff.

Thanks again!!!!!!!
Reply


Forum Jump: