From: | "Rocco Altier" <RoccoA(at)Routescape(dot)com> |
---|---|
To: | "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>, "Tom Lane *EXTERN*" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries ) |
Date: | 2006-09-15 14:44:32 |
Message-ID: | 6E0907A94904D94B99D7F387E08C4F57016D1D33@FALCON.INSIGHT |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> I suspect that up to now the buildfarm had a static build of
> PostgreSQL. What is the output of 'ldd initdb' when it builds
> and runs correctly?
>
> Is libpq.so in a non-standard directory? If yes, one either
> has to export LIBPATH in the environment or link with
> -L/location/of/libpq for the executable to find it
> (similar to RPATH in Linux).
>
Here is the working one:
initdb needs:
/usr/lib/libc.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr.o)
Here is the broken one:
initdb needs:
../../../src/interfaces/libpq/libpq.so
/usr/lib/libc.a(shr.o)
/usr/lib/librtl.a(shr.o)
/unix
/usr/lib/libcrypt.a(shr.o)
When run it shows:
exec(): 0509-036 Cannot load program initdb because of the following
errors:
0509-150 Dependent module libpq.so could not be loaded.
0509-022 Cannot load module libpq.so.
0509-026 System error: A file or directory in the path name does
not exist.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-09-15 14:56:58 | Re: [HACKERS] plpgsql, return can contains any expression |
Previous Message | Tom Lane | 2006-09-15 14:42:18 | Re: Release notes |