[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 <[EMAIL PROTECTED]>
To: James Cox <[EMAIL PROTECTED]>
CC: APRDev <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
