WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline mortegai

  • Jr. Member
  • **
  • Posts: 54
Missing files in libjpeg-turbo-dev for aarch64
« on: February 22, 2022, 07: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: 14535
Re: Missing files in libjpeg-turbo-dev for aarch64
« Reply #1 on: February 22, 2022, 09:23:09 AM »
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: 54
Re: Missing files in libjpeg-turbo-dev for aarch64
« Reply #2 on: February 22, 2022, 12: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: 11213
Re: Missing files in libjpeg-turbo-dev for aarch64
« Reply #3 on: February 22, 2022, 01: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: 54
Re: Missing files in libjpeg-turbo-dev for aarch64
« Reply #4 on: February 22, 2022, 01: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: 14535
Re: Missing files in libjpeg-turbo-dev for aarch64
« Reply #5 on: February 22, 2022, 11:45:04 PM »
extension re-posted with missing symlinks - thanks for reporting this.