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