Product :4D - 4D Server
4D : v13.2
OS : Mac OS X 10.12
After migrating to OSX 10.12 SIERRA the 4D in interpretated mode stoped connecting to Database.
Found out that it is caused due to the mac system integrity protection is blocking the Envirnment variables started by DYLD to be passed to child processes.
https://forums.developer.apple.com/thread/9233 (last coment)
So even if i have the variable set on main process, when opening a new app it will not see the variable.
I use the DYLD_LIBRARY_PATH variable to set the connection to the database (SYBASE in my case).
in compiled apps i can overpass this issue editing the apps plist and include this in itDYLD_LIBRARY_PATH /Applications/Pixar/RenderManProServer-21.4/lib
Does anyone knows how to solve this problem?
Disabling the mac system integrity protection is not a solution for me.