Re: BUG #5401: make: *** [pg_rman] Error 1

Lists: Postg토토 커뮤니티SQL : Postg토토 커뮤니티SQL 메일 링리스트 : 2010-04-01 이후 PGSQL-BUGS 11:38
From: "Jyothi" <Jyothihn07(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5401: make: *** [pg_rman] Error 1
Date: 2010-04-01 11:32:59
Message-ID: 201004011132.o31BWxxY058906@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5401
Logged by: Jyothi
Email address: Jyothihn07(at)gmail(dot)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(at)localhost pg_rman]#


From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Jyothi <Jyothihn07(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5401: make: *** [pg_rman] Error 1
Date: 2010-04-01 11:38:47
Message-ID: 1270121927.2227.30.camel@hp-laptop2.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 커뮤니티SQL : Postg토토 커뮤니티SQL 메일 링리스트 : 2010-04-01 이후 PGSQL-BUGS 11:38

On Thu, 2010-04-01 at 11:32 +0000, Jyothi wrote:
> Operating system: fedora12
> Description: make: *** [pg_rman] Error 1
<snip>
> /usr/bin/ld: cannot find -lxml2

You will need to install libxml2-devel , I think.
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz