From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | 苏睿 <ssurui(at)mailst(dot)xjtu(dot)edu(dot)cn> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Error happen when Compile C program |
Date: | 2008-01-19 09:00:48 |
Message-ID: | 162867790801190100j4f227168u2590209e16b7cac1@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
hello
you need install libpq library - it's client library for postgresql
Regards
Pavel Stehule
On 19/01/2008, 苏睿 <ssurui(at)mailst(dot)xjtu(dot)edu(dot)cn> wrote:
> [root(at)DA primary_db_la]# make clean;make
> rm --force run_db
> rm --force *.bak
> rm --force *.orig
> gcc -L /usr/lib -lpq -o run_db \
> primary_db_main.o primary_db_start.o primary_db_init.o
> business_data_analysis.o \
> shmsem.o primary_db_monitor_process.o primary_db_sync.o
> primary_db_watch_dog.o \
> primary_db_comm_proxy.o primary_db_comm_database.o primary_db_heart_beat.o
> \
> check.o ctl_channel.o longlink.o config.o parse_pkt_common.o \
> parse_pkt_common_header.o primary_db_record.o primary_db_view.o \
> multi_recvsend.o primary_db_cas.o
> /usr/bin/ld: cannot find -lpq
> collect2: ld
>
> how can i make the program? please help.
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
From | Date | Subject | |
---|---|---|---|
Next Message | Marti Raudsepp | 2008-01-19 21:59:16 | BUG #3888: postmaster: misleading error message for illegal -B values |
Previous Message | John Cota | 2008-01-19 08:27:42 | BUG #3887: pgAdmin hang when click on database |