32bit applications with a 64bit NVidia driver.

Nicolas Chauvet kwizart at gmail.com
Wed Apr 21 10:38:23 CEST 2010


2010/4/21 Gianluca Sforna <giallu at gmail.com>
>
> I'm looking for some info to determine what's going on here, whether
> it's PEBCAK, or maybe some packaging bug, or just an unsupported
> setup.
>
> Basically, I have some 32bit binaries that I'd like to run in a 64bit
> installation; these binaries (qt based) use OpenGL via some
> OpenSceneGraph widget. The machine has NVidia drivers installed.
>
> At application startup I've got this message in the console:
> QGLContext::makeCurrent(): Cannot make invalid context current.
> and all OpenGL based widgets do not show up.
>
> Now, at this point I realized I did not install the 32bit
> xorg-x11-drv-nvidia-libs, but after installation it made no
> difference; however I also discovered everything start working as
> expected if I set
> LD_LIBRARY_PATH=/usr/lib/nvidia
The change should be immediate.So the problem might be in your
application trying to dlopen the 32Bit library from an expected place
instead of using the system linker.

There is a need to check for rpath issue also.

Nicolas (kwizart)


More information about the rpmfusion-developers mailing list