Hi
[...]
>
> I ran ldd on libpq.so ldd interfaces/libpq/libpq.so
> libresolv.so.2 => /lib/libresolv.so.2
> libsocket.so.1 => /lib/libsocket.so.1
> libnsl.so.1 => /lib/libnsl.so.1
> *libgcc_s.so.1 => (file not found)*
> libc.so.1 => /lib/libc.so.1
> libmp.so.2 => /lib/libmp.so.2
> libmd5.so.1 => /lib/libmd5.so.1
> libscf.so.1 => /lib/libscf.so.1
> libdoor.so.1 => /lib/libdoor.so.1
> libuutil.so.1 => /lib/libuutil.so.1
> libm.so.2 => /lib/libm.so.2
> /platform/SUNW,Ultra-60/lib/libc_psr.so.1
> /platform/SUNW,Ultra-60/lib/libmd5_psr.so.1
> If you notice libgcc_s.so.1 was not found. But I found it using find
> (see bellow)
>
> # find / -name "libgcc_s.so.1"
> /usr/sfw/lib/sparcv9/libgcc_s.so.1
> /usr/sfw/lib/libgcc_s.so.1
> /usr/local/lib/sparcv9/libgcc_s.so.1
> /usr/local/lib/libgcc_s.so.1
>
Did you tried with LD_LIBRARY_PATH pointing to /usr/sfw/lib or
/usr/local/lib? Normally, Solaris software ignore this variable, but
many software, linked against GNU libraries, do (GNU ld is using it too).
Sergiusz