Re: [GENERAL] Getting iPhone Simulator App to compile with libpq on Snow Leopard

2009-11-09 Thread Jan Otto
hi bob, Undefined symbols: _fopen$UNIX2003, referenced from: _parseServiceInfo in libpq.i386(fe-connect.o) _PasswordFromFile in libpq.i386(fe-connect.o) ld: symbol(s) not found collect2: ld returned 1 exit status Any help would be greatly appreciated. hm, fopen is a standard c

Re: [GENERAL] Getting iPhone Simulator App to compile with libpq on Snow Leopard

2009-11-09 Thread Bob Henkel
Thanks Jan that was the issue. The SDK that my app was using for the simulator build was was 10.5 while the my compile of libpq was using 10.6. Once I forced libpq to compile with 10.5 all my problems went away. Thanks for your help I appreciate it. On Mon, Nov 9, 2009 at 8:40 AM, Jan Otto

[GENERAL] Getting iPhone Simulator App to compile with libpq on Snow Leopard

2009-11-08 Thread Bob Henkel
In my quest to create a simple PostgreSQL program that runs on the iPhone I have ran into some problems. The first issue I had with my build was libpq being compiled for architecture of type x86_64 by default on Snow Leopard and the Simulator being i386 so my build would fail telling me libpq was