When compiling PHP 5.1.2, I use the ff configure command :
‘./configure’ ‘–with-mysql=/usr’ ‘–enable-calendar’ ‘–enable-
force-cgi-redirect’ ‘–with-config-file-path=/home/myusername/’ ‘–
enable-trans-sid’ ‘–with-gd’ ‘–with-ttf=/usr’ ‘–with-freetype-
dir=/usr’ ‘–with-exif’ ‘–with-jpeg-dir=/usr’ ‘–with-png-
dir=/usr’ ‘–with-zlib-dir=/usr’ ‘–enable-ftp’ ‘–with-gettext’ ‘–
enable-mbstring=all’ ‘–with-xml’ ‘–prefix=/home/myusername/php’ ‘–
without-pear’
- take note that myusername is not the real server username.
when I issue the “make” command an error appears after some time :
libtool: link: `ext/hash/hash_haval.lo’ is not a valid libtool object
make: *** [sapi/cgi/php] Error 1
anyone knows how to get around this error? thanks.
P.S. I’ve already sent a message to support, but they told me to post it here. weird I know… I’ve already compiled PHP many times in different dreamhost servers and each time I do the same thing but this error appeared just now on a specific server. thanks.