Re: Trouble compiling postgresql in hp-unix - Mailing list pgsql-general

From j_v_dsilva@www.com (joseph v d'silva)
Subject Re: Trouble compiling postgresql in hp-unix
Date
Msg-id 25bda1a5.0210070053.312ee1df@posting.google.com
Whole thread Raw
In response to Re: Trouble compiling postgresql in hp-unix  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Trouble compiling postgresql in hp-unix  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
tgl@sss.pgh.pa.us (Tom Lane) wrote in message news:<20814.1033743433@sss.pgh.pa.us>...
> j_v_dsilva@www.com (joseph v d'silva) writes:
> >   I get the following error message when I am trying to gmake the
> > postgresql source in HP-unix 10.20
>
> PG builds fine on HPUX 10.20 ... I do it several times a day ;-)
>
> > gmake[2]: Entering directory
> > `/home/joseph/pgs/postgresql-7.2.2/src/interfaces/libpq'
> > ar crs libpq.a `lorder fe-auth.o fe-connect.o fe-exec.o fe-misc.o
> > fe-print.o fe-lobj.o pqexpbuffer.o dllist.o md5.o pqsignal.o | tsort`
> > /usr/lib/dld.sl: Can't find path for shared library: libc.2
> > /usr/lib/dld.sl: No such file or directory
> > /usr/lib/dld.sl: Can't find path for shared library: libc.2
> > /usr/lib/dld.sl: No such file or directory
> > /bin/sh: 20188 Abort(coredump)
>
> That's pretty odd.  It looks to me like you have a broken copy of either
> ar, lorder, or tsort --- "broken" meaning it has a bogus shared library
> search path in it.  You could check this out by running "chatr" against
> the respective executables (use "which" to determine exactly where they
> are).
>
> Did you get those tools from HP, or are you using the GNU toolchain?
> If GNU, how did you build or come by the tools?
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

You were right, I had tried to install gcc in my machine but due to
some problems  (the libc.2) it had failed. I hadn't removed the
executables from the path and it was picking up these executables,
when I removed it, the default HP ones were picked up and it went
fine. However in one of my machines I got an error

cannot determine argument types for accept when I rane configure.

So I compiled in another machine and installed it.

Thanx

pgsql-general by date:

Previous
From: "Michael Paesold"
Date:
Subject: Re: [HACKERS] cross-posts (was Re: Large databases,
Next
From: Hans-Jürgen Schönig
Date:
Subject: Re: [pgsql-performance] Large databases, performance