Hello:
I have postgreSQL 7.4.1 installed, but I can't start psql (I was able to
start psql a few weeks ago...)
I get this message:
debian-ojea:/home/carlos# psql buques_db
/usr/lib/postgresql/bin/psql: relocation error:
/usr/local/lib/libreadline.so. 4: undefined symbol: BC
Anyone knows what is happening?
Thank you,
Carlos
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postg resql.org so that your
message can get through to the mailing list cleanly 10 2184
On Tuesday 22 June 2004 11:11 am, Carlos Ojea Castro wrote: I have postgreSQL 7.4.1 installed, but I can't start psql (I was able to start psql a few weeks ago...) I get this message: debian-ojea:/home/carlos# psql buques_db /usr/lib/postgresql/bin/psql: relocation error: /usr/local/lib/libreadline.so. 4: undefined symbol: BC
You might already have postgresql preinstalled and have improperly upgrade it?
Or, you might have more than one version installed.
just shooting some possibilities,
Vams
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
Vams wrote: On Tuesday 22 June 2004 11:11 am, Carlos Ojea Castro wrote:
I have postgreSQL 7.4.1 installed, but I can't start psql (I was able to start psql a few weeks ago...) I get this message: debian-ojea:/home/carlos# psql buques_db /usr/lib/postgresql/bin/psql: relocation error: /usr/local/lib/libreadline.so. 4: undefined symbol: BC
You might already have postgresql preinstalled and have improperly upgrade it? Or, you might have more than one version installed.
just shooting some possibilities, Vams
I made 'apt-get install postgresql', but it was an old version, so I
purged it and then I compile and install 7.4.1 from source...
This is the output of 'dpkg -s postgresql':
debian-ojea:/home/carlos# dpkg -s postgresql
Package: postgresql
Status: purge ok not-installed
Priority: optional
Section: misc
But postgresql is installed:
carlos@debian-ojea:~$ /usr/local/pgsql/bin/postmaster -D
/home/carlos/programacion/compulab/buques/database/
LOG: database system was shut down at 2004-06-22 17:44:05 CEST
LOG: checkpoint record is at 0/289F6F78
LOG: redo record is at 0/289F6F78; undo record is at 0/0; shutdown TRUE
LOG: next transaction ID: 735362; next OID: 17869
LOG: database system is ready
So, do you know what can I do to correct the problem?
Thank you, regards
Carlos
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
Carlos Ojea Castro writes /usr/lib/postgresql/bin/psql: relocation error:
The location suggests it's the psql from the postgresql-client
debian package.
debian-ojea:/home/carlos# dpkg -s postgresql Package: postgresql Status: purge ok not-installed Priority: optional Section: misc
But postgresql is installed: carlos@debian-ojea:~$ /usr/local/pgsql/bin/postmaster -D
You probably need to purge the postgresql-client package
as well, so that your shell will find /usr/local/pgsql/bin/psql
which should be the one that you installed from source.
--
Daniel.
PostgreSQL-based mail storage and user agent: http://sourceforge.net/projects/manitou-mail
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
Daniel Verite wrote: You probably need to purge the postgresql-client package as well, so that your shell will find /usr/local/pgsql/bin/psql which should be the one that you installed from source.
I believe there is a "backports" repository with up-to-date versions you
can just apt-get though. Any Debianites like to go on the record as to
how to set that up?
--
Richard Huxton
Archonet Ltd
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
Carlos Ojea Castro <ca********@lev eltelecom.es> writes: I get this message: debian-ojea:/home/carlos# psql buques_db /usr/lib/postgresql/bin/psql: relocation error: /usr/local/lib/libreadline.so. 4: undefined symbol: BC
I made 'apt-get install postgresql', but it was an old version, so I purged it and then I compile and install 7.4.1 from source...
Did you upgrade readline since then? Because this sure looks like
readline's problem not ours.
The only thing I can think of is to rebuild Postgres and see if it works
better. (You might as well update to PG 7.4.3 while you're at it.)
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
Daniel Verite wrote: Carlos Ojea Castro writes /usr/lib/postgresql/bin/psql: relocation error:
The location suggests it's the psql from the postgresql-client debian package. debian-ojea:/home/carlos# dpkg -s postgresql Package: postgresql Status: purge ok not-installed Priority: optional Section: misc
But postgresql is installed: carlos@debi an-ojea:~$ /usr/local/pgsql/bin/postmaster -D
You probably need to purge the postgresql-client package as well, so that your shell will find /usr/local/pgsql/bin/psql which should be the one that you installed from source.
THAT WAS IT !!!
I made 'dpkg -r postgresql-client' and then I made another install from
source.... and it works !!
Thank you very much,
Carlos
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postg resql.org so that your
message can get through to the mailing list cleanly
Hello:
I am trying to access a postgresql database.
I made a SQLConnection object and I got it active.
Then I made a SQLQuery object, but when I try to make it active, i get a
'access violation' message.
Am I missing something?
Regards,
Carlos
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
On 29 Jun 2004 at 12:59, Carlos Ojea Castro wrote: I am trying to access a postgresql database. I made a SQLConnection object and I got it active. Then I made a SQLQuery object, but when I try to make it active, i get a 'access violation' message.
Probably a silly question, but have you got a dbExpress driver for
Postgres? The only one I know is the VitaVoom (commercial) one at www.vitavoom.com.
--Ray.
-------------------------------------------------------------
Raymond O'Donnell http://www.galwaycathedral.org/recitals ro*@iol.ie Galway Cathedral Recitals
-------------------------------------------------------------
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postg resql.org
Raymond O'Donnell wrote: On 29 Jun 2004 at 12:59, Carlos Ojea Castro wrote: I am trying to access a postgresql database. I made a SQLConnection object and I got it active. Then I made a SQLQuery object, but when I try to make it active, i get a 'access violation' message.
Probably a silly question, but have you got a dbExpress driver for Postgres? The only one I know is the VitaVoom (commercial) one at www.vitavoom.com.
I use a postgresql driver, and I think that works because SQLConnection
object is active (I also made queries a few weeks ago, but I don't know
why I get this error now).
Regards,
Carlos
--Ray.
------------------------------------------------------------- Raymond O'Donnell http://www.galwaycathedral.org/recitals ro*@iol.ie Galway Cathedral Recitals -------------------------------------------------------------
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Daniel Schuchardt |
last post by:
Hi @ all,
i'm sure there was a psql-function to transfere my Blob-Data to the
server but I can't remember.
I have a script like this :
UPDATE xy SET z = lo_import('localpath_and_file');
but i want to execute this script from the client and so my blob-data is
|
by: Phil Campaigne |
last post by:
Hi All,
I just installed postgresql 7.3.4 as an upgrade to 7.3.2 and all went
well untill I tried to log into a database that I successfully created.
Here are the steps in question:
bash-2.05b$ psql -h localhost -U postgres hardwoodthunder
Welcome to psql 7.3.2, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
|
by: Willem Herremans |
last post by:
I am developing a client application for postgreSQL in Tcl/Tk (see
http://gborg.postgresql.org/project/pfm ).
It mainly uses PgTcl or pgintcl. I don't have any problems with those,
but I am also trying to call psql from my application for SQL statements
typed directly by the user.
I have used the Tcl command
set psqlChannel
|
by: Brendan Jurd |
last post by:
Hello all,
I just wanted to pass on some information about compatibility between
the psql client and the postgres server.
On a particular network, my workstation and the server are both debian
boxes, but the workstation is on a more frequent upgrade schedule. The
server is still running postgres 7.3.4, but my workstation has been
upgraded with the latest (7.4.1) postgres client tools.
|
by: Dino Vliet |
last post by:
Hi folks,
probably this is a question you've heard so many times
but I wasn't able to find a solution to it.
I'm using a shell script to create a textfile for me.
It looks like
#!/usr/local/bin/bash
psql -c "select foo from bar;" -d database1 -t
psql -c "\q" -d database1
exit 0
| |
by: Josué Maldonado |
last post by:
Hello List,
I'm having this issue with beta 8.0
C:\pgsql\bin>pg_dump -U postgres farmacia > xfar.sql
Password:
C:\pgsql\bin>psql -U postgres farmacia2 < xfar.sql
Password:
psql: FATAL: Password authentication failed for user "postgres"
C:\pgsql\bin>psql -U postgres -W farmacia2 < xfar.sql
|
by: Russ Brown |
last post by:
Hello,
Today I tried connecting to my database locally via psql. I got the usual
welcome & basic help messages, but it never got to the prompt: it just
hung. So I checked top and the psql process was increasing in size at
quite a rate (up to a gig in under 30 seconds).
I'd been using psql with no problems only a couple of hours ago, and I
haven't installed anything for at least a couple of days that I can think
of.
|
by: John Sidney-Woollett |
last post by:
With the advent of postgres v8, would it be possible to change the
default behaviour of psql from AUTOCOMMIT=ON to AUTOCOMMIT=OFF ?
Although this might break backward compatibility, it might be acceptable
on the basis that v8 is such a major release.
Also adding a new command line parameter to control the AUTOCOMMIT
setting for those users that will experience broken scripts executed
(especially using the -c command) might help ease...
|
by: Patrick Hatcher |
last post by:
Just installed and started Pg8.0 beta 2
When I tried to connect via psql, I received an error message:
$ psql -Upostgres template1
psql: relocation error: psql: undefined symbol: PQsetErrorVerbosity
Can someone give me a clue what to do next?
Thank you
-Patrick
|
by: oksofar |
last post by:
Hello -
I'm running PG 8.1 on Windows XP.
I've installed the server to run as a service.
The psql command fails to connect to the server, although I can connect with other clients.
When I enter psql -d mydb -h localhost -U admin
I get the following response:
psql: could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" and accepting
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |