From: | Andreas Kretzer <andi(at)kretzer-berlin(dot)de> |
---|---|
To: | Postgres Interface List <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: libpq++ compiling errors... |
Date: | 2002-01-30 10:40:03 |
Message-ID: | 3C57CD83.8EAFA1E9@kretzer-berlin.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
isaac flemmin wrote:
> ...
> When I try to add -lpq to the link options I get libpq.so.2 not found.
> Is there a something special I need to do to add that? Here is the
> command's I have tried.
So have a look at where the libpq is installed and add that path to your
/etc/ld.so.conf and call 'ldconfig'. You should also check that you have
the libpq.so.2 beeing a symbolic link to the real library called 'libpq.so.2.xx'
where 'xx' is the real minor version number. There should also be symbolic
link called libpq.so pointing to your libpq.so.2!
Maybe you forgot to 'make install' all that stuff and have therefor all these
problems ???? Remember: There are some include files installed too.
Usually all this stuff goes to /usr/local/pgsql/lib and /usr/local/pgsql/include
respectively. So you should have an include-path for compilation pointing
to the mentioned include directory and the libpath added to /etc/ld.so.conf.
Hope this helps
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Larry Hess | 2002-01-30 20:33:28 | DAO VB ODBC "read only problems |
Previous Message | isaac flemmin | 2002-01-30 08:52:48 | Re: libpq++ compiling errors... |