MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: glibc version problem


I also have Mathematica 5.2 on Ubuntu 6.10 and got the same error:

[: 215: ==: unexpected operator

I fixed it by editing the script that executes the kernel: math
I think that the default directory for this script is /usr/local/bin
but I'm not sure because I used a custom location.

I fixed it by editing the first line of math from

#!/bin/sh

to

#!/bin/bash

I'm no linux expert but I think that the reason this works is because
in Ubuntu /bin/sh points to dash by default but that you want to run
this startup script in bash

This does not fix sound output.


  • Prev by Date: Re: A pattern matching problem
  • Next by Date: do any of you publish any Mathematica news?
  • Previous by thread: Re: glibc version problem
  • Next by thread: how to plot a 2-parametric output from Solve with Plot3D