Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 120585

Summary: libtool included with apr doesn't work well under gentoo
Product: Gentoo Linux Reporter: Chris Hyde <gentoo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Hyde 2006-01-27 16:39:58 UTC
apr (Apache Portable Runtime) includes it's own libtool that doesn't play nice with Gentoo.

 emerge dev-libs/apr
 /usr/bin/apr-config --apr-libtool # most things that compile against apr use this

An example package is apr_memcache, a C API using apr for memcache. Compiling this package gives:

libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'

I fixed this by:

 cd /usr/share/apr-0/build
 mv libtool libtool.old
 ln -s /usr/bin/libtool libtool

Using the stock libtool works.

ebuild for dev-util/apr needs tweaking to remove the built in libtool.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-27 16:41:35 UTC

*** This bug has been marked as a duplicate of 81260 ***