You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by SETH <sl...@gmail.com> on 2006/05/27 08:23:34 UTC

/usr/bin/libtool: can't map file: /usr/local/apache2/lib ((os/kern) invalid argument)

Hi --

I'm trying to compile a subversion 1.3.1 server from source on my mac
but ran into the error below.

I successfully compiled apache 2.2,2 so I ran the following so the apr
and apr-util libs would be the same.

% ./autogen.sh
%  ./configure --with-apr=/usr/local/apache2/
--with-apr-util=/usr/local/apache2/  --prefix=/usr/local
--with-openssh --with-ssl --with-zlib
% ./make

...and then hit the error.

Any insight you could lend would be greatly appreciated.  I searched
the archives but couldn't find anything helpful regarding this error.

Thanks,
SETH

---begin error text---
cd subversion/libsvn_subr && /bin/sh
/Users/seth/src/subversion-1.3.1/libtool --tag=CC --silent --mode=link
gcc  -g -O2  -g -O2   -L/usr/local/apache2/lib  -rpath /usr/local/lib
-o libsvn_subr-1.la  auth.lo cmdline.lo config.lo config_auth.lo
config_file.lo config_win.lo constructors.lo ctype.lo date.lo error.lo
hash.lo io.lo lock.lo md5.lo nls.lo opt.lo path.lo pool.lo quoprint.lo
sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo
time.lo utf.lo utf_validate.lo validate.lo version.lo xml.lo
/usr/local/apache2/lib/libaprutil-1.la -lexpat -liconv
/usr/local/apache2/lib/libapr-1.la -lpthread -lz
/usr/bin/libtool: can't map file: /usr/local/apache2/lib ((os/kern)
invalid argument)
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
--end error text--

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: /usr/bin/libtool: can't map file: /usr/local/apache2/lib ((os/kern) invalid argument)

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 27, 2006, at 10:23, SETH wrote:

> I'm trying to compile a subversion 1.3.1 server from source on my mac
> but ran into the error below.

[snip]

> ---begin error text---
> cd subversion/libsvn_subr && /bin/sh
> /Users/seth/src/subversion-1.3.1/libtool --tag=CC --silent --mode=link
> gcc  -g -O2  -g -O2   -L/usr/local/apache2/lib  -rpath /usr/local/lib
> -o libsvn_subr-1.la  auth.lo cmdline.lo config.lo config_auth.lo
> config_file.lo config_win.lo constructors.lo ctype.lo date.lo error.lo
> hash.lo io.lo lock.lo md5.lo nls.lo opt.lo path.lo pool.lo quoprint.lo
> sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo
> time.lo utf.lo utf_validate.lo validate.lo version.lo xml.lo
> /usr/local/apache2/lib/libaprutil-1.la -lexpat -liconv
> /usr/local/apache2/lib/libapr-1.la -lpthread -lz
> /usr/bin/libtool: can't map file: /usr/local/apache2/lib ((os/kern)
> invalid argument)
> make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
> --end error text--

I haven't tried compiling Subversion or Apache myself on my Mac, but  
the Apache 2.2.2, APR 1.2.7 and Subversion 1.3.1 which come with  
DarwinPorts [1] have worked great for me. An alternative to  
DarwinPorts is Fink [2], which may or may not also work. (I haven't  
tried.) Finally, there are several binary distributions of Subversion  
for Mac OS X, though they may not include Apache. If you really want  
to compile this all yourself, your best bet may be to read the  
DarwinPorts port files and see how they did it.

[1] http://www.darwinports.org/
[2] http://fink.sourceforge.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org