Skip site navigation (1) Skip section navigation (2)

Error while connecting to database from libpq interface "could not get socket error status: Invalid Argument"

From: "Malhotra, Rajiv Kumar (STSD)" <rajiv-kumar(dot)malhotra(at)hp(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Error while connecting to database from libpq interface "could not get socket error status: Invalid Argument"
Date: 2005-08-24 14:18:31
Message-ID: 9B06B59D852D034FA60C098C2B692A050162920E@bgeexc05.asiapacific.cpqcorp.net (view raw or flat)
Thread:
Lists: pgsql-interfaces
Hi , 
 
I am working on hpux itanium platform
 
I am using postgres 7.4.2 version and have compiled 64bit libpq library
with gcc3.3.1.
 
While conneting I am getting error "
 
could not get socket error status: Invalid Argument"
 
can someone help here ??? Why I am getting this error while connecting
to database.
 
Thanx and Regards Rajiv 
 
Here is the output of compilation
bash-2.01# gmake
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='"/home/pg"'  -c -o fe-auth.o fe-auth.c
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o fe-connect.o fe-connect.c
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o fe-exec.o fe-exec.c
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o fe-misc.o fe-misc.c
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o fe-print.o fe-print.c
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o fe-lobj.o fe-lobj.c
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o fe-protocol2.o
fe-protocol2.c
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o fe-protocol3.o
fe-protocol3.c
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o pqexpbuffer.o pqexpbuffer.c
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o pqsignal.o pqsignal.c
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o fe-secure.o fe-secure.c
rm -f dllist.c && ln -s ../../../src/backend/lib/dllist.c .
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o dllist.o dllist.c
rm -f md5.c && ln -s ../../../src/backend/libpq/md5.c .
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o md5.o md5.c
rm -f ip.c && ln -s ../../../src/backend/libpq/ip.c .
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o ip.o ip.c
rm -f wchar.c && ln -s ../../../src/backend/utils/mb/wchar.c .
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o wchar.o wchar.c
rm -f encnames.c && ln -s ../../../src/backend/utils/mb/encnames.c .
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o encnames.o encnames.c
rm -f path.c && ln -s ../../../src/port/path.c .
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o path.o path.c
rm -f thread.c && ln -s ../../../src/port/thread.c .
gcc -O2 -fno-strict-aliasing -mlp64 -Wall -Wmissing-prototypes
-Wmissing-declarations -fpic -I. -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED  -I/usr/include -I/opt/openssl/include
-DFRONTEND -DSYSCONFDIR='""/home/pg"'  -c -o thread.o thread.c
ar crs libpq.a `lorder fe-auth.o fe-connect.o fe-exec.o fe-misc.o
fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o
pqsignal.o fe-secure.o dllist.o md5.o ip.o wchar.o encnames.o path.o
thread.o | tsort`
tsort: cycle in data
tsort: fe-connect.o
tsort: fe-auth.o
tsort: cycle in data
tsort: fe-misc.o
tsort: fe-exec.o
tsort: fe-protocol2.o
tsort: fe-connect.o
tsort: cycle in data
tsort: fe-misc.o
tsort: fe-exec.o
ranlib libpq.a
/usr/ccs/bin/ld +h libpq.so.3 -b  fe-auth.o fe-connect.o fe-exec.o
fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o
pqexpbuffer.o pqsignal.o fe-secure.o dllist.o md5.o ip.o wchar.o
encnames.o path.o thread.o -L../../../src/port -L/usr/lib
-L/opt/openssl/lib -lssl -lcrypto -lnsl -lkrb5 -lk5crypto -lcom_err
`gcc -print-libgcc-file-name` +nodefaultrpath  -o libpq.so.3

 
 

pgsql-interfaces by date

Next:From: Tom LaneDate: 2005-08-24 15:10:06
Subject: Re: DBD::Pg and "invalid frontend message type 10"
Previous:From: Michael FuhrDate: 2005-08-24 13:34:53
Subject: Re: DBD::Pg and "invalid frontend message type 10"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group