Quote:
Originally Posted by raskin
Well, you add / in the wrong moment. $mozlib is not empty because it is just '/'. So you need to test if $k is empty.
|
hi..
yes.. i did this..
now i got a strange problem..
let me explain....
my source exe name is "phone" and placed it in /usr/bin
i wrote a script file to excute the "phone" exe i.e "phonnes" and placed in /usr/bin .
initially i have seamonkey and firefox installed in my machine...
am checking this with your code..
then it will take the seamonkey, ".so" files...
i compiled my source and copy the "phone" exe then paste it in /usr/bin
i ran the "phonnes" script... it is excuting correctly and linking correct so's (i.e seamonkey's)
but the problem is.....
i remove the seamonkey from my machine...(now i have only firefox)
then ran "phonnes" script.. to excute "phone" exe...
it saying this error....
Quote:
./phone: error while loading shared libraries: libgtkembedmoz.so: cannot open shared object file: No such file or directory
|
coz, "phone" exe compiled with the seamonkey ".so" then i removed the seamonkey... so that the exe not excuting properly...
i dont know why my "phone" exe behaving like this...
in make script i given the "makelink" script to linkup ".so"
by using this, when i ran the "phone" exe it have to check the installed browser and then have to linkup the ".so" to that...
my exe not behaving like this...
what i have to do..
sorry for the lenghty post...
please help me
thank you in advance