#43950: openjpeg build fails on 10.4 with missing symbols -----------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: openjpeg | -----------------------+-------------------------------- Comment (by nad@…):
On 10.4, the default compiler was changed to apple-gcc42 in MacPorts 2.3.0, because the older gcc-4.0 included in Tiger's Xcode has many bugs.
Yes, I was aware of that.
The problem is the -isysroot argument. [...]
That makes more sense. I didn't recall that there were issues when using an SDK. Ages ago I believe I used to have it set in `macports.conf` for some releases. I agree that there is something to be said for always using a SDK, particularly if it can avoid edge cases.
Because you have apple-gcc42 installed, you should also already have the ld64 port installed [...]
Yes, I see I should but, for some reason, I didn't. I can't explain why it's missing: the dependencies are clear. After installing `ld64` and its dependencies and after removing the symlink workaround, I was able to successfully build `openjpeg`. Sorry for the noise and thanks for the detailed reply. -- Ticket URL: <https://trac.macports.org/ticket/43950#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X