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
orion orion@c...
Mon Feb 24 14:46:47 NZDT 2003

Yes, it can't find the ELF library.
Whatever that does, I don't know. Go and get it =)

-----Original Message-----
From: Andrew Thrift @ Millennium
Sent: Monday, 24 February 2003 2:36 p.m.
To: wlug
Subject: [wlug] Compile time errors with PHP on RedHat 8

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 /usr/src/redhat/BUILD/php-4.2.2/build-cgi/modules
 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
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

wlug mailing list

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