[Fluxus] drflux undefined symbol

Johannes Kroll jkroll at lavabit.com
Thu May 24 00:32:23 PDT 2012


On Wed, 23 May 2012 12:53:47 +0200
Kassen <signal.automatique at gmail.com> wrote:

> On Wed, May 23, 2012 at 11:44:01AM +0200, Johannes Kroll wrote:
> > 
> > Have you tried running the commandline racket with LD_PRELOAD? i.e.
> > something like
> > 
> > $ LD_PRELOAD=/usr/lib/libGLEW.so racket...
> 
> Not yet, but I will now :-)
> Instant update; that works! Thanks so much, I spend a lot of time
> getting extra GL libraries and endlessly recompiling and now it works,
> you made my day.

Good :)


> > (check if you actually have the /usr/lib/libGLEW so file and replace
> > with different path/version number if necessary)
> > 
> 
> Here I do notice something interesting; there are three;
> /usr/lib/libGLEW.so
> /usr/lib/libGLEW.so.1.5
> /usr/lib/libGLEW.so.1.5.2
> 
> Here we get into a territory where I'm not as big a expert as I'd like
> to be but that doesn't look healthy, though I suppose apt-get upgrade
> should never break the stuff we outselves compiled, which might
> explain this.

One should be the real file, the rest are symlinks. That's normal. (try
ls -l)


> > Anyway, if the .so does not include the proper dependency that should
> > be fixed in the build files. The one I have installed here (from a
> > rather old fluxus version) has got the dependency:
> > 
> > $ ldd /usr/local/lib/fluxus-017/compiled/native/i386-linux/3m/fluxus-engine_ss.so|grep -i GLEW
> > 	libGLEW.so.1.5 => /usr/lib/libGLEW.so.1.5 (0x00e09000)
> 
> I wonder what is wrong, because plain Fluxus is fine on that laptop, I
> worked on it and did multiple performances with it. The kind of setup
> I wanted now, with Racket running in screen controlled through Vim is
> also fine on my desktop. If something is wrong it is in the details,
> not in setting the dependency in general. Weird.

Perhaps the binary is linked to libGLEW, but the .so isn't. That would
mean that fluxus can load the so, but other programs which do not link
to libGLEW can't.

Maybe there is a problem in the build scripts? I'm not familiar with
SConstruct.




More information about the Fluxus mailing list