Hi Andy,
I have no idea if it's Sparc specific. I usually do
Java development and last time I did large c/c++ build on unix platform was a
long time ago, so my skills in this area are a little bit
rusty.
Stella.
From: Andy Shellam [mailto:andy.shellam@xxxxxxxxxxxxxxxxx] Sent: Tuesday, May 30, 2006 10:45 AM To: Averbukh Stella Cc: pgsql-admin@xxxxxxxxxxxxxx Subject: RE: [ADMIN] Problem building initdb on sparc10 Hmm, I did the same on
my system (Redhat Fedora 3) and only got the following required
libraries:
linux-gate.so.1 => (0xb7ff3000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7fa2000)
libresolv.so.2 => /lib/libresolv.so.2
(0xb7f8e000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7f78000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e4d000)
/lib/ld-linux.so.2 (0x00308000) What’s the libgcc_s
library for? Is it something that’s
SPARC-specific? From: Averbukh
Stella [mailto:Stella.Averbukh@xxxxxxxxxxxx] Andy, thank you very much for the
idea. I tried what you suggested even
though -lgcc flag is usually used with -nostdlib and -nodefaultlibs flags, which I do not
use. In any case it didn't help.
thahks
again. Stella
Averbukh From:
Should you need to add
–lgcc to the linker path? (e.g. –L/usr/lib –lgcc) or
–lgcc_s? I had a similar thing
with readline. Just a guess! Andy From:
pgsql-admin-owner@xxxxxxxxxxxxxx [mailto:pgsql-admin-owner@xxxxxxxxxxxxxx]
On Behalf Of Averbukh
Stella Hello, I'm
building postgresQL on Sparc10 and the build goes fine unil initdb.
/usr/local/bin/gcc -O2
-Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels
-fno-strict-aliasing initdb.o -L../../../src/port -lpgport
-L../../../src/interfaces/libpq -lpq -L../../../src/port -Wl,-R/postgres/lib
-L/lib -L/usr/lib -L/usr/local/lib -L/usr/local/ssl/lib
-L/platform/SUNW,Ultra-60/lib -L/usr/sfw/lib/sparcv9 -L/usr/sfw/lib/
-L/usr/local/lib/sparcv9 -lpgport -lz -lrt -lresolv -lgen -lsocket -lnsl -ldl
-lm -o initdb I
ran ldd on libpq.so ldd
interfaces/libpq/libpq.so Did
anybody see this error before and can suggest me a way to fix it?
Thank you all.
Stella
Averbukh
______________________________________________________________________ This e-mail has been scanned by Arbitron's Email Content Service. ______________________________________________________________________ |