Linker-Error beim Versuch ein PB-Programm zu starten
Verfasst: 22.12.2025 05:23
Hallo Community,
beim Versuch ein beliebiges PB-Programm (z.B. DEBUG "Hello World") unter MacOS zu starten, bekommt man einen Linker-Error:
ld: warning: ignoring duplicate libraries: '-lm', '-lpthread', '/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a', '/Applications/PureBasic.app/Contents/Resources/compilers/objectmanager.a', '/Applications/PureBasic.app/Contents/Resources/compilers/systembase.a', '2DDrawing.a', 'Array.a', 'Cipher.a', 'CipherMD5.a', 'Cocoa.a', 'Date.a', 'Event.a', 'Gadget.a', 'Image.a', 'ImagePlugin.a', 'ImagePluginBMP.a', 'Internal.a', 'LinkedList.a', 'Map.a', 'Memory.a', 'Menu.a', 'Network.a', 'SimpleList.a', 'String.a', 'System.a', 'VectorDrawing.a', 'Window.a'
ld: warning: no platform load command found in '/private/tmp/.pb-1766054020/purebasic.o', assuming: macOS
ld: warning: object file (/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a[2](LanguageSupport.o)) was built for newer 'macOS' version (10.10) than being linked (10.7)
ld: warning: object file (/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a[3](DebuggerLanguage.o)) was built for newer 'macOS' version (10.10) than being linked (10.7)
ld: warning: object file (/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a[4](Debugger.o)) was built for newer 'macOS' version (10.10) than being linked (10.7)
ld: warning: object file (/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a[5](ThreadSupport.o)) was built for newer 'macOS' version (10.10) than being linked (10.7)
ld: warning: object file (/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a[6](UnicodeSupport.o)) was built for newer 'macOS' version (10.10) than being linked (10.7)
...
MacOS-Version: Sequoia 15.7.1
PB-Vesrion: 6.02 LTS
Hat irgendeiner eine Idee, woran das liegen und wie man das Problem lösen könnte?
Viele Grüße von
Argus
beim Versuch ein beliebiges PB-Programm (z.B. DEBUG "Hello World") unter MacOS zu starten, bekommt man einen Linker-Error:
ld: warning: ignoring duplicate libraries: '-lm', '-lpthread', '/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a', '/Applications/PureBasic.app/Contents/Resources/compilers/objectmanager.a', '/Applications/PureBasic.app/Contents/Resources/compilers/systembase.a', '2DDrawing.a', 'Array.a', 'Cipher.a', 'CipherMD5.a', 'Cocoa.a', 'Date.a', 'Event.a', 'Gadget.a', 'Image.a', 'ImagePlugin.a', 'ImagePluginBMP.a', 'Internal.a', 'LinkedList.a', 'Map.a', 'Memory.a', 'Menu.a', 'Network.a', 'SimpleList.a', 'String.a', 'System.a', 'VectorDrawing.a', 'Window.a'
ld: warning: no platform load command found in '/private/tmp/.pb-1766054020/purebasic.o', assuming: macOS
ld: warning: object file (/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a[2](LanguageSupport.o)) was built for newer 'macOS' version (10.10) than being linked (10.7)
ld: warning: object file (/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a[3](DebuggerLanguage.o)) was built for newer 'macOS' version (10.10) than being linked (10.7)
ld: warning: object file (/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a[4](Debugger.o)) was built for newer 'macOS' version (10.10) than being linked (10.7)
ld: warning: object file (/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a[5](ThreadSupport.o)) was built for newer 'macOS' version (10.10) than being linked (10.7)
ld: warning: object file (/Applications/PureBasic.app/Contents/Resources/compilers/debugger.a[6](UnicodeSupport.o)) was built for newer 'macOS' version (10.10) than being linked (10.7)
...
MacOS-Version: Sequoia 15.7.1
PB-Vesrion: 6.02 LTS
Hat irgendeiner eine Idee, woran das liegen und wie man das Problem lösen könnte?
Viele Grüße von
Argus