beta4 - cygwin:
dllwrap -o tsearch2.dll --dllname tsearch2.dll --def tsearch2.def
dict_ex.o dict.o snmap.o stopword.o common.o prs_dcfg.o dict_snowball.o
dict_ispell.o dict_syn.o wparser.o wparser_def.o ts_cfg.o tsvector.o
rewrite.o crc32.o query.o gistidx.o tsvector_op.o rank.o ts_stat.o
snowball/SUBSYS.o ispell/SUBSYS.o wordparser/SUBSYS.o -L../../src/port
-L/usr/local/lib -lm -L../../src/backend -lpostgres -lpgport
../../src/port/libpgport.a(path.o)(.text+0x6b7):path.c: undefined
reference to `_libintl_bindtextdomain'
../../src/port/libpgport.a(path.o)(.text+0x6bf):path.c: undefined
reference to `_libintl_textdomain'
../../src/port/libpgport.a(exec.o)(.text+0x5df):exec.c: undefined
reference to `_libintl_gettext'
../../src/port/libpgport.a(exec.o)(.text+0x60c):exec.c: undefined
reference to `_libintl_gettext'
../../src/port/libpgport.a(exec.o)(.text+0x625):exec.c: undefined
reference to `_libintl_gettext'
make -p:
# Makefile (from `../../src/Makefile.shlib', line 237)
SHLIB_LINK := -L../../src/port -L/usr/local/lib -lm -L../../src/backend
-lpostgres -lpgport
culprit:
SHLIB_LINK := $(filter -L%, $(LDFLAGS)) $(SHLIB_LINK)
SHLIB_LINK misses $(LIBS)
my solution:
--- postgresql-8.0.0beta4/src/Makefile.shlib.orig 2004-10-16
04:26:43.000000000 +0100
+++ postgresql-8.0.0beta4/src/Makefile.shlib 2004-10-27
13:21:19.184875000 +0100
@@ -219,7 +219,7 @@
ifeq ($(PORTNAME), cygwin)
shlib = $(NAME)$(DLSUFFIX)
# needed for /contrib modules, not sure why
- SHLIB_LINK += -lpgport
+ SHLIB_LINK += $(LIBS)
endif
ifeq ($(PORTNAME), win32)
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/