FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 05-24-2010, 12:41 PM
Naresh Mehta
 
Default glibc version in Ubuntu 10.04!

Hi All,

I am trying to compile Ofono in Ubuntu 10.04. I have a problem with the glibc version number. Ofono needs a version >2.16 whereas 10.04 gives 2.10. Upstream of glibc is at 2.9. Why is ubuntu 10.04 stuck at 2.10? Is there a reason for that and/or are there any plans to upgrade the library later on?


Previous versions of Ubuntu had glibc package available which is not available with 10.04. It would be great if somebody can throw some light here.

Please do guide me to the appropriate mailing list if this is not the intended one.


BR; Naresh

visit me at:
http://www.naresh.se/

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 05-24-2010, 12:56 PM
Pete Graner
 
Default glibc version in Ubuntu 10.04!

On Mon, 2010-05-24 at 14:41 +0200, Naresh Mehta wrote:
> Hi All,
>
> I am trying to compile Ofono in Ubuntu 10.04. I have a problem with
> the glibc version number. Ofono needs a version >2.16 whereas 10.04
> gives 2.10. Upstream of glibc is at 2.9. Why is ubuntu 10.04 stuck at
> 2.10? Is there a reason for that and/or are there any plans to upgrade
> the library later on?
>
> Previous versions of Ubuntu had glibc package available which is not
> available with 10.04. It would be great if somebody can throw some
> light here.
>
> Please do guide me to the appropriate mailing list if this is not the
> intended one.
>
> BR; Naresh
>
> visit me at:
> http://www.naresh.se/

You want ubutnu-devel@lists.ubuntu.com

~pete

--
Pete Graner <pgraner@canonical.com>
Manager
Ubuntu Kernel
Canonical Ltd. http://www.canonical.com/




--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 05-24-2010, 01:02 PM
Sean McNamara
 
Default glibc version in Ubuntu 10.04!

Hi,

On Mon, May 24, 2010 at 8:41 AM, Naresh Mehta <nareshtechs@gmail.com> wrote:
> Hi All,
>
> I am trying to compile Ofono in Ubuntu 10.04. I have a problem with the
> glibc version number. Ofono needs a version >2.16 whereas 10.04 gives 2.10.
> Upstream of glibc is at 2.9. Why is ubuntu 10.04 stuck at 2.10? Is there a
> reason for that and/or are there any plans to upgrade the library later on?

Please don't confuse 2.10 and 2.1.0, or GLib and the GNU C Library
Since I am unsure whether you are referring to glibc (GNU C Library)
or GLib (GNOME's platform independent utility library), I will
describe both requirements as clearly as I can -- both how they are
implemented in Ubuntu, and what oFono requires.

Per the GNU C Library homepage, the latest version is 2.11.2:
http://www.gnu.org/software/libc/

The GNU C Library recently has a binary-compatible fork called eglibc.
Debian (and Ubuntu) have migrated to that; see
http://www.eglibc.org/home for their homepage.

I found out what package contains the GNU C Library in Ubuntu with this command:

$ apt-file search /lib/libc.so.6
libc6: /lib/libc.so.6

So the libc6 package provides the GNU C Library. A bit more digging:

$ aptitude show libc6
Package: libc6
State: installed
Automatically installed: no
Version: 2.11.1-0ubuntu7
Priority: required
Section: libs
Maintainer: Ubuntu Core developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 10.5M
Depends: libc-bin (= 2.11.1-0ubuntu7), debconf (>= 0.5) | debconf-2.0, libgcc1,
tzdata, findutils (>= 4.4.0-2ubuntu2)
Suggests: glibc-doc, locales
Conflicts: belocs-locales-bin, tzdata (< 2007k-1), tzdata-etch
Breaks: nscd (< 2.9)
Replaces: belocs-locales-bin
Provides: glibc-2.10-1
Description: Embedded GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on the
system. This package includes shared versions of the standard C library and
the standard math library, as well as many others.
Homepage: http://www.eglibc.org

So version 2.11.1 is provided in Ubuntu 10.04.

I'm not really sure where you're getting that oFono requires version
2.16, unless you mean GLib, which is completely different. GLib does
indeed have a version 2.16.

Looking in oFono's configure.ac, it seems that it does indeed require
GLib (from GNOME) version 2.16 or later. So the error you're actually
hitting is that your GLib development headers are not installed.
Here's the salient lines of configure.ac:

PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.16, dummy=yes,
AC_MSG_ERROR(GLib >= 2.16 is required))

To install the GLib development headers on Ubuntu, install the package
libglib2.0-dev.

After installing the required dependencies, I got ofono to build from
git on 10.04 with no problems.

>
> Previous versions of Ubuntu had glibc package available which is not
> available with 10.04. It would be great if somebody can throw some light
> here.

The two packages for glibc (note: not GLib) are libc6 and libc6-dev.
The latter is installed when you install build-essential. But the
actual problem you're hitting is with GLib, not glibc.

HTH,

Sean


>
> Please do guide me to the appropriate mailing list if this is not the
> intended one.
>
> BR; Naresh
>
> visit me at:
> http://www.naresh.se/
>
> --
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
>

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 07:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org