You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2002/11/12 09:32:32 UTC
[Fwd: Re: FW: library versioning name]
[catching up with the apr-dev list]
According to that thread, the libapr file is changing its versioning
approach, moving towards libapr-$version.so, meaning that -lapr might
not work anymore.
So at some point we might need to change xs/APR/APR/Makefile.PL, to use
APR_LIBS="`apr-config --link-ld`" instead of hardcoded -lapr as Greg
suggests in the attached email.
-------- Original Message --------
Subject: Re: FW: library versioning name
Date: Tue, 17 Sep 2002 01:19:44 -0700
From: Greg Stein <gs...@lyra.org>
To: James Cox <im...@php.net>
CC: APRDev <de...@apr.apache.org>
References: <MM...@php.net>
On Tue, Sep 17, 2002 at 07:20:01AM +0100, James Cox wrote:
>...
> > the point is that we still need the -lapr convention to work, to
> > grab the latest version. Is there any way we can do both?
> > eg, on a linux system:
> >
> > /usr/lib/libapr-#.so... (specific version)
> > /usr/lib/libapr.so ... (latest)
You should never use -lapr (for, say, the past six months). The corect form
is:
APR_LIBS="`apr-config --link-ld`"
or maybe
APR_LA_LIBS="`apr-config --link-libtool`"
If you want the includes, then:
APR_INCLUDES="`apr-config --includes`"
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org