Tudor,
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 1esac
- 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