pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedWhich library has these symbols?
2+ messages / 2 participants
[nested] [flat]
* Which library has these symbols?
@ 2005-05-24 23:55 Mohan, Ross <RMohan@arbinet.com>
2005-05-25 02:52 ` Re: Which library has these symbols? Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Mohan, Ross @ 2005-05-24 23:55 UTC (permalink / raw)
To: pgsql-admin
So Close, Yet So Far!
Compiling PostgreSQL 8.0.2 on AIX5.3 under xlc7.00 and gnumake3.80:
xlc -O5 -q64 -L../../src/port access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o ../../src/timezone/SUBSYS.o -Wl,-bE:../../src/backend/postgres.imp -lpgport_srv -lcygipc -lunix -lresolv -lPW -lgen -lBSD -lcompat -lld -ldld -llc -lIPC -lipc -lsocket -lnsl -ldl -lm -o postgres
1586-404 (E) Archive library file "libcygipc.a" not found.
1586-404 (E) Archive library file "libunix.a" not found.
1586-404 (E) Archive library file "libresolv.a" not found.
1586-404 (E) Archive library file "libgen.a" not found.
1586-404 (E) Archive library file "libBSD.a" not found.
1586-404 (E) Archive library file "libcompat.a" not found.
1586-404 (E) Archive library file "libdld.a" not found.
1586-404 (E) Archive library file "liblc.a" not found.
1586-404 (E) Archive library file "libIPC.a" not found.
1586-404 (E) Archive library file "libipc.a" not found.
1586-404 (E) Archive library file "libsocket.a" not found.
ld: 0711-317 ERROR: Undefined symbol: .set_pglocale_pgservice
ld: 0711-317 ERROR: Undefined symbol: .pg_usleep
ld: 0711-317 ERROR: Undefined symbol: .pg_strcasecmp
ld: 0711-317 ERROR: Undefined symbol: .pg_set_noblock
ld: 0711-317 ERROR: Undefined symbol: .get_progname
ld: 0711-317 ERROR: Undefined symbol: .find_my_exec
ld: 0711-317 ERROR: Undefined symbol: .get_pkglib_path
ld: 0711-317 ERROR: Undefined symbol: .pg_strncasecmp
ld: 0711-317 ERROR: Undefined symbol: .get_share_path
ld: 0711-317 ERROR: Undefined symbol: .pg_tolower
ld: 0711-317 ERROR: Undefined symbol: .make_native_path
ld: 0711-317 ERROR: Undefined symbol: .canonicalize_path
ld: 0711-317 ERROR: Undefined symbol: .first_dir_separator
ld: 0711-317 ERROR: Undefined symbol: .first_path_separator
ld: 0711-317 ERROR: Undefined symbol: .get_parent_directory
ld: 0711-317 ERROR: Undefined symbol: .join_path_components
ld: 0711-317 ERROR: Undefined symbol: .rmtree
ld: 0711-317 ERROR: Undefined symbol: .pg_toupper
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
1586-347 (S) An error occurred during linking of the object produced by the IPA Link step. The link return code was 8.
make[2]: *** [postgres] Error 1
make[2]: Leaving directory `/home/app/postgresql-8.0.2/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/app/postgresql-8.0.2/src'
make: *** [all] Error 2
My flags are:
CFLAGS=' -O5 -q64 '
LDFLAGS=' -Xlinker -lpgport -Xlinker -lpgtypes -Xlinker -lpgport_srv '
I see some, but not all of these in ./src/port/libpgport.a. Anyways, it's
ignoring the loader flags anyways. Sorry for crosspost, but am a bit
desperate here.
Any ideas?
- Ross
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Which library has these symbols?
2005-05-24 23:55 Which library has these symbols? Mohan, Ross <RMohan@arbinet.com>
@ 2005-05-25 02:52 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2005-05-25 02:52 UTC (permalink / raw)
To: Mohan, Ross <RMohan@arbinet.com>; +Cc: pgsql-ports@postgresql.org
"Mohan, Ross" <RMohan@arbinet.com> writes:
> So Close, Yet So Far!
The specific symbols being complained of should be in libpgport_srv (see
src/port). Dunno why your platform is ignoring that library. When you
find out, let us know ;-)
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-05-25 02:52 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-05-24 23:55 Which library has these symbols? Mohan, Ross <RMohan@arbinet.com>
2005-05-25 02:52 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox