New topic: Library fail in Tiger: Symbol not found: _open$UNIX2003
<http://forums.realsoftware.com/viewtopic.php?t=24922> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message george Post subject: Library fail in Tiger: Symbol not found: _open$UNIX2003Posted: Wed Oct 22, 2008 9:20 pm Joined: Mon Oct 09, 2006 3:20 pm Posts: 260 I have this library I compiled in Leopard (xcode 3) against the 10.4u sdk. However, my 10.4 customers can't run my app, it fails with this message: ///// Symbol not found: _open$UNIX2003 Referenced from: /Applications/MyApp.app/Contents/MacOS/../Frameworks/MyLib Expected in: /usr/lib/libSystem.B.dylib ///// I've searched and searched, and from the limited information I've found it may appear to have to do with the compiler linking to Leopard-compiled versions of some library... The library I'm compiling links to libssl and libcrypt, so I am assuming those may be the culprits... However, like I said I am using the 10.4u sdk, not the 10.5 sdk. Have any of you guys come across this problem before? Any ideas on a solution, besides compiling on a tiger machine? Thanks! P.S. I updated to the latest version of xcode (3.11 i think) and it didn't help. i'm thinking of downloading xcode 2.5 and trying that, but i have a feeling it may be to no avail... Top george Post subject: Re: Library fail in Tiger: Symbol not found: _open$UNIX2003Posted: Fri Oct 24, 2008 11:31 pm Joined: Mon Oct 09, 2006 3:20 pm Posts: 260 i found the solution... pass this to the compiler: -mmacosx-version-min=10.4 from what i understand, in Leopard the compiler includes some unix compliant stuff, which is why Tiger couldn't run the code... something like that whatever, it seems to work now so i hope this helps someone else also... Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
