Opened 2 years ago

Closed 2 years ago

#65634 closed defect (invalid)

jpeg: M1 Issue

Reported by: bioworldmerch (Dean Marshall) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: mascguy (Christopher Nielsen)
Port: jpeg

Description

This installs v8 of JPEG which is not compatible with M1 Mac. (mach-o file, but is an incompatible architecture (have arm64, need x86_64) I installed for jpeg support with ImageMagick.

Change History (5)

comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)

Priority: HighNormal
Summary: JPEG M1 Issuejpeg: M1 Issue
Version: 2.7.2

You'll want libjpeg-turbo instead. It provides the same functionality, and performs better too!

$ sudo port -f uninstall jpeg
$ sudo port -N install libjpeg-turbo

Let us know if this solves the issue.

comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to ryandesign
Status: newassigned

comment:4 in reply to:  description Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to bioworldmerch:

This installs v8 of JPEG which is not compatible with M1 Mac. (mach-o file, but is an incompatible architecture (have arm64, need x86_64)

What are you talking about? On Apple Silicon Macs, ports will generally install for arm64 architecture. Why do you think you need it for x86_64? If you really do, then either install the port with the universal variant to get both, or set build_arch to x86_64 in macports.conf (and probably uninstall any ports you'd already installed for arm64).

comment:5 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

If you have further information to add, please reopen the issue.

Note: See TracTickets for help on using tickets.