diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-10-09 16:21:54 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-10-09 16:21:54 +0000 |
commit | 33a6b67b517e55908fa8ad96d5e8a3aaac5c751d (patch) | |
tree | 95bea3a9ac837afb7a9247aa98a94a10bcb0c490 /src/Makefile.shlib | |
parent | ba8e20a6dd1de393e2eeab9e6cb70edd8115ca61 (diff) | |
download | postgresql-33a6b67b517e55908fa8ad96d5e8a3aaac5c751d.tar.gz |
> > > > and mb conversions (pg_ascii2mic and pg_mic2ascii not
> > > > found in the postmaster and not included from elsewhere)
> >
> > shared libs on AIX need to be able to resolve all symbols at linkage time.
> > Those two symbols are in backend/utils/SUBSYS.o but not in the postgres
> > executable.
>
> They are defined in backend/utils/mb/conv.c and declared in
> include/mb/pg_wchar.h. They're also linked into the
> postmaster. I don't see anything unusual.
Attached is a patch to fix the mb linking problems on AIX. As a nice side effect
it reduces the duplicate symbol warnings to linking libpq.so and libecpg.so
(all shlibs that are not postmaster loadable modules).
Please apply to current (only affects AIX).
The _LARGE_FILES problem is unfortunately still open, unless Peter
has fixed it per his recent idea.
Zeugswetter Andreas SB SD
Diffstat (limited to 'src/Makefile.shlib')
-rw-r--r-- | src/Makefile.shlib | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index bf746a4633..eaf341855f 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -6,7 +6,7 @@ # Copyright (c) 1998, Regents of the University of California # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.64 2002/09/05 18:28:46 petere Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.65 2002/10/09 16:21:54 momjian Exp $ # #------------------------------------------------------------------------- @@ -77,7 +77,7 @@ soname = lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION) ifeq ($(PORTNAME), aix) shlib := lib$(NAME)$(DLSUFFIX) - SHLIB_LINK += -lc +# SHLIB_LINK += -lc endif ifeq ($(PORTNAME), darwin) @@ -267,8 +267,8 @@ else # PORTNAME == aix # AIX case $(shlib): lib$(NAME).a $(MKLDEXPORT) lib$(NAME).a > lib$(NAME)$(EXPSUFF) - $(COMPILER) -Wl,-H512 -Wl,-bM:SRE -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP) -Wl,-bE:lib$(NAME)$(EXPSUFF) -o $@ $< $(LDFLAGS) $(SHLIB_LINK) $(LDFLAGS_SL) -Wl,-bnoentry - + $(COMPILER) $(LDFLAGS_SL) -o $@ $< $(LDFLAGS) $(SHLIB_LINK) -Wl,-bI:$(top_builddir)/src/backend/$(POSTGRES_IMP) -Wl,-bE:lib$(NAME)$(EXPSUFF) + endif # PORTNAME == aix else # PORTNAME == win |