Rocco Altier wrote: >>> 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. > > 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.
LD_LIBRARY_PATH does not work on AIX - the AIX equivalent is LIBPATH. "make check" does not seem to rely on LD_LIBRARY_PATH, and it should work with my patch (it worked here). If pg_regress relies on LD_LIBRARY_PATH, it would have to be changed to set LIBPATH in the AIX case :^( The reason why all these problems manifest now is that - up to now - PostgreSQL used static linking on AIX and it was not necessary to find the shared library. Yours, Laurenz Albe ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq