Hello devs!
yesterday successfully built RoR from sources(master branch from git) on Debian. Without much problems, the only thing was - openssl was required of 1.0.2 for some dependency (curl IIRC) while others required 1.1.1 and failed to link with 1.0.2 that has been already fetched for curl, I changed requirement to 1.1.1b and it was built fine then.
However not sure for running, some LD problem - I set LD_LIBRARY_PATH to ./bin folder where executable and most of the libs are, but ogre started to complain about not able to find plugins libs which I found in redist/lib/ but adding it to LD_LIBRARY_PATH didn't help, ogre still complains it can't find modules
How can I fix that?
Thats my setup:
and ogre says
and the same for others
yesterday successfully built RoR from sources(master branch from git) on Debian. Without much problems, the only thing was - openssl was required of 1.0.2 for some dependency (curl IIRC) while others required 1.1.1 and failed to link with 1.0.2 that has been already fetched for curl, I changed requirement to 1.1.1b and it was built fine then.
However not sure for running, some LD problem - I set LD_LIBRARY_PATH to ./bin folder where executable and most of the libs are, but ogre started to complain about not able to find plugins libs which I found in redist/lib/ but adding it to LD_LIBRARY_PATH didn't help, ogre still complains it can't find modules
How can I fix that?
Thats my setup:
Code:
pit@p50:~/Projects/ror/rigs-of-rods$ export LD_LIBRARY_PATH=`pwd`/bin:`pwd`/redist/lib:
pit@p50:~/Projects/ror/rigs-of-rods$ echo $LD_LIBRARY_PATH
/home/pit/Projects/ror/rigs-of-rods/bin:/home/pit/Projects/ror/rigs-of-rods/redist/lib:
pit@p50:~/Projects/ror/rigs-of-rods$ ls /home/pit/Projects/ror/rigs-of-rods/bin /home/pit/Projects/ror/rigs-of-rods/redist/lib
/home/pit/Projects/ror/rigs-of-rods/bin:
Codec_FreeImage.so Plugin_BSPSceneManager.so Plugin_ParticleFX.so RenderSystem_GL.so
Codec_FreeImage.so.1.11.6 Plugin_BSPSceneManager.so.1.11.6 Plugin_ParticleFX.so.1.11.6 RenderSystem_GL.so.1.11.6
content Plugin_OctreeSceneManager.so Plugin_PCZSceneManager.so resources
libangelscript_addons.a Plugin_OctreeSceneManager.so.1.11.6 Plugin_PCZSceneManager.so.1.11.6 RoR
libCaelum.so Plugin_OctreeZone.so plugins.cfg
libversion_info.a Plugin_OctreeZone.so.1.11.6 plugins_d.cfg
/home/pit/Projects/ror/rigs-of-rods/redist/lib:
Codec_FreeImage.so libOgreOverlay.so Plugin_BSPSceneManager.so
Codec_FreeImage.so.1.11.6 libOgreOverlay.so.1.11.6 Plugin_BSPSceneManager.so.1.11.6
libCaelum.so libOgrePaging.so Plugin_OctreeSceneManager.so
libMyGUIEngine_d.so libOgrePaging.so.1.11.6 Plugin_OctreeSceneManager.so.1.11.6
libMyGUIEngine_d.so.3.4.0 libOgreProperty.so Plugin_OctreeZone.so
libOgreBites.so libOgreProperty.so.1.11.6 Plugin_OctreeZone.so.1.11.6
libOgreBites.so.1.11.6 libOgreRTShaderSystem.so Plugin_ParticleFX.so
libOgreHLMS.so libOgreRTShaderSystem.so.1.11.6 Plugin_ParticleFX.so.1.11.6
libOgreHLMS.so.1.11.6 libOgreTerrain.so Plugin_PCZSceneManager.so
libOgreMain.so libOgreTerrain.so.1.11.6 Plugin_PCZSceneManager.so.1.11.6
libOgreMain.so.1.11.6 libOgreVolume.so RenderSystem_GL.so
libOgreMeshLodGenerator.so libOgreVolume.so.1.11.6 RenderSystem_GL.so.1.11.6
libOgreMeshLodGenerator.so.1.11.6 libOIS.so
and ogre says
Code:
*-*-* OGRE Initialising
*-*-* Version 1.11.6 (Rhagorthua)
Loading library ./Codec_FreeImage
failed to load plugin: ./Codec_FreeImage: InternalErrorException: Could not load dynamic library ./Codec_FreeImage. System Error: ./Codec_FreeImage.so.1.11.6: cannot open shared object file: No such file or directory in DynLib::load at /home/pit/.conan/data/OGRE/1.11.6/anotherfoxguy/stable/build/c30e5cec15f26112a7b225f636021168b0c5a77d/OgreMain/src/OgreDynLib.cpp (line 112)
and the same for others