BUG #5401: make: *** [pg_rman] Error 1 - Mailing list pgsql-bugs

From Jyothi
Subject BUG #5401: make: *** [pg_rman] Error 1
Date
Msg-id 201004011132.o31BWxxY058906@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5401: make: *** [pg_rman] Error 1
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5401
Logged by:          Jyothi
Email address:      Jyothihn07@gmail.com
PostgreSQL version: 8.4
Operating system:   fedora12
Description:        make: *** [pg_rman] Error 1
Details:

When i m trying to install pg_rman on fedora platform i m getting an error
like make: *** [pg_rman] Erro
Preivous  Are listed Below
1)pg_config not found
ans:i set the path using path command
After I ran a command like :$ make USE_PGXS=1 i
i m getting an error like
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
backup.o catalog.o data.o delete.o dir.o init.o parray.o pg_rman.o restore.o
show.o util.o validate.o xlog.o pgsql_src/pg_ctl.o pgsql_src/pg_crc.o
pgut/pgut.o pgut/pgut-port.o -L/opt/PostgreSQL/8.4/lib -lpgport
-L/opt/PostgreSQL/8.4/lib -lpq -L/opt/PostgreSQL/8.4/lib -L/usr/local/lib
-Wl,-rpath,'/opt/PostgreSQL/8.4/lib' -lpgport -lxml2 -lpam -lssl -lcrypto
-lkrb5 -lz -lreadline -ltermcap -lcrypt -ldl -lm  -o pg_rman
/usr/bin/ld: cannot find -lxml2
collect2: ld returned 1 exit status
make: *** [pg_rman] Error 1
[root@localhost pg_rman]#

pgsql-bugs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Syslogger tries to write to /dev/null on Windows
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: BUG #5401: make: *** [pg_rman] Error 1