httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Lemos <>
Subject Re: [users@httpd] Problem when building Apache 2.2.22 with --with-included-apr - libtool: link: only absolute run-paths are allowed
Date Thu, 09 Feb 2012 09:16:51 GMT
Hello Pete,

on 02/09/2012 07:01 AM Pete Houston said the following:
> On Wed, Feb 08, 2012 at 11:33:01PM -0200, Manuel Lemos wrote:
>> It compiles OK, but when it tries to link apr it gives me an libtool
>> error. Full output below.
>> libtool: link: only absolute run-paths are allowed
>> Anybody has a clue what is the matter and how can I avoid this?
> ...
>> 4:5:4    -o -rpath refix/lib passwd/apr_getpass.lo
> You see the argument to -rpath is "refix/lib"? That looks like it was
> supposed to be $prefix/lib which would then be expanded into an absolute
> path. If you can find out where the $p has gone, I guess you'll have the
> answer.

Yes, I just figured the problem. I was using an old config.layout file 
since the 1.x days. It used variables defined as $prefix.

I tried removing the config.layout file and see what the configure 
script generated. It turns out that it used ${prefix} instead. So I 
fixed my config.layout file to use curly braces and it worked.

I also added missing entries in my layout file that configure was adding 
or else the scripts would fail, although I did not need things like 
iconsdir, cgidir and manualdir.

So, mental note for those like me that keep old config.layout files, if 
the scripts fail, you may want to see what is different in your layout 

Thanks for the tip.


Manuel Lemos

JS Classes - Free ready to use OOP components written in JavaScript

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message