Received: from bubba.NMSU.Edu (bubba.NMSU.Edu [128.123.3.39]) by hub.org (8.8.8/8.7.5) with ESMTP id LAA22008 for ; Fri, 4 Sep 1998 11:05:39 -0400 (EDT) Received: from dns1.NMSU.Edu (dns1.NMSU.Edu [128.123.3.5]) by bubba.NMSU.Edu (8.9.0/8.9.0) with ESMTP id JAA27628; Fri, 4 Sep 1998 09:03:04 -0600 (MDT) Received: from nestor.NMSU.Edu (nestor.NMSU.Edu [128.123.34.146]) by dns1.NMSU.Edu (8.9.0/8.9.0) with ESMTP id JAA05165; Fri, 4 Sep 1998 09:01:57 -0600 (MDT) Received: from nbif16 (nbif16.NMSU.Edu [128.123.15.254]) by nestor.NMSU.Edu (8.8.6/8.7) with SMTP id JAA84020; Fri, 4 Sep 1998 09:01:58 -0600 Message-ID: <35F003C2.683C@cs.nmsu.edu> Date: Fri, 04 Sep 1998 09:14:10 -0600 From: rhayhow Reply-To: rhayhow@cs.nmsu.edu Organization: National Biotechnology Information Facility X-Mailer: Mozilla 3.03Gold (WinNT; I) MIME-Version: 1.0 To: emarsden@mail.dotcom.fr, Tom Lane CC: pgsql-interfaces@hub.org Subject: Re: [INTERFACES] ecpg and embedded SQL References: <5524.904872223@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Eric and Tom, Thanks a ton, adding '-lsocket' to the end of the ddb.compile did the trick! Reid Hayhow --------------------------------------------------------- Eric Marsden wrote: -snip- > You probably need to link with the Solaris networking library > (something like -lsocket or -lnsl, see your system's manuals). > > -- > Eric Marsden Tom Lane wrote: -snip- > On some systems, these network-related functions are not in the regular > C library, but in other libraries. Likely you need to add "-lsocket" > or something like that to the link command. -snip- > regards, tom lane