From: | Reini Urban <rurban(at)x-ray(dot)at> |
---|---|
To: | pgsql-patches <pgsql-patches(at)postgresql(dot)org> |
Cc: | pgsql-cygwin(at)postgresql(dot)org |
Subject: | contrib/tsearch2 missing LIBS |
Date: | 2004-10-27 12:30:26 |
Message-ID: | 417F94E2.9030201@x-ray.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin pgsql-patches |
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/
From | Date | Subject | |
---|---|---|---|
Next Message | Reini Urban | 2004-10-27 14:44:07 | src/timezone/pgtz __imp__my_exec_path |
Previous Message | Jason Tishler | 2004-10-27 12:05:10 | Re: Postgresql |
From | Date | Subject | |
---|---|---|---|
Next Message | Karel Zak | 2004-10-27 12:59:55 | Re: 8.0-NLS: czech |
Previous Message | Karel Zak | 2004-10-27 11:59:38 | sign parsing (was: Re: [HACKERS] to_char/to_number loses sign) |