WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Missing files in libjpeg-turbo-dev for aarch64  (Read 1844 times)

Offline mortegai

  • Jr. Member
  • **
  • Posts: 55
Missing files in libjpeg-turbo-dev for aarch64
« 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Missing files in libjpeg-turbo-dev for aarch64
« Reply #1 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.

Offline mortegai

  • Jr. Member
  • **
  • Posts: 55
Re: Missing files in libjpeg-turbo-dev for aarch64
« Reply #2 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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: Missing files in libjpeg-turbo-dev for aarch64
« Reply #3 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

Offline mortegai

  • Jr. Member
  • **
  • Posts: 55
Re: Missing files in libjpeg-turbo-dev for aarch64
« Reply #4 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Missing files in libjpeg-turbo-dev for aarch64
« Reply #5 on: February 23, 2022, 02:45:04 AM »
extension re-posted with missing symlinks - thanks for reporting this.