Problem installing PHP with Informix support
| From: | Brad Kittredge | Date: | Fri, 17 Dec 2004 02:37:52 +0000 |
| Subject: | Problem installing PHP with Informix support | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-14924@lists.php.net to get a copy of this message | ||
Group,
I'm attempting to install PHP with support for the Informix database on a Red Hat Linux Advanced Server 3 IA64 machine. I'm trying to create an RPM file, so I've edited the php.spec file to include:
--with-informix=/opt/informix
and I've put the path to the informix libraries in the environment variable LD_LIBRARY_PATH
and I'm running the command 'rpmbuild -ba /path/to/spec/file/php.spec'
This is the error I'm seeing.
//usr/bin/ld: cannot find -lphpifx
collect2: ld returned 1 exit status
usr/bin/ld: cannot find -lphpifx
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sapi/cli/php] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.74613 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.74613 (%build)
I'd appreciate any suggestions. Google comes up empty on this one.
Thanks in advance
Brad Kittredge