Re: PQsetdb

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Mohsen Pahlevanzadeh <mohsen(at)pahlevanzadeh(dot)org>
Cc: Richard Huxton <dev(at)archonet(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: PQsetdb
Date: 2005-02-23 21:27:09
Message-ID: 20050223132609.L72617@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Wed, 23 Feb 2005, Mohsen Pahlevanzadeh wrote:

> My program is using both MySQL & PostgreSQL.I don't have problem with
> Mysql.But i have problem with pgsql.

That could be because you don't appear to be linking to the PostgreSQL
libraries (as Richard was hinting at).

> > Mohsen Pahlevanzadeh wrote:
> >> I recieve following error:
> >> [root(at)localhost sql2sql]# make
> >> g++ -c -I/usr/include/mysql -I/usr/include sql2sql.cpp;
> > ^^^^^^
> >> g++ -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -o
> > ^^^^^ ^^^^^^^^^^^
> > Those aren't going to help, are they?
> >
> > --
> > Richard Huxton
> > Archonet Ltd
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

  • Re: PQsetdb at 2005-02-23 21:03:05 from Mohsen Pahlevanzadeh

Responses

  • Re: PQsetdb at 2005-02-23 21:36:54 from Mohsen Pahlevanzadeh

Browse pgsql-general by date

  From Date Subject
Next Message Guy Rouillier 2005-02-23 21:31:48 Re: PQsetdb
Previous Message Shelby Cain 2005-02-23 21:24:59 stats collector appears to be dying