Yes, I did try to set LD_LIBRARY_PATH. This is what it has right now. # echo $LD_LIBRARY_PATH /usr/sfw/lib:/lib:/platform/SUNW,Ultra-60/lib:/usr/local/lib:/usr/lib Thanks. Stella Averbukh _________________________________ -----Original Message----- From: pgsql-admin-owner@xxxxxxxxxxxxxx [mailto:pgsql-admin-owner@xxxxxxxxxxxxxx] On Behalf Of Sergiusz Jarczyk Sent: Tuesday, May 30, 2006 10:18 AM To: pgsql-admin@xxxxxxxxxxxxxx Subject: Re: [ADMIN] Problem building initdb on sparc10 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 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org ______________________________________________________________________ This e-mail has been scanned by Arbitron's Email Content Service. ______________________________________________________________________