[Parrot-users] installable_<language name> error while loading shared libraries: libparrot.so.4.0.0

Jonathan "Duke" Leto jonathan at leto.net
Fri Feb 24 04:47:41 UTC 2012


Howdy Zack,

This is a good question. Not quite sure if it is a bug in the code,
bug in the docs or a setting on your system.

Any spare tuits around?

Duke

On Thu, Feb 23, 2012 at 2:01 PM, Zack S. <zack.slayton at gmail.com> wrote:
> Hi all!
>
> I'm working on a toy language called Blu for educational purposes, and
> I'm following the Squaak tutorial [1] to get things off the ground.
> However, I've hit an early snag. I haven't made any changes to the
> Grammar or Actions modules (I'm still on chapter one of the tutorial),
> and things seem to work with the exception of the installable_blu file
> that was generated.
>
> ~/blu/src$ parrot setup.pir
> ~/blu/src$ parrot setup.pir test
> t/00-sanity.t .. ok
> All tests successful.
> Files=1, Tests=4,  0.045 wallclock secs
> Result: PASS
> ~/blu/src$ cat test.blu
> say "Hello, Parrot VM.";
> ~/blu/src$ ./installable_blu test.blu
> ./installable_blu: error while loading shared libraries: libparrot.so.
> 4.0.0: cannot open shared object file: No such file or directory
> ~/blu/src$ parrot blu.pir test.blu
> Hello, Parrot VM.
> ~/blu/src$ parrot blu.pbc test.blu
> Hello, Parrot VM.
>
> As you can see, Parrot is able to run test.blu using blu.pir and
> blu.pbc. However, when I try to use installable_blu as per the
> tutorial's instructions, I'm told it can't find libparrot.so.4.0.0. I
> ran 'make test' during the Parrot install/build process and it didn't
> complain. Am I missing a setting in my environment? Am I following the
> correct version of the documentation?
>
> Thanks for any insight you can offer,
> Zack
>
> [1] http://parrot.github.com/html/examples/languages/squaak/doc/tutorial_episode_1.pod.html
> _______________________________________________
> Parrot-users mailing list
> Parrot-users at lists.parrot.org
> http://lists.parrot.org/mailman/listinfo/parrot-users



-- 
Jonathan "Duke" Leto <jonathan at leto.net>
Leto Labs LLC
209.691.DUKE // http://labs.leto.net
NOTE: Personal email is only checked twice a day at 10am/2pm PST,
please call/text for time-sensitive matters.


More information about the Parrot-users mailing list