You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aurora.apache.org by Larry Weya <la...@gmail.com> on 2015/02/17 19:55:40 UTC

Ubuntu 12.04 - ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not found

I need to run on Ubuntu 12.04 (Cant upgrade to 14.04). I built my own
mesos.native egg within an Ubuntu 12.04 VM and put in the third_party
directory when building thermos but after starting a job, I get this in the
Mesos log

ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not
found (required by
/root/.pex/install/mesos.native-0.20.1-py2.7-linux-x86_64.egg.3ad559b2b9ba2a363146049c27abff70d4860891/mesos.native-0.20.1-py2.7-linux-x86_64.egg/mesos/native/_mesos.so)

What am I missing?

-- 
Larry Weya

Re: Ubuntu 12.04 - ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not found

Posted by Brian Wickman <wi...@apache.org>.
Yes, it's very likely that the bad python dependency was cached in
.pants.d.  Unfortunately there's no way to differentiate between linux ABI
in python package naming so if something is already in .pants.d/python/eggs
that matches the requirement (mesos.native-0.21.1-linux-x86_64) then it
will likely choose that before whatever is in third_party.  rm -rf .pants.d
is a quick fix or as you noted a git clean.

On Wed, Feb 18, 2015 at 7:21 AM, Bill Farner <wf...@apache.org> wrote:

> Thanks for reporting back!  I was a bit dumbfounded at what could be the
> issue.  Now I know to rule out stale build state next time!
>
> On Wednesday, February 18, 2015, Larry Weya <la...@gmail.com> wrote:
>
> > I got it to work by doing a git clean within the repository and
> > re-building.
> >
> > I'm not too familiar with pants or it internals, but I had previously
> built
> > using a trusty64 mesos.native and it seems as if pants was re-using this
> > even after I placed my self built mesos.native in the third_party
> > directory.
> >
> > On Tue, Feb 17, 2015 at 9:55 PM, Larry Weya <larryweya@gmail.com
> > <javascript:;>> wrote:
> >
> > > I need to run on Ubuntu 12.04 (Cant upgrade to 14.04). I built my own
> > > mesos.native egg within an Ubuntu 12.04 VM and put in the third_party
> > > directory when building thermos but after starting a job, I get this in
> > the
> > > Mesos log
> > >
> > > ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not
> > > found (required by
> > >
> >
> /root/.pex/install/mesos.native-0.20.1-py2.7-linux-x86_64.egg.3ad559b2b9ba2a363146049c27abff70d4860891/mesos.native-0.20.1-py2.7-linux-x86_64.egg/mesos/native/_mesos.so)
> > >
> > > What am I missing?
> > >
> > > --
> > > Larry Weya
> > >
> >
> >
> >
> > --
> > Larry Weya
> >
>
>
> --
> -=Bill
>

Re: Ubuntu 12.04 - ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not found

Posted by Bill Farner <wf...@apache.org>.
Thanks for reporting back!  I was a bit dumbfounded at what could be the
issue.  Now I know to rule out stale build state next time!

On Wednesday, February 18, 2015, Larry Weya <la...@gmail.com> wrote:

> I got it to work by doing a git clean within the repository and
> re-building.
>
> I'm not too familiar with pants or it internals, but I had previously built
> using a trusty64 mesos.native and it seems as if pants was re-using this
> even after I placed my self built mesos.native in the third_party
> directory.
>
> On Tue, Feb 17, 2015 at 9:55 PM, Larry Weya <larryweya@gmail.com
> <javascript:;>> wrote:
>
> > I need to run on Ubuntu 12.04 (Cant upgrade to 14.04). I built my own
> > mesos.native egg within an Ubuntu 12.04 VM and put in the third_party
> > directory when building thermos but after starting a job, I get this in
> the
> > Mesos log
> >
> > ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not
> > found (required by
> >
> /root/.pex/install/mesos.native-0.20.1-py2.7-linux-x86_64.egg.3ad559b2b9ba2a363146049c27abff70d4860891/mesos.native-0.20.1-py2.7-linux-x86_64.egg/mesos/native/_mesos.so)
> >
> > What am I missing?
> >
> > --
> > Larry Weya
> >
>
>
>
> --
> Larry Weya
>


-- 
-=Bill

Re: Ubuntu 12.04 - ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not found

Posted by Larry Weya <la...@gmail.com>.
I got it to work by doing a git clean within the repository and re-building.

I'm not too familiar with pants or it internals, but I had previously built
using a trusty64 mesos.native and it seems as if pants was re-using this
even after I placed my self built mesos.native in the third_party directory.

On Tue, Feb 17, 2015 at 9:55 PM, Larry Weya <la...@gmail.com> wrote:

> I need to run on Ubuntu 12.04 (Cant upgrade to 14.04). I built my own
> mesos.native egg within an Ubuntu 12.04 VM and put in the third_party
> directory when building thermos but after starting a job, I get this in the
> Mesos log
>
> ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.16' not
> found (required by
> /root/.pex/install/mesos.native-0.20.1-py2.7-linux-x86_64.egg.3ad559b2b9ba2a363146049c27abff70d4860891/mesos.native-0.20.1-py2.7-linux-x86_64.egg/mesos/native/_mesos.so)
>
> What am I missing?
>
> --
> Larry Weya
>



-- 
Larry Weya