[EMAIL PROTECTED] (Russell Smith) writes:
> On Mon, 21 Feb 2005 08:05 pm, Surabhi Ahuja wrote:
> > do you still experience problems when you run
> > LDLIBRARY=/usr/local/pgsql/lib ./sample
>
> Note there is no SPACE in the example I have given.
> LDLIBRARY=/usr/local...
>
> NOT
>
> LDLIBRARY =
while loading shared libraries: libpq.so.3
***
Your mail has been scanned by InterScan VirusWall.
***-***
On Mon, 21 Feb 2005 06:17 pm, Surabhi Ahuja wrote:
i have written a program sample.c
it is as folllows:
#include
#include
int main()
{
PGconn
On Mon, Feb 21, 2005 at 02:22:20PM +0530, Surabhi Ahuja wrote:
> I give the following command now to compile sample.c
> gcc -o sample sample.c -I/usr/local/pgsql/include -L/usr/local/pgsql/lib
> -rpath/usr/local/pgsql/lib - lpq
>
> it gives this message:
> gcc: unrecognized option `-rpath/usr/
yes ..it worked thank u.
To: Surabhi Ahuja
> Cc: pgsql-general@postgresql.org
> Subject: Re: [GENERAL] error while loading shared libraries: libpq.so.3
>
>
>
> ***
> Your mail has been scanned by InterScan VirusWall.
> ***-***
>
>
> On Mon, 21 Feb 2005 06:1
Title: Re: [GENERAL] error while loading shared libraries: libpq.so.3
it now says:
i do the following
make sample
LDLIBRARY = /usr/local/pgsql/lib ./sample
LDLIBRARY: Command not
found.
From: Russell Smith
[mailto:[EMAIL PROTECTED]Sent: Mon 2/21/2005 2:19 PMTo:
Surabhi Ahuja Cc
On Mon, 21 Feb 2005 06:17 pm, Surabhi Ahuja wrote:
> i have written a program sample.c
> it is as folllows:
> #include
> #include
> int main()
> {
> PGconn *myconnection = PQconnectdb("");
> printf("Hi");
> return 0;
> }
>
> I then compile this program using makefile
> mak
Title: Re: [GENERAL] error while loading shared libraries: libpq.so.3
I give the following command
now to compile sample.c
gcc -o sample sample.c
-I/usr/local/pgsql/include -L/usr/local/pgsql/lib -rpath/usr/local/pgsql/lib -
lpq
it gives this
message:gcc: unrecognized option `-rpath
On Mon, Feb 21, 2005 at 12:47:58PM +0530, Surabhi Ahuja wrote:
> cc -I/usr/local/pgsql/includesample.c -L/usr/local/pgsql/lib -lpq -o
> sample
> I then run itand it gives and error
> [indra:/homes/surabi] ./sample
> ./sample: error while loading shared libraries: libpq.so.3: cannot open
i have
written a program sample.cit is as folllows:
#include#include
int
main(){ PGconn *myconnection =
PQconnectdb("");
printf("Hi"); return
0;}
I then compile this program using
makefile
make samplecc
-I/usr/local/pgsql/include sample.c
-L/usr/local/pgsql/lib -l
On Friday 01 August 2003 12:54, Elielson Fontanezi wrote:
> Hi all!
>
> I would like some suggestion on how to solve that:
>
> postgres$ createdb postgres
> /usr/local/postgresql-7.3.4/bin/psql: error while loading shared libraries:
> libpq.so.3: cannot open shared object file: No such file or
Hi
all!
I would like some suggestion on how to solve that:
postgres$ createdb
postgres/usr/local/postgresql-7.3.4/bin/psql: error while loading shared
libraries: libpq.so.3: cannot open shared object file: No such file or
directorycreatedb: database creation failedpostgres$postgres$
12 matches
Mail list logo