Apache 1.3.19 could not load libpq.so of PostgreSQL 7.2.1 - Mailing list pgsql-bugs

From Tomoyuki Niijima
Subject Apache 1.3.19 could not load libpq.so of PostgreSQL 7.2.1
Date
Msg-id OF7B8FAF67.48701C9D-ON49256BDA.003FE3F5@LocalDomain
Whole thread Raw
List pgsql-bugs
Hi,

I build Apache 1.3.19, PostgreSQL 7.2.1 and PHP 4.0.6 on AIX 4.3.3 and AIX
5.0 with shared library support, using Visualage C for AIX 5.0 compiler. I
encountered the problem that Apache 1.3.19 could not load libpq.so on both
AIX 4.3.3 and AIX 5.0.  I found that adding -bnoentry at the end of line
323 of ./src/Makefile.shlib shown as the following will resolve this
problem.

        $(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) -bnoentry

PoorTom

pgsql-bugs by date:

Previous
From: Karel Zak
Date:
Subject: Re: to_date bug
Next
From: Lee Kindness
Date:
Subject: ECPG: CREATE TABLE ... FOREIGN KEY(col) REFERENCES table(col)