Re: PQsetdb - Mailing list pgsql-general

From Mohsen Pahlevanzadeh
Subject Re: PQsetdb
Date
Msg-id 33067.81.91.153.7.1109194636.squirrel@81.91.153.7
Whole thread Raw
In response to Re: PQsetdb  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Responses Re: PQsetdb
List 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@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
>>
>


pgsql-general by date:

Previous
From: "Guy Rouillier"
Date:
Subject: Re: PQsetdb
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: stats collector appears to be dying