Re: PQsetdb

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

If you see my orginal email,I mentioned to link to inc & lib for
pgsql.Even when i use PQsetdb,I didn't recieve error message for using
PQsetdb.
Yours,Mohsen
>
> 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:27:09 from Stephan Szabo

Responses

  • Re: PQsetdb at 2005-02-23 22:01:37 from Stephan Szabo

Browse pgsql-general by date

  From Date Subject
Next Message Matthew T. O'Connor 2005-02-23 21:47:08 Re: stats collector appears to be dying
Previous Message Guy Rouillier 2005-02-23 21:31:48 Re: PQsetdb