Hi, there,
I got a problem when I install postgres6.5 on my Linux 2.0.35:
gcc -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o
commands/SUB
SYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o
parser/SUBSYS.
o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o
regex/SUBS
YS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o
../utils/ver
sion.o -lm -lbsd -lreadline -ltermcap -lncurses -export-dynamic
utils/SUBSYS.o: In function `handle_load':
utils/SUBSYS.o(.text+0x27dc2): undefined reference to `dlopen'
utils/SUBSYS.o(.text+0x27dd6): undefined reference to `dlerror'
utils/SUBSYS.o(.text+0x27e30): undefined reference to `dlsym'
utils/SUBSYS.o: In function `load_file':
utils/SUBSYS.o(.text+0x27ecc): undefined reference to `dlclose'
utils/SUBSYS.o(.text+0x27f2b): undefined reference to `dlclose'
make[1]: *** [postgres] Error 1
make[1]: Leaving directory
`/home/midl/midl/packages/postgresql-6.5/src/backend'
make: *** [all] Error 2
I know it is the libdl's problem. I read the FAQ wrote by Andrew Martin, and
did it follow the instruction:
cd/lib
ln -sf libdl.so.1.7.14 libdl.so.1
ln -sf libdl.so.1 libdl.so
ldconfig
But I can't install it yet. I even ldconfig the /usr/lib. So, what's wrong
with it? Any suggestion?
Sincerely Yours
XiaopengZhang