Description of problem: I was trying to build php4.3.0 rpm based on the php4.2 rpm but new source. Link failed linking to libelf (which is installed); strace shows it to be looking for libelf.la; I notice other lib* packages include .la files for libraries so I guess libelf should also include the .la version to help libtool linking, though I really think libtool should have been able to manage without it so perhaps it is a libtool bug? Version-Release number of selected component (if applicable): 0.8.2 How reproducible: very Steps to Reproduce: 1.ls -l /usr/lib/libelf.la 2.note nothing there 3.???? 4.profit! Additional info: Maybe libtool is at error? The system is RH8.0 fully up2date
libtool ought to work even if there is no .la file (in this case primarily because libelf (nor elfutils) are libtoolized). If is either libtool bug, or bug in the php source you're trying to build.
I've seen similar problems with PHP, I think it was because libnetsnmp.la had a depedency on libelf.la, or something like that - try grabbing a more recent set of net-snmp packages.
Created attachment 94638 [details] Missing libelf.la A dummy libelf.la
Comment on attachment 94638 [details] Missing libelf.la Context: RPMS build Add this dummy libelf.la to SOURCES. Then in %prep section do: cp -a %{SOURCExy} . LD_LIBRARY_PATH=`pwd` make <...>