Bug #793: ODBC driver does not compile on Sun Solaris

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #793: ODBC driver does not compile on Sun Solaris
Date: 2002-10-02 02:18:24
Message-ID: 20021002021824.5B5344769EC@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Renney Thomas (renneyt(at)yahoo(dot)com) reports a bug with a severity of 1
The lower the number the more severe it is.

Short Description
ODBC driver does not compile on Sun Solaris

Long Description
towards the end of the compile of the unixODBC driver I get naming conflict error.

Also what is the parameter of protocol in odbc.ini? Is it still 6.4?

Sample Code
UX tsort: INFORM: cycle in data
psqlodbc.o
dlg_specific.o
misc.o
UX tsort: INFORM: cycle in data
dlg_specific.o
psqlodbc.o
ranlib libodbcpsql.a
cc -Xa -G -h libodbcpsql.so.0 -Wl,-Bsymbolic info.o bind.o columninfo.o connection.o convert.o drvconn.o environ.o execute.o lobj.o md5.o misc.o options.o pgtypes.o psqlodbc.o qresult.o results.o socket.o parse.o statement.o tuple.o tuplelist.o dlg_specific.o odbcapi.o -lnsl -lsocket -lm -lodbcinst -R/usr/local/pgsql/lib -o libodbcpsql.so.0.27
ld: fatal: symbol `_fini' is multiply-defined:
(file /opt/SUNWspro/SC5.0/lib/crti.o and file psqlodbc.o);
ld: fatal: symbol `_init' is multiply-defined:
(file /opt/SUNWspro/SC5.0/lib/crti.o and file psqlodbc.o);
ld: fatal: File processing errors. No output written to libodbcpsql.so.0.27
gmake[3]: *** [libodbcpsql.so.0.27] Error 1
gmake[3]: Leaving directory `/opt/sft/postgresql-7.2.2/src/interfaces/odbc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/opt/sft/postgresql-7.2.2/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/opt/sft/postgresql-7.2.2/src'
gmake: *** [all] Error 2

No file was uploaded with this report

Browse pgsql-bugs by date

  From Date Subject
Next Message Mark Stosberg 2002-10-02 19:17:03 Re: 7.3b2 initdb fails with semaphore error (solved)
Previous Message Josh Berkus 2002-10-01 23:57:47 Bug in Function-Transactions?