| Summary: | Link failure on OS X and plugins build as ELF rather than Mach-O exectuables | ||
|---|---|---|---|
| Product: | [Applications] marble | Reporter: | amit <amit.k.chaudhuri> |
| Component: | general | Assignee: | marble-bugs |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | niederstrasser, nienhueser |
| Priority: | NOR | ||
| Version First Reported In: | 1.5 (KDE 4.10) | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | macOS | ||
| URL: | http://home2.btconnect.com/pom.linux.uk/MarbleBugs.html | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
amit
2012-04-29 12:03:43 UTC
This is an old entry, but wanted to clarify that plugins should in fact be compiled as -bundle and not -dynamiclib on OS X: <https://developer.apple.com/library/mac/documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html#//apple_ref/doc/uid/TP40002850-TPXREF103> and the preferred extension for plugins is either .so or .bundle on OS X (dylib should be reserved for shared libraries). A compiled plugin on OS X that ends in .so is not ELF: $ otool -hv lib/kde4/libmarble_part.so lib/kde4/libmarble_part.so: Mach header magic cputype cpusubtype caps filetype ncmds sizeofcmds flags MH_MAGIC_64 X86_64 ALL 0x00 BUNDLE 24 2504 NOUNDEFS DYLDLINK TWOLEVEL BINDS_TO_WEAK This bug should be marked invalid. Hanspeter - thank you for the response. I haven't looked in here for a couple of years but still found the response useful/informative. |