Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 (libSystem) function. make shure you
have linked your library (libpq) against the same versions of
standard libraries as you try with your iphone-app.

check your linker options, specially -isysroot.

you can check later to which libSystem your lib or app was built
with: otool -L <LibOrApp>

regards, jan otto

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux