On 64bit Ubuntu (derived from Debian) I installed the 32bit libraries with: sudo aptitude install ia32-libs Then Pharo started fine. On 13 September 2012 21:10, Bernardo Ezequiel Contreras < vonbecmann@gmail.com> wrote:
do you have installed the 32 bits libraries? for instance http://packages.debian.org/squeeze/ia32-libs
On Thu, Sep 13, 2012 at 5:04 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,
It looks like it's 64:
If I do: uname -m => x86_64
Cheers, Doru
On Thu, Sep 13, 2012 at 9:53 PM, Bernardo Ezequiel Contreras <vonbecmann@gmail.com> wrote:
Tudor, 32 bits or 64 bits?
On Thu, Sep 13, 2012 at 4:25 PM, Eliot Miranda <eliot.miranda@gmail.com
wrote:
On Thu, Sep 13, 2012 at 11:53 AM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,
I would need to start a Pharo/Pier image on Debian 6.0.4 from the command line using Cog. I tried to use both the Cog-VM (from Pharo) and the Cog (from Eliot), but none work:
- If I run the Cog from Eliot returns "can't infer base LD_LIBRARY_PATH. Aborting."
look at the part of the script that determines LD_LIBRARY_PATH and
extend
it suitably. then let me know how you augmented it. this is the case that works out which directories to include, where SVMLLP stands for squeak vm ld library path.:
# On some linuxes there multiple versions of the C library. If the image uses# libc (e.g. through the FFI) then it must use the same version that the VM uses # and so it should take precedence over /lib libc. This is done by setting # LD_LIBRARY_PATH appropriately, based on ldd's idea of the libc use by the VM. case `/usr/bin/ldd "$BIN/squeak" | /bin/fgrep /libc. | sed 's/^.*=> //'` in /lib/libc*) SVMLLP="/lib:/usr/lib";; /lib32/libc*) SVMLLP="/lib32:/usr/lib32";; /lib64/libc*) SVMLLP="/lib64:/usr/lib64";; /lib/tls/libc*) SVMLLP="/lib/tls:/lib:/usr/lib/tls:/usr/lib";; /lib/i386-linux-gnu/libc*) \ SVMLLP="/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu";; /lib/tls/i686/cmov/libc*) \ SVMLLP="/lib/tls/i686/cmov:/lib:/usr/lib/tls/i686/cmov:/usr/lib";; /lib/tls/i686/nosegneg/libc*) \
SVMLLP="/lib/i686/nosegneg/tls:/lib:/usr/lib/i686/nosegneg/tls:/usr/lib";;
*) echo "can't infer base LD_LIBRARY_PATH. Aborting." 1>&2; exit 1 esac
- I could not even get the Pharo Cog to run. Even if the rights for the VM are correct, it still says: "-bash: ./CogVM: No such file or directory"
Any hints as to how to proceed?
Cheers, Doru
-- www.tudorgirba.com
"Every thing has its own flow"
-- best, Eliot
-- Bernardo E.C.
-- www.tudorgirba.com
"Every thing has its own flow"
-- Bernardo E.C.