06-18-2009, 11:55 AM #1
Backward compatibility of Darwin libraries
- Member Since
- Jun 18, 2009
Hi, we have a C application built on Darwin 8.4 and having problems linking against a third party dylib built on Darwin 9.8. We suspect Darwin libraries are not backward compatible, i.e. cannot link to 9.x libs on 8.4. The linker throws the 'load command 8 unknown cmd field' message
/usr/bin/ld: ../../..//libconsub3.dylib load command 8 unknown cmd field
/usr/bin/ld: warning can't open dynamic library: libconsub3.dylib referenced
In short, can dynamic libraries built on 9.x be linked/used with applications built on 8.x? If yes, then what gcc compiler flags should be used to link the 8.x application with the 9.x libraries?
Any help in this regard will be greatly appreciated.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By benrymnd in forum OS X - Operating SystemReplies: 3Last Post: 08-10-2015, 03:31 PM
By billwill in forum Apple NotebooksReplies: 2Last Post: 03-30-2014, 01:43 PM
By iPwnF00lz in forum Images, Graphic Design, and Digital PhotographyReplies: 3Last Post: 05-27-2012, 02:11 AM
By franks in forum OS X - Operating SystemReplies: 0Last Post: 05-13-2010, 07:14 PM
By soccerphysio in forum Switcher HangoutReplies: 4Last Post: 09-11-2009, 09:41 PM