[Vm-dev] Running Cog on 64-bit host

Dimitry Golubovsky golubovsky at gmail.com
Thu Dec 29 05:05:09 UTC 2011


Hi,

May I suggest the following patch (also attached - may be also needed
to apply to the "squeak" script in the top of the coglinux tarball)

--- /tmp/coglinux/bin/squeak    2011-12-01 16:53:03.000000000 -0500
+++ ./bin/squeak        2011-12-26 23:33:59.000000000 -0500
@@ -15,6 +15,7 @@
 case `/usr/bin/ldd "$BIN/squeak" | /bin/fgrep /libc. | sed 's/^.*=> //'` in
 /lib/tls/libc*)        SVMLLP="/lib/tls:/lib:/usr/lib/tls:/usr/lib";;
 /lib/libc*)            SVMLLP="/lib:/usr/lib";;
+/lib32/libc*)          SVMLLP="/lib32:/usr/lib32";;
 *)                             echo "can't infer base
LD_LIBRARY_PATH. Aborting." 1>&2;
                                exit 1
 esac

which helps run Cog on a 64 bit host with 32 bit libraries installed
in /lib32 and /usr/lib32. Without this line added the script aborts
(cannot infer LD_LIBRRAY_PATH)

Thanks.

-- 
Dimitry Golubovsky

Anywhere on the Web
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cog-32-64.patch
Type: application/octet-stream
Size: 442 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20111229/4b28aab3/cog-32-64.obj


More information about the Vm-dev mailing list