[Vm-dev] Issue 116 in cog: "Can't infer base LD_LIBRARY_PATH. Aborting." On Linux Mint Debian Edition Update Pack 6

cog at googlecode.com cog at googlecode.com
Sat Jan 5 12:46:31 UTC 2013


Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 116 by tobias.p... at student.hpi.uni-potsdam.de: "Can't infer base  
LD_LIBRARY_PATH. Aborting." On Linux Mint Debian Edition Update Pack 6
http://code.google.com/p/cog/issues/detail?id=116

What steps will reproduce the problem?
1. Install Linux Mint Debian Edition with Update Pack 6
2. Try to run './squeak' from the folder where the cogvm and my squeak  
images reside

I would expect squeak to start, as it did before.

The problem happens with 4.0-2585 and 4.0-2640 (most up to date version I  
could get a hold off).
I suspect that the problem has got something to do with the multiarch  
support in update pack 6. Because the return value of ldd ./squeak is now  
different than the shell script expects. It returns:


squeak/lib/squeak/4.0-2640$ ldd ./squeak
	linux-gate.so.1 =>  (0xf777c000)
	libutil.so.1 => /lib/i386-linux-gnu/i686/cmov/libutil.so.1 (0xf7753000)
	libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf774f000)
	libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0  
(0xf7735000)
	libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf770f000)
	libnsl.so.1 => /lib/i386-linux-gnu/i686/cmov/libnsl.so.1 (0xf76f8000)
	libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7595000)
	/lib/ld-linux.so.2 (0xf777d000)

The libc line is substantially different then what the shell script expects  
("/lib/i386-linux-gnu/libc*)"). But a quick fix could do it.

As a work around, running the binary directly works like a charm.

Cheers





More information about the Vm-dev mailing list