Re: PQsetdb - Mailing list pgsql-general

From Guy Rouillier
Subject Re: PQsetdb
Date
Msg-id CC1CF380F4D70844B01D45982E671B2348E639@mtxexch01.add0.masergy.com
Whole thread Raw
In response to PQsetdb  ("Mohsen Pahlevanzadeh" <mohsen@pahlevanzadeh.org>)
List pgsql-general
Mohsen Pahlevanzadeh wrote:
> My program is using both MySQL & PostgreSQL.I don't have problem with
> Mysql.  But i have problem with pgsql.

I think Richard's point is that you are not linking in any PostgreSQL
libs.


>> 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
>>> g++ -o
>>                   ^^^^^   ^^^^^^^^^^^
>> Those aren't going to help, are they?
>>
>> --
>>    Richard Huxton
>>    Archonet Ltd
>>

--
Guy Rouillier


pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: PQsetdb
Next
From: "Mohsen Pahlevanzadeh"
Date:
Subject: Re: PQsetdb