Bug 81545 - libelf.la missing
Summary: libelf.la missing
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: libtool
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-01-10 09:45 UTC by Need Real Name
Modified: 2015-01-08 00:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-01-21 14:10:00 UTC
Embargoed:


Attachments (Terms of Use)
Missing libelf.la (883 bytes, text/plain)
2003-09-22 19:49 UTC, Rok Papez
no flags Details

Description Need Real Name 2003-01-10 09:45:45 UTC
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

Comment 1 Jakub Jelinek 2003-01-13 11:45:30 UTC
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.

Comment 2 Joe Orton 2003-01-21 14:10:00 UTC
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.

Comment 3 Rok Papez 2003-09-22 19:49:03 UTC
Created attachment 94638 [details]
Missing libelf.la

A dummy libelf.la

Comment 4 Rok Papez 2003-09-22 19:52:23 UTC
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 <...>


Note You need to log in before you can comment on or make changes to this bug.