Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260 - Mailing list pgsql-odbc

From Tom Lane
Subject Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260
Date
Msg-id 17743.1143048499@sss.pgh.pa.us
Whole thread Raw
In response to Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260  (Lothar Behrens <lothar.behrens@lollisoft.de>)
Responses Re: Compiling psqlodbc REL-07_03_ENHANCED and 07.03.260  (Lothar Behrens <lothar.behrens@lollisoft.de>)
List 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 by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Future versions of psqlODBC
Next
From: "Dave Page"
Date:
Subject: Re: Future versions of psqlODBC