Actually you also have a third possibility which would allow you to run your apache from /home/abc/apache. You would need to do the following (from the top of my head): * Edit the file /home/abc/apache/bin/envvars and modify the paths as appropriate * Edit the file /home/abc/apache/bin/apachectl and modify the path assigned to the variable HTTPD as appropriate * Source /home/abc/apache/bin/envvars in your .profile so you can run httpd without using apachectl. I think that should do the trick. -ascs -----Message d'origine----- De : Tony Stevenson [mailto:tony@xxxxxxxxxxx] Envoyé : vendredi 16 novembre 2007 10:37 À : users@xxxxxxxxxxxxxxxx Objet : Re: Moving Apache Binary Desai, You have two real options here: 1) Rebuild apache with the correct binary path int he ./configure script 2) Use a symlink I would personally go with option 1, but I just tried to avoid symlinks all over the place. Tony Desai Sunil Kumar wrote: > > Hi All, > > I have built Apache binary by specify path /home/xyz/apache in > Linux. I want to just copy the binary folder to some other location > for example /home/abc/apache. Then I tried executing httpd, I got > library error not able to find libapr.so and libapr-util.so under the > original path. Now is there a way to execute httpd by just moving the > Apache binary folder. > > > > Please let me know. > > > > Reg > Sunil Desai > > > > *DISCLAIMER:* > > This message (including attachment if any) is confidential and may be > privileged. If you have received this message by mistake please notify > the sender by return e-mail and delete this message from your system. > Any unauthorized use or dissemination of this message in whole or in > part is strictly prohibited. > > E-mail may contain viruses. Before opening attachments please check > them for viruses and defects. While MindTree Consulting Limited > (MindTree) has put in place checks to minimize the risks, MindTree > will not be responsible for any viruses or defects or any forwarded > attachments emanating either from within MindTree or outside. > > Please note that e-mails are susceptible to change and MindTree shall > not be liable for any improper, untimely or incomplete transmission. > > MindTree reserves the right to monitor and review the content of all > messages sent to or from MindTree e-mail address. Messages sent to or > from this e-mail address may be stored on the MindTree e-mail system > or else where. > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx