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 15:38:47 NZDT 2003


sweet.

After a quick "apt-get install libelf-devel" it was away.

Thanks.


----- Original Message ----- 
From: "orion" <orion@c...>
To: "'wlug'" <wlug@l...>
Sent: Monday, February 24, 2003 2:46 PM
Subject: RE: [wlug] Compile time errors with PHP on RedHat 8


> 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
> [mailto:andrew@m...] 
> 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 snmp.la -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]: *** [snmp.la] Error 1
> make[3]: Leaving directory
> `/usr/src/redhat/BUILD/php-4.2.2/build-cgi/ext/snmp'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/src/redhat/BUILD/php-4.2.2/build-cgi/ext/snmp'
> 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.
> 
> 
> Regards,
> 
> 
> Andrew Thrift
> 
> 
> _______________________________________________
> wlug mailing list
> wlug@l... http://list.waikato.ac.nz/mailman/listinfo/wlug
> 
> 
> _______________________________________________
> wlug mailing list
> wlug@l...
> http://list.waikato.ac.nz/mailman/listinfo/wlug
> 




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