Click to See Complete Forum and Search --> : removing compiled programs - how?


mstembri3
03-04-2001, 07:55 PM
How do you go about removing compiled installations?

My reason is this - pure frustration. I've been working on getting apache, php, and mysql working all weekend long. I've tried installing php from rpms, and now I've tried via source. I've gone step by step by on-line guides to installing php (actually looked at a few different ones to make sure the process was accurately documented).


httpd fails on boot.

"cannot load /etc/httpd/modeles/libphp4.so into server: ... libphp4.so: cannot open shared object file: no such file or directory"


This last attempt i removed php and mysql. I don't understand. THere were no errors when I compiled. I did Make and Make Install --- no errors. But no phplib4.so file exists on this box. Why?

should i uninstall and reinstall for the 3rd time?

error27
03-04-2001, 08:40 PM
it could be any number of things but the first thing I would do is try typing ldconfig as root after you installed php.

error27
03-04-2001, 08:47 PM
wait... didn't read the question fully. (although that answer is still valid). When you type "make" it doesn't create a libphp4.so file?

if not then that's your problem.

(all that make-install does is move the libphp4.so to the right spot on your hardrive)

mstembri3
03-04-2001, 09:14 PM
Will it hurt anything to run make a second time? (or is that, will it 'help' anything to run it a second time?)

mstembri3
03-04-2001, 11:47 PM
running make and make install a second time did not alleviate the problem.

Is there anyone who knows how to remove compiled programs, or do I have to reinstall Linux altogether?

bdg1983
03-05-2001, 12:08 PM
Some, but not all will allow 'make uninstall'.