From: nishad@ptolemy.tlg.uci.edu
To: borschow@roguewave.com
Cc: pgsql-odbc@postgresql.org
Subject: Re: Trouble compiling for Solaris 8
Date: Fri, 26 Sep 2003 12:17:19 -0700 (PDT)
Message-ID: <200309261917.MAA05455@attalus2.tlg.uci.edu> (raw)
In-Reply-To: <no.id>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: nishad@ptolemy.tlg.uci.edu, borschow@roguewave.com
Subject: Re: Trouble compiling for Solaris 8
In-Reply-To: <200309261917.MAA05455@attalus2.tlg.uci.edu>
References: <no.id> <200309261917.MAA05455@attalus2.tlg.uci.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox