Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: mortegai on February 22, 2022, 10:01:03 AM

Title: Missing files in libjpeg-turbo-dev for aarch64
Post by: mortegai on February 22, 2022, 10:01:03 AM
I think the following files are missing in the extension libjpeg-turbo-dev for aarch64:
Code: [Select]
/usr/local/lib/libjpeg.a
/usr/local/lib/libjpeg.la
/usr/local/lib/libturbojpeg.a
/usr/local/lib/libturbojpeg.la
Title: Re: Missing files in libjpeg-turbo-dev for aarch64
Post by: Juanito on February 22, 2022, 12:23:09 PM
Do you need the static libs?

I don’t believe the la files were produced by the cmake build, but anyway, the pc files are there.
Title: Re: Missing files in libjpeg-turbo-dev for aarch64
Post by: mortegai on February 22, 2022, 03:43:04 PM
Yes, that's right, I don't need static libraries.

My real problem was the lack of
/usr/local/lib/libturbojpeg.so.0
/usr/local/lib/libturbojpeg.so
in libjpeg-turbo extension, and then the linker couldn't find the library.
Title: Re: Missing files in libjpeg-turbo-dev for aarch64
Post by: Rich on February 22, 2022, 04:17:40 PM
Hi mortegai
Doesn't ldconfig create those links like it does under x86:
Code: [Select]
sudo ldconfig
Or you could:
Code: [Select]
sudo ln -s /usr/local/lib/libturbojpeg.so.0.2.0 /usr/local/lib/libturbojpeg.so
sudo ln -s /usr/local/lib/libturbojpeg.so.0.2.0 /usr/local/lib/libturbojpeg.so.0
Title: Re: Missing files in libjpeg-turbo-dev for aarch64
Post by: mortegai on February 22, 2022, 04:49:37 PM
Hi Rich, from what I've been able to investigate ldconfig only creates /usr/local/lib/libturbojpeg.so.0.
The one that uses the linker (linker name) libturbojpeg.so, I had to create it manually
Title: Re: Missing files in libjpeg-turbo-dev for aarch64
Post by: Juanito on February 23, 2022, 02:45:04 AM
extension re-posted with missing symlinks - thanks for reporting this.