University Crest

[wlug] Compile time errors with PHP on RedHat 8

wlug archive index About the wlug list Mailing lists home
To The University of Waikato HomepageWaikato Home > Waikato Mailing Lists > wlug Info > wlug archives
Andrew Thrift @ Millennium andrew@m...
Mon Feb 24 14:36:07 NZDT 2003

Me no programmer.

Can anyone tell me what is causing this error:

 -I/usr/src/redhat/BUILD/php-4.2.2/TSRM  -DUCD_COMPATIBLE -I/usr/src/redhat/
BUILD/php-4.2.2/build-cgi/TSRM -O2 -march=i386 -mcpu=i686 -fPIC  -L/usr/kerb
eros/lib -o -avoid-version -module -rpath
 snmp.lo  -lm -lelf -lcrypto -lnetsnmp
/usr/bin/ld: cannot find -lelf
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.2.2/build-cgi/ext'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.30912 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.30912 (%build)

I am guessing it is missing Linux ELF ???

Any help is much appreciated.


Andrew Thrift

More information about the wlug mailing list
NOTICE: This is an archive of a public mailing list. The University of Waikato is not responsible for its contents.

The University of Waikato - Te Whare Wananga o Waikato