You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by C K Tan <ck...@nxscientific.com> on 2002/08/18 08:34:02 UTC
compiling APR on Mac OS X
For a fresh CVS co of the APR tree, after
% buildconf
% configure
% make
I got this error:
ld: -undefined error must be used when -twolevel_namespace is in effect
/usr/bin/libtool: internal link edit command failed
Has anyone done this before for Mac OS X?
Thanks,
-cktan
Re: compiling APR on Mac OS X
Posted by Pier Fumagalli <pi...@betaversion.org>.
On Sunday, Aug 18, 2002, at 09:05 Europe/London, Justin Erenkrantz
wrote:
> On Sun, Aug 18, 2002 at 02:34:02PM +0800, C K Tan wrote:
>> For a fresh CVS co of the APR tree, after
>>
>> % buildconf
>> % configure
>> % make
>>
>> I got this error:
>> ld: -undefined error must be used when -twolevel_namespace is in
>> effect
>> /usr/bin/libtool: internal link edit command failed
>>
>> Has anyone done this before for Mac OS X?
>
> You need to have a patched GNU libtool. Either use the one in
> fink, or use Pier's at:
>
> http://www.betaversion.org/~pier/macosx/
>
> The version included in 10.2 should also be sufficent without
> patching, but I bet you're not using that yet. =) -- justin
I'm trying it out right now... Clean 6C115a install.
Re: compiling APR on Mac OS X
Posted by Justin Erenkrantz <je...@apache.org>.
On Sun, Aug 18, 2002 at 02:34:02PM +0800, C K Tan wrote:
> For a fresh CVS co of the APR tree, after
>
> % buildconf
> % configure
> % make
>
> I got this error:
> ld: -undefined error must be used when -twolevel_namespace is in effect
> /usr/bin/libtool: internal link edit command failed
>
> Has anyone done this before for Mac OS X?
You need to have a patched GNU libtool. Either use the one in
fink, or use Pier's at:
http://www.betaversion.org/~pier/macosx/
The version included in 10.2 should also be sufficent without
patching, but I bet you're not using that yet. =) -- justin