Open ralmond opened 1 year ago
@jeroen do you know anything of the difference between the libfreetype and libfreetype6 packages?
Pretty sure it generally work with libfreetype6-dev
so don't know why it doesn't for you
I'm getting:
(base) [ralmond@cherry: ~]$ apt-cache show libfreetype6-dev
Package: libfreetype6-dev
Architecture: amd64
Version: 2.11.1+dfsg-1ubuntu0.1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: freetype
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Hugh McMaster <hugh.mcmaster@outlook.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 60
Depends: libfreetype-dev (= 2.11.1+dfsg-1ubuntu0.1)
Filename: pool/main/f/freetype/libfreetype6-dev_2.11.1+dfsg-1ubuntu0.1_amd64.deb
Size: 8298
MD5sum: 3909e9a7d76b8f92a3a802e6eb09c087
SHA1: 63a9b7d66be1c452bfa3bc6920b4c9421a02d6af
SHA256: 3f9e9e347bcebff4cab42d7bee6c7b3cfd7437101966ec2b19ef515cadc6bd3d
SHA512: 76652aa3dc3a9ef87c671ab93237c0ee49ae029c5c82ae4b529b93c653ddd7455aaf1199e42ea2c3c96ab4115e28288379a93b391fa3606e7c495477b948584d
Homepage: https://www.freetype.org
Description-en: FreeType 2 font engine, development files (transitional package)
The FreeType project is a team of volunteers who develop free,
portable and high-quality software solutions for digital typography.
They specifically target embedded systems and focus on providing small,
efficient and ubiquitous products.
.
This package contains all of the supplementary files you need to develop your
own programs using the FreeType 2 library.
.
This is a transitional package. It can safely be removed.
Description-md5: 28f874a479b758590006ecadff6e409a
Package: libfreetype6-dev
Architecture: amd64
Version: 2.11.1+dfsg-1build1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: freetype
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Hugh McMaster <hugh.mcmaster@outlook.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 60
Depends: libfreetype-dev (= 2.11.1+dfsg-1build1)
Filename: pool/main/f/freetype/libfreetype6-dev_2.11.1+dfsg-1build1_amd64.deb
Size: 8302
MD5sum: d3ebe0f8f1ceffbfecba30ed1059051e
SHA1: 91b23cda16a69036bf6272ad4da24fa9c0d8cc76
SHA256: 2066b14e1a62151662fc6cb4c560748f1b37b502876daf06e5a5f81164a655be
SHA512: 1f53dba9ab3a0783c93ae15cb1dd917f3ca1358befdccb0f6d9b3940c7b993e61887c86e298a91a697eb67a5321f33940c754c06d58f6bc81a0bf5984677a5d8
Homepage: https://www.freetype.org
Description-en: FreeType 2 font engine, development files (transitional package)
The FreeType project is a team of volunteers who develop free,
portable and high-quality software solutions for digital typography.
They specifically target embedded systems and focus on providing small,
efficient and ubiquitous products.
.
This package contains all of the supplementary files you need to develop your
own programs using the FreeType 2 library.
.
This is a transitional package. It can safely be removed.
Description-md5: 28f874a479b758590006ecadff6e409a
(base) [ralmond@cherry: ~]$ apt-cache show libfreetype-dev
Package: libfreetype-dev
Architecture: amd64
Version: 2.11.1+dfsg-1ubuntu0.1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: freetype
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Hugh McMaster <hugh.mcmaster@outlook.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2017
Provides: libfreetype6-dev (= 2.11.1+dfsg-1ubuntu0.1)
Depends: libfreetype6 (= 2.11.1+dfsg-1ubuntu0.1), libbrotli-dev, libc6-dev | libc-dev, libpng-dev, zlib1g-dev | libz-dev
Suggests: freetype2-doc (= 2.11.1+dfsg-1ubuntu0.1)
Breaks: libfreetype6-dev (<< 2.10.1)
Replaces: libfreetype6-dev (<< 2.10.1)
Filename: pool/main/f/freetype/libfreetype-dev_2.11.1+dfsg-1ubuntu0.1_amd64.deb
Size: 555422
MD5sum: d60bbcfb4168e973076e70b4d45a5d69
SHA1: fec51956f6bebd751af1ba5ed390126143f53dc7
SHA256: 42e486f535363a4da6ec722064af3245b565216fad5b1c5257f648086a77339d
SHA512: d6a4016587a14076d7f8d95bbfbacd882fc8aa209a01eaebdbeebb93be3872f54f789fbc199501c684156828d55d53f75141d42e174cd5680c55bd90623a8d12
Homepage: https://www.freetype.org
Description-en: FreeType 2 font engine, development files
The FreeType project is a team of volunteers who develop free,
portable and high-quality software solutions for digital typography.
They specifically target embedded systems and focus on providing small,
efficient and ubiquitous products.
.
This package contains all of the supplementary files you need to develop your
own programs using the FreeType 2 library.
Description-md5: 8875ea8826893bae306fe23dfd81f96f
Package: libfreetype-dev
Architecture: amd64
Version: 2.11.1+dfsg-1build1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: freetype
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Hugh McMaster <hugh.mcmaster@outlook.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2017
Provides: libfreetype6-dev (= 2.11.1+dfsg-1build1)
Depends: libfreetype6 (= 2.11.1+dfsg-1build1), libbrotli-dev, libc6-dev | libc-dev, libpng-dev, zlib1g-dev | libz-dev
Suggests: freetype2-doc (= 2.11.1+dfsg-1build1)
Breaks: libfreetype6-dev (<< 2.10.1)
Replaces: libfreetype6-dev (<< 2.10.1)
Filename: pool/main/f/freetype/libfreetype-dev_2.11.1+dfsg-1build1_amd64.deb
Size: 555320
MD5sum: 822f4331b8979d30acf138818289f7a7
SHA1: 98566dceebc67ef877fbab4e76fde17bd486dc0e
SHA256: c43edf5c51902fe495a826fb89bd452ef23fe8afe49aec4a3e30ad249da4b8cb
SHA512: fb1da2c6e7b0090a00b92af6eae9cc851aa6c30eb706a3a3a692e44211ba3e0df3035e48887b2fed206d0267e6ebd6a3cb43c626804dee73ad3cc997322fd53b
Homepage: https://www.freetype.org
Description-en: FreeType 2 font engine, development files
The FreeType project is a team of volunteers who develop free,
portable and high-quality software solutions for digital typography.
They specifically target embedded systems and focus on providing small,
efficient and ubiquitous products.
.
This package contains all of the supplementary files you need to develop your
own programs using the FreeType 2 library.
Description-md5: 8875ea8826893bae306fe23dfd81f96f
I don't know libfreetype6-dev wasn't working. It might be that I had the amd64 version installed and I also needed the i386 version.
I suspect that the version without the number is an alias for the current version (which is currently 6)
Hey, I received some of those errors. chatgpt assisted me, and it said i need to install libtiff in my PKG_CONFIG_PATH.
it suggests brew install libtiff. It looks like there is a file in brew called "pkg-config", and I assumed this is analogous to PKG_CONFIG_PATH.
first install libtiff in terminal: brew install libtiff
So once you install libtiff, you need to copy it: cp -r /opt/homebrew/opt/libtiff /opt/homebrew/opt/pkg-config
I had to do this as well for freetype. Once i did that, those error messages cleared up. However, i think i am having an intel vs apple silicon based processor issue now.
I was trying to install
ragg
under R 4.2.1 and Pop_OS 22.04 (Pop_OS is downstream from Ubuntu and Debian).I'm getting the following error:
The information in the suggestions after
ANTI-CONF
is not quite correct.libfreetype6-dev
should belibfreetype-dev
.When I install that library, it compiles without error.