I try to compile PostgreSQL after configuring with
./configure --with-java --enable-locale --enable-multibyte
and get the following error message during compile:
gmake[4]: Leaving directory
`/home/arauch/postgresql-7.1.1/src/interfaces/libpq'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations pg_encoding.o
-L../../../src/interfaces/libpq -lpq -Wl,-rpath,/usr/local/pgsql/lib
-lz -lcrypt -lresolv -lnsl -ldl -lm -lreadline -lncurses -o pg_encoding
pg_encoding.o: In function `main':
pg_encoding.o(.text+0x36): undefined reference to `pg_char_to_encoding'
pg_encoding.o(.text+0x7e): undefined reference to `pg_encoding_to_char'
collect2: ld returned 1 exit status
gmake[3]: *** [pg_encoding] Error 1
gmake[3]: Leaving directory
`/home/arauch/postgresql-7.1.1/src/bin/pg_encoding'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/arauch/postgresql-7.1.1/src/bin'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/arauch/postgresql-7.1.1/src'
gmake: *** [all] Error 2
Anyone got an idea what's going wrong here?
Regards
Armin Rauch