I think this is due to an incompatibility between your systemwide
readline and the one included in sage. You might try
cd SAGE_ROOT
rm local/lib/*readline*
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org
That'll work as a workaround.
>>
>> [...]
>> bash: symbol lookup error: bash: undefined symbol:
>> rl_filename_rewrite_hook
http://trac.sagemath.org/sage_trac/ticket/9530
This might also be solved by upgrading readline - but as I mentioned in
the above trac, this problem will always resurface sooner or later as
long as sage puts its own readline version into the search path and is
not _always_ at the very latest version.
This now only affects Arch Linux and openSuSE, because all/most other
distros are outdated enough to still use readline 5, which will not
conflict in any way with readline 6 due to different library SONAMEs.
Thanks Thomas: the only reason I knew about this problem was because
you tracked it down, explained it to me, etc.
thanks!
>
>>>
>>> [...]
>>> bash: symbol lookup error: bash: undefined symbol:
>>> rl_filename_rewrite_hook
>
> http://trac.sagemath.org/sage_trac/ticket/9530
>
> This might also be solved by upgrading readline - but as I mentioned in
> the above trac, this problem will always resurface sooner or later as
> long as sage puts its own readline version into the search path and is
> not _always_ at the very latest version.
>
> This now only affects Arch Linux and openSuSE, because all/most other
> distros are outdated enough to still use readline 5, which will not
> conflict in any way with readline 6 due to different library SONAMEs.
>
>
--
William Stein
Sage could easily keep the latest readline. I don't think its a
package which get updated a lot.
6.1 came out 1st Jan this year.
6.0 came out 20th Feb 2009 - almost a year earlier
5.2 (which was the the last of the 5.x series) came out in 2006.
So ony two updated in 4 years.
Dave
Dave
Try copying the following to the directory sage-4.5.1/spkg/standard
http://boxen.math.washington.edu/home/kirkby/patches/readline-6.1.spkg
It is the latest readline. I removed all the Sage patches, and anything else. I
have not checked it on any Linux system, OS X system. All I did was a very quick
check on an OpenSolaris system. It seems to build ok.
Give it a try
Dave
William
2010/7/24 Jae <jae0you...@gmail.com>:
> For more options, visit this group at http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>
--
William Stein
Glad you got it fixed. It would be interesting to know if Sage could
avoid these OpenSUSE issues by just shipping the latest readline.
Unfortunately, we don't know here if installing the later readline
from Sage, or installing the development libraries from OpenSUSE fixed
the problem. But at least it is working for you.
Dave