Bug #793: ODBC driver does not compile on Sun Solaris - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #793: ODBC driver does not compile on Sun Solaris
Date
Msg-id 20021002021824.5B5344769EC@postgresql.org
Whole thread Raw
List pgsql-bugs
Renney Thomas (renneyt@yahoo.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.olobj.o md5.o misc.o options.o pgtypes.o psqlodbc.o qresult.o results.o socket.o parse.o statement.o tuple.o
tuplelist.odlg_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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #792: pg_dump uses all available RAM and swap
Next
From: Mark Stosberg
Date:
Subject: Re: 7.3b2 initdb fails with semaphore error (solved)