X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 39387D1B4FF for ; Fri, 26 Sep 2003 19:18:06 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 00886-04 for ; Fri, 26 Sep 2003 16:17:35 -0300 (ADT) Received: from ptolemy.tlg.uci.edu (ptolemy.tlg.uci.edu [128.200.37.18]) by svr1.postgresql.org (Postfix) with ESMTP id 89748D1B525 for ; Fri, 26 Sep 2003 16:17:33 -0300 (ADT) Received: from attalus2.tlg.uci.edu (nishad@attalus2.tlg.uci.edu [128.200.37.24]) by ptolemy.tlg.uci.edu (8.9.3p2/) with ESMTP id MAA16727; Fri, 26 Sep 2003 12:17:21 -0700 (PDT) Received: (from nishad@localhost) by attalus2.tlg.uci.edu (8.9.3p2/) id MAA05455; Fri, 26 Sep 2003 12:17:19 -0700 (PDT) Message-Id: <200309261917.MAA05455@attalus2.tlg.uci.edu> Subject: Re: Trouble compiling for Solaris 8 To: borschow@roguewave.com (Janet Borschowa) Date: Fri, 26 Sep 2003 12:17:19 -0700 (PDT) Cc: pgsql-odbc@postgresql.org In-Reply-To: from "Janet Borschowa" at Sep 25, 2003 11:57:41 AM Reply-To: nishad@ptolemy.tlg.uci.edu From: nishad@ptolemy.tlg.uci.edu X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-DCS-MailScanner: Found to be clean X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/103 X-Sequence-Number: 3301 Janet Borschowa wrote: > > Hi, > Try using the configure option --enable-pthreads. The undefined symbols are > defined in the pthread library on solaris. Hey, thanks! It turned out that I needed -lsocket -- you definitely put me on the right track. So, would the developers please consider adding -lsocket -lnsl to configure for solaris, permanently? It won't link unless you specify both libraries. Cheers, Nishad > > ======================== > Janet Borschowa > Software Engineer, Database Products > Rogue Wave Software > (541) 753-1931 FAX: (541) 757-4630 > mailto:borschow@roguewave.com http://www.roguewave.com > > > > -----Original Message----- > From: Nishad Prakash [mailto:prakashn@uci.edu] > Sent: Wednesday, September 24, 2003 4:06 PM > To: pgsql-odbc@postgresql.org > Subject: [ODBC] Trouble compiling for Solaris 8 > > > > Hi, > > I've been trying to compile the psqlodbc driver for Solaris 8. > I obtained the source from > ftp://ftp3.ca.postgresql.org/pub/odbc/versions/src/psqlodbc-07.03.0100.tar.g > z > > I run configure with prefix=/usr/local/pgsql. This finishes without any > trouble. When I run make, I eventually get this: > > > /usr/ccs/bin/ld -G -z defs -h psqlodbc.so -o .libs/psqlodbc.so 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 > tuplelist.lo dlg_specific.lo odbcapi.lo multibyte.lo gpps.lo odbcapi30.lo > pgapi30.lo info30.lo -lc > Undefined first referenced > symbol in file > socket connection.lo > send connection.lo > recv socket.lo > connect connection.lo > inet_addr socket.lo > gethostbyname socket.lo > ld: fatal: Symbol referencing errors. No output written to > .libs/psqlodbc.so > *** Error code 1 > make: Fatal error: Command failed for target `psqlodbc.la' > Current working directory /target1/download/psqlodbc-07.03.0100 > *** Error code 1 > make: Fatal error: Command failed for target `all' > > > I already have postgres 7.3.3 installed on my system, and I am trying to > add the odbc driver now. > > Could someone please help me with this? > > Cheers, > > Nishad > -- > "Underneath the concrete, the dream is still alive" -- Talking Heads > > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings > -- "Things ain't been the same since the blues walked into town." -- Larry Love