On 13 Dez., 13:05, Koen van de Sande <koenvandesa...@gmail.com> wrote:
> I think I know what the problem is - I tried it on OpenSUSE 11.1.
> There, the system readline is a version 5 - not a version .6
> The special casing in the spkg-install is causing problems for
> OpenSUSE 11.0/11.1: it should not be used at all there. When I remove
> it from the spkg-install, sage compiles on 11.1. Apparently, it is
> only needed for OpenSUSE 11.2 (and probably also 11.3)?
> Below some of the details for 11.1/11.2

A work-around is to set RPATH (or RUNPATH) of /bin/bash (with
chrpath).

It's IMHO a pretty bad design decision to potentially let bash fail in
such trivial cases, i.e. an "unsane" LD_LIBRARY_PATH setting.


-Leif


> ---
> cat /etc/SuSE-release
> openSUSE 11.1 (x86_64)
> VERSION = 11.1
>
> ldd /bin/bash
>         linux-vdso.so.1 =>  (0x00007fff5ffe9000)
>         libreadline.so.5 => /lib64/libreadline.so.5
> (0x00007f0e58d92000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007f0e58b8e000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007f0e58835000)
>         libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f0e585ed000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f0e58fd4000)
> ---
> cat /etc/SuSE-release
> openSUSE 11.2 (x86_64)
> VERSION = 11.2
> ldd /bin/bash
>         linux-vdso.so.1 =>  (0x00007fff3ac67000)
>         libreadline.so.6 => /lib64/libreadline.so.6
> (0x00007f51d91c2000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007f51d8fbe000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007f51d8c63000)
>         libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f51d8a1c000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f51d9407000)
>
> Koen
>
> On Dec 6, 2:55 pm, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
>
> > On 2010-12-06 12:13, Matthew Gwynne wrote:
>
> > > Hi,
>
> > > We are trying to build Sage on a 64-bit OpenSuse 11.0 machine and am
> > > getting the following error -
>
> > Can you try the development version of Sage 
> > athttp://sage.math.washington.edu/home/release/sage-4.6.1.alpha3/sage-4...
> > and report back on whether or not this install was successful?
>
> > Thanks,
> > Jeroen.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to