Pharo on rhel 6.5 and libasound.so.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Pharo on rhel 6.5 and libasound.so.2

Emilio Oca-3
Hi!

I think I need some help here.
I am trying to run a pharo seaside on a corporate RHEL 6.5 box.
I downloaded this http://files.pharo.org/platform/Pharo4.0-centos.zip
and deployed its contents on a directory.
Gabe rights to execute and tried the first steps on this tutorial
http://astares.blogspot.com.ar/search?q=headless

but when running: ./pharo Pharo4.0.image save demo
get this dependency error:
pharo: error while loading shared libraries: libasound.so.2: cannot open
shared object file: No such file or directory

./pharo --vm-sound-null Pharo4.0.image save demo give the same error message

ldd bin/pharo gives
  linux-gate.so.1 =>  (0x00c36000)
  libasound.so.2 => not found
  libm.so.6 => /lib/libm.so.6 (0x00628000)
  libdl.so.2 => /lib/libdl.so.2 (0x00a1e000)
  libpthread.so.0 => /lib/libpthread.so.0 (0x007f4000)
  libc.so.6 => /lib/libc.so.6 (0x0014f000)
  /lib/ld-linux.so.2 (0x007b1000)

I am not going to have rights to install libasound.so.2 unless its part of a
supported red hat enterprise package.

What are my alternatives? Is libasound within a supported package? can I
have a vm without this dependency?

Thanks

Emilio


Reply | Threaded
Open this post in threaded view
|

Re: Pharo on rhel 6.5 and libasound.so.2

philippeback
I am running Pharo 3.x on CentOS6.6

These are the things I install.

https://github.com/philippeback/pharovm-centos65/blob/master/packages-to-install.txt

Command line:

./pharo-vm/pharo -vm-display-null -vm-sound-null --memory 512m Pharo.image --no-quit

Now, I haven't rebuild or checked anything on Linux with Pharo 4.


This thing works: https://github.com/philippeback/pharovm-centos65/tree/master/zeroconf-centos

It is the same as what was on the CI for Pharo3.

I see that sound is alsa on my deps.

Maybe

yum install -y alsa-lib.i686

would do the trick.

HTH
Phil

On Wed, Sep 2, 2015 at 7:31 PM, Emilio Oca <[hidden email]> wrote:
Hi!

I think I need some help here.
I am trying to run a pharo seaside on a corporate RHEL 6.5 box.
I downloaded this http://files.pharo.org/platform/Pharo4.0-centos.zip
and deployed its contents on a directory.
Gabe rights to execute and tried the first steps on this tutorial
http://astares.blogspot.com.ar/search?q=headless

but when running: ./pharo Pharo4.0.image save demo
get this dependency error:
pharo: error while loading shared libraries: libasound.so.2: cannot open
shared object file: No such file or directory

./pharo --vm-sound-null Pharo4.0.image save demo give the same error message

ldd bin/pharo gives
  linux-gate.so.1 =>  (0x00c36000)
  libasound.so.2 => not found
  libm.so.6 => /lib/libm.so.6 (0x00628000)
  libdl.so.2 => /lib/libdl.so.2 (0x00a1e000)
  libpthread.so.0 => /lib/libpthread.so.0 (0x007f4000)
  libc.so.6 => /lib/libc.so.6 (0x0014f000)
  /lib/ld-linux.so.2 (0x007b1000)

I am not going to have rights to install libasound.so.2 unless its part of a
supported red hat enterprise package.

What are my alternatives? Is libasound within a supported package? can I
have a vm without this dependency?

Thanks

Emilio




Reply | Threaded
Open this post in threaded view
|

Re: Pharo on rhel 6.5 and libasound.so.2

Emilio Oca-3

Thanks Phil

 

Saddly, I am not free to install packages at will.

but will ask for:

yum install -y alsa-lib.i686

 

Thanks!

 

Emilio

 

 

De: Pharo-users [mailto:[hidden email]] En nombre de [hidden email]
Enviado el: Miércoles, 02 de Septiembre de 2015 15:07
Para: Any question about pharo is welcome
Asunto: Re: [Pharo-users] Pharo on rhel 6.5 and libasound.so.2

 

I am running Pharo 3.x on CentOS6.6

These are the things I install.

https://github.com/philippeback/pharovm-centos65/blob/master/packages-to-install.txt

Command line:

./pharo-vm/pharo -vm-display-null -vm-sound-null --memory 512m Pharo.image --no-quit

Now, I haven't rebuild or checked anything on Linux with Pharo 4.

This thing works: https://github.com/philippeback/pharovm-centos65/tree/master/zeroconf-centos

It is the same as what was on the CI for Pharo3.

