nVidia and Squeak and libGL
Ric Moore
wayward4now
Tue Jan 2 21:28:12 PST 2007
On Tue, 2007-01-02 at 07:43 -0500, Kurt Wall wrote:
> On Tue, Jan 02, 2007 at 02:39:04AM -0500, Ric Moore wrote:
> > Lonnie and anyone else up on this, I'm dinking with Croquet and Squeak,
> > and it complains about not finding libGL. Well, I've checked the links
> > ten ways to Sunday and everything appears normal to me. Has anyone
> > solved the issue? The Croquet Project is steadily falling into the hands
> > of Windows user/developers and what seems to work well on Windows now is
> > not working for Linux users. I've Googled on this and the only working
> > solution I have seen so far is to roll my own from a Squeak tarball,
> > which is what I'm gonna do.
> >
> > If anyone familiar with this? Ric
>
> Not familiar with it, but a couple of things to try:
>
> $ LD_PRELOAD=/path/to/libGL croquet
> $ LD_LIBRARY_PATH/path/to/dir/with/libGL croquet
>
> The first specifically adds libGL to the dynamic linker's search dir before
> starting croquet. The second adds the path to the directory containing libGL
> to the environment before starting croquet.
Thanks! Croquet is started with a shell script not directly. Here it is:
------------------------------------------------------------------------
#!/bin/sh
case $# in
0) : find the latest Croquet image
set 0 Croquet.*.image
while [ $# != 1 ] ; do shift ; done
esac
IMAGE=${1}
DIR=`dirname $0`
EXE="$DIR/bin/i686-pc-linux-gnu"
# make source link if necessary
if [ ! -r $DIR/CroquetV1.sources ] ; then
ln -s $DIR/bin/CroquetV1.sources $DIR/CroquetV1.sources
fi
# make libGL.so link if necessary
if [ ! -x /usr/lib/libGL.so -a -x /usr/lib/libGL.so.1 ] ; then
if [ ! -x "$EXE/libGL.so" ] ; then
echo Creating libGL.so symlink in $EXE
ln -sf /usr/lib/libGL.so.1 "$EXE/libGL.so"
fi
fi
-----------------------------------------------------------
Notice they are trying like heck to insure that the libGL files are
found as it has been a huge problem with Squeak, the underlying language
Croquet uses. Should I add those statements to here?? Ric
--
================================================
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/
http://www.sourceforge.net/projects/oar
http://www.wayward4now.net
================================================
More information about the Linux-users
mailing list