Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )

From: "Rocco Altier" <RoccoA(at)Routescape(dot)com>
To: "Rocco Altier" <RoccoA(at)Routescape(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )
Date: 2006-09-15 18:04:56
Message-ID: 6E0907A94904D94B99D7F387E08C4F57016D1D59@FALCON.INSIGHT
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

With the patch attached this time...

-rocco

> -----Original Message-----
> From: Rocco Altier
> Sent: Friday, September 15, 2006 2:04 PM
> To: Rocco Altier; 'Tom Lane'; 'Albe Laurenz'
> Cc: 'pgsql-hackers(at)postgresql(dot)org'
> Subject: RE: [PATCHES] [HACKERS] Linking on AIX (Was: Fix
> linking of OpenLDAP libraries )
>
>
> > > From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> > > Mmm ... what of "make check"'s temporary installation? We need
> > > to have the executables search in the temporary install's libdir,
> > > *before* looking in the configured --libdir (which could easily
> > > contain an incompatible back-version libpq ...)
> > >
> > > pg_regress normally tries to handle this by setting
> LD_LIBRARY_PATH
> > > ... does AIX use that or a similar symbol?
> > >
> > The "make check" was successful in my previous testing of the last
> > patch, so it appears that AIX was paying attention to
> LD_LIBRARY_PATH.
> >
> > I am testing the new version of the patch now, so will report back
> > shortly.
> >
> From testing the new patch, it did not work for the
> regression tests in the buildfarm.
> Not sure why it did work before.
>
> Anyhow, I have updated the patch to set LIBPATH (AIX's
> version of LD_LIBRARY_PATH), in pg_regress and ecpg's pg_regress.
>
> I have tested this with default config options
> (enable-shared, enable-rpath). I am starting to test the
> other methods as well, but wanted to get this out first.
>
> -rocco
>

Attachment Content-Type Size
aix.link.regression.patch application/octet-stream 5.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-09-15 18:32:16 guc comment changes (was Re: Getting a move on for 8.2 beta)
Previous Message Rocco Altier 2006-09-15 18:03:45 Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )