Hello dear Community, im trying hard to get own progs running on my Mini2440 with Qtopia. I think my ToolChain for Qt Creator is working but i 've problems to configure Environment Variables as explained here: http://mini2440vietnam.blogspot.de/2011/04/upgrade-qt462-in-mini2440.html like this: export LD_LIBRARY_PATH=/usr/local/tslib/lib export QTDIR=/usr/local/Qt export QWS_MOUSE_PROTO=tslib:/dev/input/event0 ... When i add this lines to /etc/profile the Variables will not change. Somehow though they are defined anywhere else. For example LD_LIBRARY_PATH is /opt/Qtopia/lib:/usr/local/lib: Since Start Qt 4.6.3 was preinstalled and working, I assumed that the library and so on is already installed, so i didnt configure it on my own but i recognized, that the environment variables are missing. So if i try to run a simple hello world app it will give errors like "cant find library". When I enter each variable on my own by hand, the application will start... Does anyone know, where i have to change the environment variables or why its not working with the /etc/profile ? Im noob, so plz consider while answering ;)
Sturdy Environment Variables on Mini2440
Just in case nobody understands what my problem is: When i add export LD_LIBRARY_PATH=/bla/bla/bla to my /etc/profile, the path won't be changed when i start a terminal. Can anybody tell me where i have to put this exports commands? Is profile the same like bashrc? Sorry for double-posting.
I think depends on how Busybox is set up. On the early 2.6.32 FriendlyArm you put stuff like this in /etc/initd/rcS. In the Pengutronix BSP they go in /etc/profile.environment. I suspect there is somewhere that specifies what init files are run.