Four Js Development Tools Forum

General => Ask Reuben => Topic started by: Reuben B. on November 14, 2022, 04:07:25 am



Title: Ask Reuben 152 - Could Not Load Library
Post by: Reuben B. on November 14, 2022, 04:07:25 am
The Genero runtime architecture makes use of shared libraries and a dynamic linker.  Prior to Genero 2.00 you may recall having to create a runner, since version 2.00 runner creation is no longer needed.
 
It varies by operating system, but there will be an environment variable that controls a list of paths used by the dynamic linker to search for the libraries.   LD_LIBRARY_PATH is the example I will use as being the most common, its documentation entry refers to the other values that may be applicable for your operating system.
 
When you get a Could Not Load Library error message the first instinct should be to check the value of LD_LIBRARY_PATH and normally you find in the Genero Application Server or Genero Studio configuration that this value is not correct.
 
There are two other debug steps you should have in your toolbox ready to use if you have trouble resolving a Could Not Load Library type error message.  Read more at https://4js.com/ask-reuben/ig-152