Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260
| От | Tom Lane |
|---|---|
| Тема | Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260 |
| Дата | |
| Msg-id | 17743.1143048499@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260 (Lothar Behrens <lothar.behrens@lollisoft.de>) |
| Ответы |
Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260
|
| Список | pgsql-odbc |
Lothar Behrens <lothar.behrens@lollisoft.de> writes:
> gcc -r -keep_private_externs -nostdlib -o .libs/psqlodbc30w.so-master.o
> info.lo bind.lo columninfo.lo connection.lo convert.lo drvconn.lo
> environ.lo execute.lo lobj.lo win_md5.lo misc.lo options.lo pgtypes.lo
> psqlodbc.lo qresult.lo results.lo socket.lo parse.lo statement.lo
> tuple.lo dlg_specific.lo loadlib.lo multibyte.lo odbcapi.lo
> descriptor.lo odbcapi30.lo pgapi30.lo info30.lo mylog.lo && gcc -bundle
> -o .libs/psqlodbc30w.so .libs/psqlodbc30w.so-master.o -L/sw/lib -lpq
> -L/usr/local/lib -lodbcinst -lc
> ld: .libs/psqlodbc30w.so-master.o illegal reference to symbol:
> _SSL_read defined in indirectly referenced dynamic library
> /usr/lib/libssl.0.9.7.dylib
I think Darwin's linker may insist on -lssl appearing in the link command.
regards, tom lane
В списке pgsql-odbc по дате отправления: