Online Shopping : Computers : Programming : Languages : PHP : Installation and Setup : Web Servers : Apache

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

161 of 180 people (89%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

When starting apache i get "Cannot load /usr/local/apache_1.3.12/libexec/libphp4.so into server: undefined symbol: uncompress"
undefined reference to `compress'

Oct 30th, 2008 03:54
games games, David Greenberg, Thomas tanghus, Guest, Matthew Gregory, Beauford Beauford, http://www.info-zip.org/pub/infozip/zlib/


"uncompress" comes from libz.so.<version>, which is a DSO library that 
must be installed on your system in a library directory.  This library 
provides support for various compression utilities, similar to the 
functionality of the <uncompress> or <gunzip> commands.
If you don't have it already, install the latest version of zlib.  
(See 
the link above.)  
Be sure to run <ldconfig> as root to configure your newly installed 
libz.so library file. ldconfig creates a shared library cache and 
maintains symbolic links to the actual library files, with appropriate 
version numbers.  
The above problem may occur regardless of whether you configure PHP's 
build using the --without-zlib option.
Why?
If you compile in MySQL support -- and most people do -- MySQL's 
client 
library (also a dynamically linked library) requires the functionality 
of ZLIB.
To fix the problem, all you have to do, right before you run 
PHP's "make", is 
to edit your top-level Makefile and modify the following line:
LTLIBRARY_LDFLAGS = -lz [ ... ]
The important part is the -lz, which is not present by default.
Now, you can run make and then make install, and everything should 
work 
fine.
You can verify dependencies of the libphp4.so module as follows:
[[email protected] apache]$ ldd libexec/libphp4.so
        libz.so.1 => /usr/lib/libz.so.1 (0x40129000)
        libpam.so.0 => /lib/libpam.so.0 (0x40138000)
        libdl.so.2 => /lib/libdl.so.2 (0x40140000)
        libgd.so.1 => /usr/lib/libgd.so.1 (0x40143000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40179000)
        libm.so.6 => /lib/libm.so.6 (0x40188000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x401a5000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x401d2000)
        libc.so.6 => /lib/libc.so.6 (0x401e8000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[[email protected] apache]$ 
See how libz is listed?  This is *essential*.  If this occurs, you 
should be in good shape.
P.S: I ran into this problem on RH Linux 6.1 with patches. I have not 
tested on other systems.  zlib is available for almost every flavor of 
UNIX.
PPS: If you don't use MySQL and you don't plan to use the compression 
library, configure using --without-zlib.
Cheers!
http://www.f01h.com/1.html 
http://www.f01h.com/2.html 
http://www.f01h.com/3.html 
http://www.f01h.com/4.html 
http://www.f01h.com/5.html 
http://www.f01h.com/6.html 
http://www.f01h.com/7.html 
http://www.f01h.com/8.html 
http://www.f01h.com/9.html 
http://www.f01h.com/10.html 
http://www.f01h.com/11.html 
http://www.f01h.com/12.html 
http://www.f01h.com/13.html 
http://www.f01h.com/14.html 
http://www.f01h.com/15.html 
http://www.f01h.com/16.html 
http://www.f01h.com/17.html 
http://www.f01h.com/18.html 
http://www.f01h.com/19.html 
http://www.f01h.com/20.html 
http://www.f01h.com/21.html 
http://www.f01h.com/22.html 
http://www.f01h.com/23.html 
http://www.f01h.com/24.html 
http://www.f01h.com/25.html 
http://www.f01h.com/26.html 
http://www.f01h.com/27.html 
http://www.f01h.com/28.html 
http://www.f01h.com/29.html 
http://www.f01h.com/30.html 
http://www.f01h.com/31.html 
http://www.f01h.com/32.html 
http://www.f01h.com/33.html 
http://www.f01h.com/34.html 
http://www.f01h.com/35.html 
http://www.f01h.com/36.html 
http://www.f01h.com/37.html 
http://www.f01h.com/38.html 
http://www.f01h.com/39.html 
http://www.f01h.com/40.html 
http://www.f01h.com/41.html 
http://www.f01h.com/42.html 
http://www.f01h.com/43.html 
http://www.f01h.com/44.html 
http://www.f01h.com/45.html 
http://www.f01h.com/46.html 
http://www.f01h.com/47.html 
http://www.f01h.com/48.html 
http://www.f01h.com/49.html 
http://www.f01h.com/50.html 
http://www.f01h.com/51.html 
http://www.f01h.com/52.html 
http://www.f01h.com/53.html 
http://www.f01h.com/54.html 
http://www.f01h.com/55.html 
http://www.f01h.com/56.html 
http://www.f01h.com/57.html 
http://www.f01h.com/58.html 
http://www.f01h.com/59.html 
http://www.f01h.com/60.html 
http://www.f01h.com/61.html 
http://www.f01h.com/62.html 
http://www.f01h.com/63.html 
http://www.f01h.com/64.html 
http://www.f01h.com/65.html 
http://www.f01h.com/66.html 
http://www.f01h.com/67.html 
http://www.f01h.com/68.html 
http://www.f01h.com/69.html 
http://www.f01h.com/70.html 
http://www.f01h.com/71.html 
http://www.f01h.com/72.html 
http://www.f01h.com/73.html 
http://www.f01h.com/74.html 
http://www.f01h.com/75.html 
http://www.f01h.com/76.html 
http://www.f01h.com/77.html 
http://www.f01h.com/78.html 
http://www.f01h.com/79.html 
http://www.f01h.com/80.html 
http://www.f01h.com/81.html 
http://www.f01h.com/82.html 
http://www.f01h.com/83.html 
http://www.f01h.com/84.html 
http://www.f01h.com/85.html 
http://www.f01h.com/86.html 
http://www.f01h.com/87.html 
http://www.f01h.com/88.html 
http://www.f01h.com/89.html 
http://www.f01h.com/90.html 
http://www.f01h.com/91.html 
http://www.f01h.com/92.html 
http://www.f01h.com/93.html 
http://www.f01h.com/94.html 
http://www.f01h.com/95.html 
http://www.f01h.com/96.html 
http://www.f01h.com/97.html 
http://www.f01h.com/98.html 
http://www.f01h.com/99.html 
http://www.f01h.com/100.html 
http://www.f01h.com/101.html 
http://www.f01h.com/102.html 
http://www.f01h.com/103.html 
http://www.f01h.com/104.html 
http://www.f01h.com/105.html 
http://www.f01h.com/106.html 
http://www.f01h.com/107.html 
http://www.f01h.com/108.html 
http://www.f01h.com/109.html 
http://www.f01h.com/110.html 
http://www.f01h.com/111.html 
http://www.f01h.com/112.html 
http://www.f01h.com/113.html 
http://www.f01h.com/114.html 
http://www.f01h.com/115.html 
http://www.f01h.com/116.html 
http://www.f01h.com/117.html 
http://www.f01h.com/118.html 
http://www.f01h.com/119.html 
http://www.f01h.com/120.html 
http://www.f01h.com/121.html 
http://www.f01h.com/122.html 
http://www.f01h.com/123.html 
http://www.f01h.com/124.html 
http://www.f01h.com/125.html 
http://www.f01h.com/126.html 
http://www.f01h.com/127.html 
http://www.f01h.com/128.html 
http://www.f01h.com/129.html 
http://www.f01h.com/130.html 
http://www.f01h.com/131.html 
http://www.f01h.com/132.html 
http://www.f01h.com/133.html 
http://www.f01h.com/134.html 
http://www.f01h.com/135.html 
http://www.f01h.com/136.html 
http://www.f01h.com/137.html 
http://www.f01h.com/138.html 
http://www.f01h.com/139.html 
http://www.f01h.com/140.html 
http://www.f01h.com/141.html 
http://www.f01h.com/142.html 
http://www.f01h.com/143.html 
http://www.f01h.com/144.html 
http://www.f01h.com/145.html 
http://www.f01h.com/146.html 
http://www.f01h.com/147.html 
http://www.f01h.com/148.html 
http://www.f01h.com/149.html 
http://www.f01h.com/150.html 
http://www.f01h.com/151.html 
http://www.f01h.com/152.html 
http://www.f01h.com/153.html 
http://www.f01h.com/154.html 
http://www.f01h.com/155.html 
http://www.f01h.com/156.html 
http://www.f01h.com/157.html 
http://www.f01h.com/158.html 
http://www.f01h.com/159.html 
http://www.f01h.com/160.html 
http://www.f01h.com/161.html 
http://www.f01h.com/162.html 
http://www.f01h.com/163.html 
http://www.f01h.com/164.html 
http://www.f01h.com/165.html 
http://www.f01h.com/166.html 
http://www.f01h.com/167.html 
http://www.f01h.com/168.html 
http://www.f01h.com/169.html 
http://www.f01h.com/170.html 
http://www.f01h.com/171.html 
http://www.f01h.com/172.html 
http://www.f01h.com/173.html 
http://www.f01h.com/174.html 
http://www.f01h.com/175.html 
http://www.f01h.com/176.html 
http://www.f01h.com/177.html 
http://www.f01h.com/178.html 
http://www.f01h.com/179.html 
http://www.f01h.com/180.html 
http://www.f01h.com/181.html 
http://www.f01h.com/182.html 
http://www.f01h.com/183.html 
http://www.f01h.com/184.html 
http://www.f01h.com/185.html 
http://www.f01h.com/186.html 
http://www.f01h.com/187.html 
http://www.f01h.com/188.html 
http://www.f01h.com/189.html 
http://www.f01h.com/190.html 
http://www.f01h.com/191.html 
http://www.f01h.com/192.html 
http://www.f01h.com/193.html 
http://www.f01h.com/194.html 
http://www.f01h.com/195.html 
http://www.f01h.com/196.html 
http://www.f01h.com/197.html 
http://www.f01h.com/198.html 
http://www.f01h.com/199.html 
http://www.f01h.com/200.html 
http://www.f01h.com/201.html 
http://www.f01h.com/202.html 
http://www.f01h.com/203.html 
http://www.f01h.com/204.html 
http://www.f01h.com/205.html 
http://www.f01h.com/206.html 
http://www.f01h.com/207.html 
http://www.f01h.com/208.html 
http://www.f01h.com/209.html 
http://www.f01h.com/210.html 
http://www.f01h.com/211.html 
http://www.f01h.com/212.html 
http://www.f01h.com/213.html 
http://www.f01h.com/214.html 
http://www.f01h.com/215.html 
http://www.f01h.com/216.html 
http://www.f01h.com/217.html 
http://www.f01h.com/218.html 
http://www.f01h.com/219.html 
http://www.f01h.com/220.html 
http://www.f01h.com/221.html 
http://www.f01h.com/222.html 
http://www.f01h.com/223.html 
http://www.f01h.com/224.html 
http://www.f01h.com/225.html 
http://www.f01h.com/226.html 
http://www.f01h.com/227.html 
http://www.f01h.com/228.html 
http://www.f01h.com/229.html 
http://www.f01h.com/230.html 
http://www.f01h.com/231.html 
http://www.f01h.com/232.html 
http://www.f01h.com/233.html 
http://www.f01h.com/234.html 
http://www.f01h.com/235.html 
http://www.f01h.com/236.html 
http://www.f01h.com/237.html 
http://www.f01h.com/238.html 
http://www.f01h.com/239.html 
http://www.f01h.com/240.html 
http://www.f01h.com/241.html 
http://www.f01h.com/242.html 
http://www.f01h.com/243.html 
http://www.f01h.com/244.html 
http://www.f01h.com/245.html 
http://www.f01h.com/246.html 
http://www.f01h.com/247.html 
http://www.f01h.com/248.html 
http://www.f01h.com/249.html 
http://www.f01h.com/250.html 
http://www.f01h.com/251.html 
http://www.f01h.com/252.html