[Ltrace-devel] ltrace and libelf
Marc Kleine-Budde
mkl at pengutronix.de
Mon Nov 1 13:58:15 UTC 2010
On 11/01/2010 02:05 PM, Petr Machata wrote:
> Hi,
>
> I'm working with Zach's github tree. There, configure requires
> libelf.pc to be installed.
>
> I don't think that's correct, there's at least one other libelf
> available in elfutils, which has incompatible versioning and doesn't
> ship the .pc file. It's available on Red Hat-line of linuxes: Fedora,
> RHEL, Centos, where, as far as I can tell, libelf isn't in the
> repositories.
>
> I think autoconf should be rewritten to ask for libelf the traditional
> way, that is to ask for libelf functions that we use. I'd like to know
> your opinion before I start throwing patches around.
Sounds like a plan. I've added a patch to my repo that uses the
traditional way, if pkg-config fails. Testes on ubuntu with feroa's
libelfutils.
cheers, Marc
--
The following changes since commit 14fb133518a1ad91e58852c960370d32ad8f36e7:
Add -w/--where to show backtraces of traced functions. (2010-10-31 14:26:59 -0700)
are available in the git repository at:
git://git.pengutronix.de/git/mkl/ltrace.git fix/libelf-wo-pc
Marc Kleine-Budde (2):
configure: use AS_HELP_STRING to pretty print help text
configure: add pkg-config-less libelf detection
configure.ac | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20101101/9410d7e9/attachment.pgp>
More information about the Ltrace-devel
mailing list