pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feederror while loading shared libraries: libpq++.so.4
4+ messages / 4 participants
[nested] [flat]
* error while loading shared libraries: libpq++.so.4
@ 2002-06-25 21:09 Mark Tessier <mt@open2web.com>
0 siblings, 1 reply; 4+ messages in thread
From: Mark Tessier @ 2002-06-25 21:09 UTC (permalink / raw)
To: pgsql-admin
I get a "Method Not Allowed" when posting to a c++ script from an html page. After much tweaking, I finally did a ./login.cgi and got the following:
./login.cgi: error while loading shared libraries: libpq++.so.4: cannot load shared object file: No such file or directory
To remedy the problem, I went into /etc/profile and added the following:
LD_LIBRARY_PATH=/usr/local/psql/lib
This didn't work either, so does anyone have any idea how I can get my libraries to work
--
Thanks,
Mark
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: error while loading shared libraries: libpq++.so.4
@ 2002-06-26 16:48 Cliff Wells <logiplexsoftware@earthlink.net>
parent: Mark Tessier <mt@open2web.com>
0 siblings, 0 replies; 4+ messages in thread
From: Cliff Wells @ 2002-06-26 16:48 UTC (permalink / raw)
To: Mark Tessier <mt@open2web.com>; +Cc: pgsql-admin
On Tue, 25 Jun 2002 17:09:53 -0400
Mark Tessier wrote:
> I get a "Method Not Allowed" when posting to a c++ script from an html page.
After much tweaking, I finally did a ./login.cgi and got the following:
>
> ./login.cgi: error while loading shared libraries: libpq++.so.4: cannot load
shared object file: No such file or directory
>
> To remedy the problem, I went into /etc/profile and added the following:
>
> LD_LIBRARY_PATH=/usr/local/psql/lib
>
> This didn't work either, so does anyone have any idea how I can get my
libraries to work
Since you're on Linux, try editing /etc/ld.so.conf and adding the appropriate
path and then run ldconfig (as root).
--
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308 (800) 735-0555 x308
^ permalink raw reply [nested|flat] 4+ messages in thread
* error while loading shared libraries: libpq.so.3
@ 2003-08-01 11:54 Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>
0 siblings, 1 reply; 4+ messages in thread
From: Elielson Fontanezi @ 2003-08-01 11:54 UTC (permalink / raw)
To: pgsql-general <pgsql-general@postgresql.org>; pgsql-admin
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 directory
createdb: database creation failed
postgres$
postgres$ uname -a
Linux PgServer.prodam 2.4.18-14 #1 Wed Sep 4 11:57:57 EDT 2002 i586 i586
i386 GNU/Linux
thanks a lot!
>\\\!/< 55 11 5080 9283
!_"""_! Elielson Fontanezi
(O) (o) PRODAM - Technical Support
Analyst
-------------------------------oOOO--(_)--OOOo------------------------------
-----
Success usually comes to those who are too busy to be looking for it.
oooo0 0oooo
---------------------------( )----------(
)--------------------------------
\ ( ) /
\_/ \_/
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: [GENERAL] error while loading shared libraries: libpq.so.3
@ 2003-08-01 13:31 Richard Huxton <dev@archonet.com>
parent: Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>
0 siblings, 0 replies; 4+ messages in thread
From: Richard Huxton @ 2003-08-01 13:31 UTC (permalink / raw)
To: Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>; pgsql-general <pgsql-general@postgresql.org>; pgsql-admin
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 directory
> createdb: database creation failed
> postgres$
> postgres$ uname -a
> Linux PgServer.prodam 2.4.18-14 #1 Wed Sep 4 11:57:57 EDT 2002 i586 i586
> i386 GNU/Linux
You probably need to add your library folder to /etc/ld.so.conf and then run
ldconfig.
Alternatively, you could symlink from /usr/local/lib to the library and do the
same for the binaries - that would mean you could skip the leading path when
running psql.
You can find the correct directory with:
find /usr/local -name 'libpg.so.3'
There should be something on this in the installation instructions. In any
case, googling for "ldconfig" should find you some help.
--
Richard Huxton
Archonet Ltd
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-08-01 13:31 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-06-25 21:09 error while loading shared libraries: libpq++.so.4 Mark Tessier <mt@open2web.com>
2002-06-26 16:48 ` Cliff Wells <logiplexsoftware@earthlink.net>
2003-08-01 11:54 error while loading shared libraries: libpq.so.3 Elielson Fontanezi <ElielsonF@prodam.sp.gov.br>
2003-08-01 13:31 ` Re: [GENERAL] error while loading shared libraries: libpq.so.3 Richard Huxton <dev@archonet.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox