LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   How to change the script of an executable? (http://www.linuxquestions.org/questions/programming-9/how-to-change-the-script-of-an-executable-532493/)

Nishant Desai 02-26-2007 05:26 AM

How to change the script of an executable?
 
Dear All,

In my /etc of ARM Linux, there is no ld.so.config file and there is no ldconfig command running, there is ld.so.cache which is binary executable, but there is no command like ldcache to run this file.

Then i create the ld.so.conf file in which i wrote the names of the directories where my shared object libraries are lying (like /lib,/user/lib) and i execute ./ld.so.cache (It could be that i am doing wrong) which infact runs my ld.so.conf file and it shows that /usr/lib is a directory (ofcourse ./ is to execute binary files).

how to create the ldcache command to execute ld.so.cache, how can i know that from which file ld.so.cache file has been generated? so that i can change it and can load my shared object libraries at the initialisation time.

Any input will be appreciable.

Thanks,
Nishant

unSpawn 02-26-2007 07:44 AM

Please post your thread once and be patient if it doesn't show up immediately: pressing submit repeatedly is not the right thing to do. Going back and editing a post on initial submission is not the right thing to do: use the edit button after posting your thread. This thread should be closed because it is a duplicate of http://www.linuxquestions.org/questi...d.php?t=532490.

Please read and understand the LQ Rules before continuing. Thanks in advance.


All times are GMT -5. The time now is 05:34 AM.