PSQL [英] psql

查看:79
本文介绍了PSQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



您好:


我安装了postgreSQL 7.4.1,但我无法启动psql(我能够

几个星期前启动psql ...)

我收到此消息:

debian-ojea:/ home / carlos#psql buques_db

/ usr / lib / postgresql / bin / psql:重定位错误:

/usr/local/lib/libreadline.so.4:未定义符号:BC

任何人都知道发生了什么事吗?

谢谢你,

Carlos

----------- ----------------(广播结束)---------------------------

提示3:如果通过Usenet发布/阅读,请发送适当的

subscribe-nomail命令到 ma ******* @ postgresql.org 这样你的

消息就可以干净利落地到达邮件列表


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*******@postgresql.org so that your
message can get through to the mailing list cleanly

推荐答案

2004年6月22日星期二上午11:11,Carlos Ojea Castro写道:
On Tuesday 22 June 2004 11:11 am, Carlos Ojea Castro wrote:
我安装了postgreSQL 7.4.1,bu我不能启动psql(几周前我能够启动psql ...)
我收到这条消息:
debian-ojea:/ home / carlos#psql buques_db
/ usr / lib / postgresql / bin / psql:重定位错误:
/usr/local/lib/libreadline.so.4:未定义符号:BC
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




你可能已经预装了postgresql并且没有正确升级它吗?

或者,你可能安装了多个版本。


just拍摄一些可能性,

Vams


------------------------- - (广播结束)---------------------------

提示5:你检查了我们的广泛内容常见问题解答?

http:// www。 postgresql.org/docs/faqs/FAQ.html



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写道:
Vams wrote:
On 2004年6月22日星期二上午11:11,Carlos Ojea Castro写道:
On Tuesday 22 June 2004 11:11 am, Carlos Ojea Castro wrote:
我有postg安装了reSQL 7.4.1,但我无法启动psql(几周前我能够启动psql ...)
我收到此消息:
debian-ojea: / home / carlos #psql buques_db
/ usr / lib / postgresql / bin / psql:重定位错误:
/usr/local/lib/libreadline.so.4:未定义符号:BC
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



你可能已经预装了postgresql并且升级不正确吗?
或者,你可能安装了多个版本。

只是拍摄一些可能性,
Vams



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



我做了''apt-get install postgresql'',但它是一个旧版本,所以我

清除它然后我编译并从源代码安装7.4.1 ...


这是''dpkg -s postgresql''的输出:

debian-ojea:/ home / carlos #dpkg -s postgresql

包装:postgresql

状态:purge ok not-installed

优先级:可选

部分:misc


但安装了postgresql:

carlos @ d ebian-ojea:〜


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 /

日志:数据库系统关闭于2004-06-22 17:44:05 CEST

日志:检查点记录为0 / 289F6F78

LOG:重做记录为0 / 289F6F78; undo record为0/0;关闭TRUE

日志:下一个交易ID:735362;下一个OID:17869

日志:数据库系统准备就绪


那么,你知道我该怎么做才能解决这个问题吗?

谢谢,问候

Carlos

--------------------------- (广播结束)---------------------------

提示5:您查看了我们广泛的常见问题解答吗?

http://www.postgresql。 org / docs / faqs / FAQ.html

/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


这篇关于PSQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