I see that sound is alsa on my deps.

Maybe

yum install -y alsa-lib.i686

 

would do the trick.

HTH

Phil

 

On Wed, Sep 2, 2015 at 7:31 PM, Emilio Oca <[hidden email]> wrote:

Hi!

I think I need some help here.
I am trying to run a pharo seaside on a corporate RHEL 6.5 box.
I downloaded this http://files.pharo.org/platform/Pharo4.0-centos.zip
and deployed its contents on a directory.
Gabe rights to execute and tried the first steps on this tutorial
http://astares.blogspot.com.ar/search?q=headless

but when running: ./pharo Pharo4.0.image save demo
get this dependency error:
pharo: error while loading shared libraries: libasound.so.2: cannot open
shared object file: No such file or directory

./pharo --vm-sound-null Pharo4.0.image save demo give the same error message

ldd bin/pharo gives
  linux-gate.so.1 =>  (0x00c36000)
  libasound.so.2 => not found
  libm.so.6 => /lib/libm.so.6 (0x00628000)
  libdl.so.2 => /lib/libdl.so.2 (0x00a1e000)
  libpthread.so.0 => /lib/libpthread.so.0 (0x007f4000)
  libc.so.6 => /lib/libc.so.6 (0x0014f000)
  /lib/ld-linux.so.2 (0x007b1000)

I am not going to have rights to install libasound.so.2 unless its part of a
supported red hat enterprise package.

What are my alternatives? Is libasound within a supported package? can I
have a vm without this dependency?

Thanks

Emilio


 

Reply | Threaded
Open this post in threaded view
|

Re: Pharo on rhel 6.5 and libasound.so.2

Ben Coman
On Thu, Sep 3, 2015 at 3:14 AM, Emilio Oca <[hidden email]> wrote:

> Thanks Phil
>
>
>
> Saddly, I am not free to install packages at will.
>
> but will ask for:
>
> yum install -y alsa-lib.i686
>
>

A backup option would be to compile your own VM.  It wasn't hard when
I did it the first time a Mac.  Shouldn't be much different for Linux.
cheers -ben


> De: Pharo-users [mailto:[hidden email]] En nombre de
> [hidden email]
> Enviado el: Miércoles, 02 de Septiembre de 2015 15:07
> Para: Any question about pharo is welcome
> Asunto: Re: [Pharo-users] Pharo on rhel 6.5 and libasound.so.2
>
>
>
> I am running Pharo 3.x on CentOS6.6
>
> These are the things I install.
>
> https://github.com/philippeback/pharovm-centos65/blob/master/packages-to-install.txt
>
> Command line:
>
> ./pharo-vm/pharo -vm-display-null -vm-sound-null --memory 512m Pharo.image
> --no-quit
>
> Now, I haven't rebuild or checked anything on Linux with Pharo 4.
>
> This thing works:
> https://github.com/philippeback/pharovm-centos65/tree/master/zeroconf-centos
>
> It is the same as what was on the CI for Pharo3.
>
> I see that sound is alsa on my deps.
>
> Maybe
>
> yum install -y alsa-lib.i686
>
>
>
> would do the trick.
>
> HTH
>
> Phil
>
>
>
> On Wed, Sep 2, 2015 at 7:31 PM, Emilio Oca <[hidden email]> wrote:
>
> Hi!
>
> I think I need some help here.
> I am trying to run a pharo seaside on a corporate RHEL 6.5 box.
> I downloaded this http://files.pharo.org/platform/Pharo4.0-centos.zip
> and deployed its contents on a directory.
> Gabe rights to execute and tried the first steps on this tutorial
> http://astares.blogspot.com.ar/search?q=headless
>
> but when running: ./pharo Pharo4.0.image save demo
> get this dependency error:
> pharo: error while loading shared libraries: libasound.so.2: cannot open
> shared object file: No such file or directory
>
> ./pharo --vm-sound-null Pharo4.0.image save demo give the same error message
>
> ldd bin/pharo gives
>   linux-gate.so.1 =>  (0x00c36000)
>   libasound.so.2 => not found
>   libm.so.6 => /lib/libm.so.6 (0x00628000)
>   libdl.so.2 => /lib/libdl.so.2 (0x00a1e000)
>   libpthread.so.0 => /lib/libpthread.so.0 (0x007f4000)
>   libc.so.6 => /lib/libc.so.6 (0x0014f000)
>   /lib/ld-linux.so.2 (0x007b1000)
>
> I am not going to have rights to install libasound.so.2 unless its part of a
> supported red hat enterprise package.
>
> What are my alternatives? Is libasound within a supported package? can I
> have a vm without this dependency?
>
> Thanks
>
> Emilio
>
>
>