Thread: Re: Which library has these symbols? -- Eureka

Re: Which library has these symbols? -- Eureka

From
"Mohan, Ross"
Date:

64-bit PG 8.0.2. is up and running on AIX5.3/power5

YES! ! !

The major thing:  setting some quirky LDFLAGS.

Anyone interested in details, please ping.

Thanks to Nick Addington, Vincent Vanwynsberghe, my SA, Sergey,
and Tom Lane (for good-natured nudging)

My Next Task: Finding a Stress Test Harness to Load, and Query Data.

Anyone have ideas?

I am eagerly awaiting the DESTRUCTION of Oracle around here, and
"yes" I am an oracle DBA and think it's very good technology.

Smiling,

Ross Mohan

-----Original Message-----
From: pgsql-ports-owner@postgresql.org [mailto:pgsql-ports-owner@postgresql.org] On Behalf Of Mohan, Ross
Sent: Wednesday, May 25, 2005 1:11 PM
To: pgsql-ports@postgresql.org
Subject: Re: [PORTS] Which library has these symbols?

Tom,

they're all over the place, repeated in different
libraries, kind of a pain. Didn't realize that. I'll
just give linker a bunch of LIBPATH and LIBNAME directives
and have it run around.

# ar -t ./postgresql-8.0.2/src/interfaces/ecpg/ecpglib/libecpg.a | egrep 'dirmod|path|pgstr|pgsleep'        
path.o

# ar -t ./postgresql-8.0.2/src/interfaces/ecpg/pgtypeslib/libpgtypes.a | egrep 'dirmod|path|pgstr|pgsleep' pgstrcasecmp.o

# ar -t ./postgresql-8.0.2/src/interfaces/libpq/libpq.a | egrep 'dirmod|path|pgstr|pgsleep'              
pgstrcasecmp.o    

# ar -t ./postgresql-8.0.2/src/port/libpgport.a | egrep 'dirmod|path|pgstr|pgsleep'          
dirmod.o
path.o     
pgsleep.o
pgstrcasecmp.o

# ar -t ./postgresql-8.0.2/src/port/libpgport_srv.a | egrep 'dirmod|path|pgstr|pgsleep' dirmod_srv.o path.o pgsleep.o pgstrcasecmp.o

I **really** want this in 64bit......funny this problem only shows up in 64, not 32 mode. <sigh>

Thanks for commenting --- That's ALWAYS welcome!

-- Ross

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Tuesday, May 24, 2005 10:53 PM
To: Mohan, Ross
Cc: pgsql-ports@postgresql.org
Subject: Re: [PORTS] Which library has these symbols?

"Mohan, Ross" <RMohan@arbinet.com> writes:
> So Close, Yet So Far!

The specific symbols being complained of should be in libpgport_srv (see src/port).  Dunno why your platform is ignoring that library.  When you find out, let us know ;-)

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Re: Which library has these symbols? -- Eureka

From
Christopher Browne
Date:
Oops! RMohan@arbinet.com ("Mohan, Ross") was seen spray-painting on a wall:
> 64-bit PG 8.0.2. is up and running on AIX5.3/power5
>
> YES! ! !
>
> The major thing:  setting some quirky LDFLAGS.
>
> Anyone interested in details, please ping.

This is definitely a matter worthy of interest.

It would be well worth taking a peek at $PG_SOURCE_HOME/doc/FAQ_AIX
and seeing if there are notes worth adding to it.

Alternatively, bounce the details over to myself and/or Andrew
Hammond, and we can see about submitting the documentation patch ;-).
--
"cbbrowne","@","gmail.com"
http://cbbrowne.com/info/spreadsheets.html
"I visited  a company  that was doing  programming in BASIC  in Panama
City and I asked them if they resented that the BASIC keywords were in
English.   The answer  was:  ``Do  you resent  that  the keywords  for
control of actions in music are in Italian?''"  -- Kent M Pitman