Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2768f39

Browse files
committed
There is a problem in the Makefile of libpgtcl on linux (and maybe also on
other platforms). If I do the standard make + make install the shared libraryis not linked with the the libpq library and when I try to load it in thestandard Tcl or Tk shell I get a lot of unresolved symbols. The bug doesn'taffect pgtclsh because it is linked also with libpq. The problem exists onlywhen using the dynamic load feature of Tcl7.5.From: Massimo Dal Zotto <dz@cs.unitn.it>
1 parent7d8b794 commit2768f39

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎src/interfaces/libpgtcl/Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.3 1996/10/30 06:18:36 scrappy Exp $
10+
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.4 1996/11/08 00:58:07 scrappy Exp $
1111
#
1212
#-------------------------------------------------------------------------
1313

@@ -29,6 +29,11 @@ ifdef KRBVERS
2929
CFLAGS+=$(KRBFLAGS)
3030
endif
3131

32+
ifdefLINUX_ELF
33+
CFLAGS += -fPIC
34+
CC += -L$(POSTGRESDIR)/lib -lpq
35+
endif
36+
3237
LIBSRCS= pgtcl.c pgtclCmds.c pgtclId.c
3338

3439
install-headers:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp