LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2004, 11:16 AM   #1
wdpp
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
Question relocation error with postres & readline


I am new to both Linux and PostgreSQL. I am using SuSE 9.0 (against the advice of other Linux users I know) and have been trying to get Postgres to work. I have learned that working with Linux is a bit of a detective game, but I am getting frustrated with this mystery. When I type the command "createdb" I get the following error (I am not on that computer and so I will have to try and remember it--here goes):

"relocation error: readline.so.4: undefined symbol: BC"

or something to that effect.

I see that I am not alone in encountering this problem, but I am unclear as to what it means and how to fix it.
 
Old 04-07-2004, 06:05 PM   #2
wdpp
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Well after a little investigative work I come up with the great idea of compiling PostgreSQL 7.4.2 from source. When I got to their mirror I discovered a new binary specifically for SuSE. I have a new question:

Since the version of Postgres I loaded isn't working and a pgdump will probably not expunge it from my system. How can I be sure I've removed all of the old files? Is that even necessary?
 
Old 04-07-2004, 06:08 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Well, depends on how RPM handles that ... if it
will let you upgrade just go for it ... if that fails,
uninstall the old rpm and slap on the new one.



Cheers,
Tink
 
Old 04-08-2004, 12:39 PM   #4
wdpp
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Well I reloaded the precompiled binary version of PostgreSQL 7.4.2 using YaST and everything seem to work fine. YaST walks you through things pretty well, and I believe it deleted all conflicting files. However, I am still getting the same error.

linux:~> createdb mydata /usr/bin/psql: relocation error: /usr/local/lib/libreadline.so.4: undefined symbol: BC

I simply do not know how to tell postgres where to look for this library and how to fix this problem.
 
Old 04-08-2004, 04:49 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
It seems to find the library all right, just
doesn't find a value in it. Maybe you'll
have to ugrade readline?


Cheers,
Tink
 
Old 04-08-2004, 05:12 PM   #6
wdpp
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I'll give it a try. I am pretty sure I loaded the latest available readline, but I'll check and try it again. Thanks for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
relocation error otchie1 Linux - Software 2 11-12-2004 09:18 PM
init relocation error & kernel panic Nico Linux - General 1 12-05-2003 06:54 PM
Relocation error? CPUguy387 Linux - Newbie 0 10-26-2003 07:28 AM
Relocation error???? LasseOlof Linux - Software 2 07-17-2003 01:17 AM
relocation error: xxxxx: undefined error: Johng Linux - Software 2 10-28-2002 02:39 AM


All times are GMT -5. The time now is 09:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration