| From: | "Rocco Altier" <RoccoA(at)Routescape(dot)com> |
|---|---|
| To: | "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 15:28:44 |
| Message-ID: | 6E0907A94904D94B99D7F387E08C4F57016D1D3C@FALCON.INSIGHT |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at> writes:
> > Up to now you have built against the static libpq.a
> > I didn't add the right -blibpath to this patch that
> > failed for you - the broken initdb is dynamically linked
> > but does not know where to look for its shared library.
>
> > The patch I just submitted to pgsql-patches should take
> > care of that. It makes the executables look in --libdir.
>
> 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.
Thanks,
-rocco
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ricardo Malafaia | 2006-09-15 15:35:03 | Re: polite request about syntax |
| Previous Message | Tom Lane | 2006-09-15 15:24:35 | Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries ) |