pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Trouble compiling for Solaris 8
2+ messages / 2 participants
[nested] [flat]

* Trouble compiling for Solaris 8
@ 2003-09-24 23:06  Nishad Prakash <prakashn@uci.edu>
  0 siblings, 0 replies; 2+ messages in thread

From: Nishad Prakash @ 2003-09-24 23:06 UTC (permalink / raw)
  To: pgsql-odbc


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.gz

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Trouble compiling for Solaris 8
@ 2003-09-26 19:17  nishad@ptolemy.tlg.uci.edu
  0 siblings, 0 replies; 2+ messages in thread

From: nishad@ptolemy.tlg.uci.edu @ 2003-09-26 19:17 UTC (permalink / raw)
  To: borschow@roguewave.com; +Cc: pgsql-odbc

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-09-26 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-24 23:06 Trouble compiling for Solaris 8 Nishad Prakash <prakashn@uci.edu>
2003-09-26 19:17 Re: Trouble compiling for Solaris 8 nishad@ptolemy.tlg.uci.edu

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