Opened 15 years ago
Closed 15 years ago
#20891 closed defect (fixed)
libao 0.8.8_2 compiles but does not work on Snow Leopard
Reported by: | cody@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | snowleopard | Cc: | |
Port: | libao |
Description
At least on my x64 system (your mileage may vary on x86; I don't have a system to test this on), libao appears to compile perfectly fine under Snow Leopard but fails to actually run when linked due to a binding error.
Example output from one program which links to it, uade2:
Edward:/Emulation/Soundtracks/Amiga codeman38$ uade123 Lotus_2/new.mod dyld: lazy symbol binding failed: Symbol not found: _dlsym_auto_underscore Referenced from: /opt/local/lib/libao.2.dylib Expected in: flat namespace dyld: Symbol not found: _dlsym_auto_underscore Referenced from: /opt/local/lib/libao.2.dylib Expected in: flat namespace Trace/BPT trap
I'm not entirely sure what's happening here-- libao already contains a patch to eliminate the whole _dlsym_auto_underscore thing, but somehow it's still working its way in during compilation (probably because of some difference on x64 that I'm overlooking).
Change History (5)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Keywords: | snowleopard added |
---|---|
Port: | libao added |
Version: | 1.7.1 |
comment:2 Changed 15 years ago by jmroot (Joshua Root)
comment:3 Changed 15 years ago by cody@…
Ah, there I go getting my greater than and less than signs mixed up again. :) Changing the above to the following fixed it:
if {${os.major} < 10} { patchfiles patch-AU-configure patch-AU-src__plugins__macosx__ao_macosx.c } else { patchfiles patch-AU-configure }
comment:4 Changed 15 years ago by cody@…
(Also, I'd forgotten that Darwin went up to version 10 in SL. Which, of course, would explain why the patch wasn't being inserted...)
Lack of patching would be explained by: