Skip to main content
Participant
May 7, 2010
Question

Adobe debug flash-player 10 needs newer glibc on Ubuntu Karmic

  • May 7, 2010
  • 1 reply
  • 1778 views

Hi all,

I'm trying to install the latest debug flashplayer available here:

http://download.macromedia.com/pub/f...nux_dev.tar.gz

linked from this page

http://www.adobe.com/support/flashplayer/downloads.html

I follow the embedded instructions and this is the error:


root@vostro-ubuntu:~# /home/berrie/work/download/install_flash_player_10_linux/flashplayer-installer
[: 258: closing paren expected

ERROR: Your glibc library is older than 2.3.
Please update your glibc library.

root@vostro-ubuntu:~# aptitude search glibc
p eglibc-source - Embedded GNU C Library: sources
v glibc-2.10-1 -
p glibc-doc - GNU C Library: Documentation
v glibc-doc-reference -
v glibc-pic -
root@vostro-ubuntu:~#

I'm running Ubuntu Karmic Koala and it is up to date.

Could it be that the flash installer parses the version number wrong as previously it was glibc-2.9-1, a '9' after the dot, now there is a '1'.

Seems daft. Anyone got any ideas?

Cheers,

BB
__________________
Codevio - Cost Effective Software Development
http://www.codevio.com

    This topic has been closed for replies.

    1 reply

    bbloemAuthor
    Participant
    May 11, 2010

    The check_glibc() function leaves a bit to be desired:

    # check glibc

    check_glibc () {

      ICONV=`iconv --version | sed -e '2,$d'`

      if [ $? -ne 0 ]; then

        echo "no-iconv"

      else

        ICONVVER=`echo "$ICONV" | awk '{print $4}'`

        GLIBCMAJOR=`echo $ICONVVER | cut -d'.' -f1`

        GLIBCMINOR=`echo $ICONVVER | cut -d'.' -f2`

        if [ \( $GLIBCMAJOR -ge $MIN_GLIBCMAJOR \) -a \( $GLIBCMINOR -ge $MIN_GLIBCMINOR \) ]; then

          echo "valid-glibc"

        else

          echo "invalid-glibc"

        fi

      fi

    }

    First of all '{print $4}' needs to change to '{print $3}' to make it work for now. Once glibc 3.0 hits the shelves you have even bigger problems as according to this snippet both major and minor version numbers need to be bigger than their corresponding minimal numbers. So 3.0 isn't newer than 2.3 according to this code.
    The correct pseudo code would be:
    if ( (MAJOR > MIN_MAJOR) || (MAJOR == MIN_MAJOR && MINOR >= MIN_MINOR) ) then version is ok