Обсуждение: Apache 1.3.19 could not load libpq.so of PostgreSQL 7.2.1

Поиск
Список
Период
Сортировка

Apache 1.3.19 could not load libpq.so of PostgreSQL 7.2.1

От
"Tomoyuki Niijima"
Дата:
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