[Solved] OpenSuse 11.3- Startup error
Posted: 25 Sep 2010, 20:08
Hi, I've been trying to compile the STK 0.7a3 release on my OpenSUSE 11.3 box unsuccessfully. ./configure and make work well, but running the executable fails with this message:
symbol lookup error: /usr/lib64/libIrrlicht.so.1.7: undefined symbol: XF86VidModeQueryExtension
To quote HIker:
"Insane: I suspect that you don't have libXf86vm installed, which is apparently necessary on your system. But this should actually be detected by our configure. Could you perhaps post your config.log file in our forum."
It was not detected by the configure, configure gave me no errors after installing a few devel packages, and there were no errors during my compilation. Following his advice, I attempted to install libxf86vm and the devel version of this package, only to find that it doesn't exist in my package manager. A quick google search brought up no results for a downloadable RPM, and I started to think.
I have STK .6.x running perfectly fine, so this seems like a strange problem to have when running the executable. I could understand if it occurred during compilation, but this is a funny time for it. Has a new dependency on LibXF86vm been added for .7?
Thanks in advance for the help. Maybe I found a bug for you to squash.
THE SOLUTION:
1) OpenSUSE has bad Irrlicht packages. Compiling from source is recommended. Make sure not to use the trunk version, but rather the last released.
2) Make install of Irrlicht didn't work for me, it failed with strange errors. Manually moving libIrrlicht.a to /usr/local/lib and the include/ folder to /usr/local/include works fine. If these two paths don't work, try /usr/lib and /usr/include.
3) When running ./configure, this is the way to go: (While the flags may not be necessary, I didn't get one of my original errors while using them)
4) Assuming everything so far has worked correctly, run:
Hopefully you are all set now! Good luck to anyone who encounters my problem.
symbol lookup error: /usr/lib64/libIrrlicht.so.1.7: undefined symbol: XF86VidModeQueryExtension
To quote HIker:
"Insane: I suspect that you don't have libXf86vm installed, which is apparently necessary on your system. But this should actually be detected by our configure. Could you perhaps post your config.log file in our forum."
It was not detected by the configure, configure gave me no errors after installing a few devel packages, and there were no errors during my compilation. Following his advice, I attempted to install libxf86vm and the devel version of this package, only to find that it doesn't exist in my package manager. A quick google search brought up no results for a downloadable RPM, and I started to think.
I have STK .6.x running perfectly fine, so this seems like a strange problem to have when running the executable. I could understand if it occurred during compilation, but this is a funny time for it. Has a new dependency on LibXF86vm been added for .7?
Thanks in advance for the help. Maybe I found a bug for you to squash.
THE SOLUTION:
1) OpenSUSE has bad Irrlicht packages. Compiling from source is recommended. Make sure not to use the trunk version, but rather the last released.
2) Make install of Irrlicht didn't work for me, it failed with strange errors. Manually moving libIrrlicht.a to /usr/local/lib and the include/ folder to /usr/local/include works fine. If these two paths don't work, try /usr/lib and /usr/include.
3) When running ./configure, this is the way to go: (While the flags may not be necessary, I didn't get one of my original errors while using them)
- {l Code}: {l Select All Code}
./configure LDFLAGS="-lXxf86vm" --enable-optimizations
4) Assuming everything so far has worked correctly, run:
- {l Code}: {l Select All Code}
NDEBUG=1 make
Hopefully you are all set now! Good luck to anyone who encounters my problem.