Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: [ODBC] ODBC for Mac OS



Hi.

From: "Sean Davis" <sdavis2(at)mail(dot)nih(dot)gov>

> gcc  -o .libs/psqlodbcw.so -bundle  .libs/info.o .libs/bind.o
> .libs/columninfo.o .libs/connection.o .libs/convert.o .libs/drvconn.o
> .libs/environ.o .libs/execute.o .libs/lobj.o .libs/win_md5.o .libs/misc.o
> .libs/options.o .libs/pgtypes.o .libs/psqlodbc.o .libs/qresult.o
> .libs/results.o .libs/socket.o .libs/parse.o .libs/statement.o
> .libs/tuple.o .libs/dlg_specific.o .libs/loadlib.o .libs/multibyte.o
> .libs/odbcapi.o .libs/descriptor.o .libs/odbcapi30.o .libs/pgapi30.o
> .libs/info30.o .libs/mylog.o .libs/odbcapi30w.o .libs/odbcapiw.o
> libs/win_unicode.o  -L/usr/local/pgsql/lib -lpq -lssl -lcrypto
> /usr/bin/ld: Undefined symbols:
> _SQLGetPrivateProfileString
> _SQLWritePrivateProfileString
> collect2: ld returned 1 exit status
> make[1]: *** [psqlodbcw.la] Error 1
> make: *** [all] Error 2

Um, what configure option?
configure --enable-unicode --with-iodbc --with-odbcver=0x0300
--enable-pthreads --with-openssl

no options specified in what I sent to you. If I use the options you just sent, I get a build! I have to try it out, but it built without errors. Thanks for all the help, and I will let you know if I have further problems.

Oh ok, I understood the mistake was found in the option of either iodbc or unixodbc.:-)
I think becoming for your help to be glad. It will be repaired soon.
Anyway, Thanks!!

Regards,
Hiroshi Saito






Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group