---
title: "libtool: compile: unable to infer tagged configuration"
description: "<p>I got the following annoying little error after I tried to upgrade to a newer mod_python on my Gentoo Linux box:</p>
<blockquote>
<p> libtool: compile: unable to infer tagged configuration</p></blockquote>
<p>It seems that the main problem was due to the fact that Iâ€™ve switched to GCC 4.1.1 and when compiling mod_python, the compilation uses libtool that is brought and compiled with Apache (located under /usr/share/apr-0/build/) which should have been recompiled after Iâ€™ve upgraded to the new GCC (I was too lazy to continue running the â€śemerge -e systemâ€ť command so I stopped it after GCC was recompiled).</p>"
doc_version: "1"
last_updated: "2017-06-02"
date: 2007-03-05
tags: [apache, GCC, gcc-4.1.1, Gentoo, Gentoo-Linux, libtool, Linux, mod_python, unable-to-infer-tagged-configuration]
canonical: "https://eran.sandler.co.il/2007/03/05/libtool-compile-unable-to-infer-tagged-configuration/"
---

## Sitemap

- [Home](https://eran.sandler.co.il/)

I got the following annoying little error after I tried to upgrade to a newer mod_python on my Gentoo Linux box:

>  libtool: compile: unable to infer tagged configuration

It seems that the main problem was due to the fact that I&#8217;ve switched to GCC 4.1.1 and when compiling mod_python, the compilation uses libtool that is brought and compiled with Apache (located under /usr/share/apr-0/build/) which should have been recompiled after I&#8217;ve upgraded to the new GCC (I was too lazy to continue running the &#8220;emerge -e system&#8221; command so I stopped it after GCC was recompiled).

To solve it, simple recompile Apache and emerge upgrade mod_python.