Hi ,
Have configured php(4.0.6) on Linux 6.2 with xml,xsl,imap,sablot with enable static option and disabling shared.On compiling and then running an ldd on libphp4.a shows it as a statically linked library.
However , by activating the php module in the apache(1.3.20) configuration and compiling all the modules statically(This i do by editing the src/Makefile with gcc -static), it gives an error cannot find lpam which is present in /lib.If i dont link them statically an ldd on httpd shows a lot of dependent libraries which i do not want.
Is there a way i can solve this problem or any other way in which i can achieve the statically linking of php with apache so that on runnig an ldd on httpd should not show any dependencies.Large Binary size of httpd is not an issue.
Regards,
Dinesh