On Monday 12 April 2010, craf wrote: > file: No such file or directory > ), is that the routes included in the file .sh are not taken into > account. To fix this I added the following paths to the file .profile > (The tests carried out from a project created in gambas2.20 in Ubuntu > 9.10 to Ubuntu 8.04 distribution located on the same computer and runs > through Virtualbox. > > #!/bin/sh > export PATH=/path/my/proyect/gambas2/bin > export > LD_LIBRARY_PATH=/path/my/proyect/gambas2/lib_shared/lib:/path/my/proyect/gambas2/lib_shared/usr/lib >
>From some early mail export LD_LIBRARY_PATH=/my/ld/dir:$LD_LIBRARY_PATH This will add your path in front of the current one, pointing to i.e. gtk libs In thecode you present here the current to other libraries is killed. So add on the line at the end ':$LD_LIBRARY_PATH' (whitout quotes :) ) > You see I have to load the variable LD_LIBRARY_PATH when the user start > a session, as this is ignored if the file is called from . sh > > Doriano kindly indicated that this was due to the following: > Best regards, Ron_1st -- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user