Re: [mp1] Linking confusion

[prev] [thread] [next] [Date index for 2004/12/31]

From: Stas Bekman
Subject: Re: [mp1] Linking confusion
Date: 00:00 on 31 Dec 2004
William McKee wrote:
> On Thu, Dec 30, 2004 at 05:57:07PM -0500, Stas Bekman wrote:
> 
>>As [2] explains you have more than one libperl.so and the wrong one gets 
>>loaded. libperl.so should *not* be in /usr/lib or any other globally seen 
>>loader path if you want to have more than one perl on the same system. 
>>Unfortunately some distros don't get it and install libperl.(so|a) into 
>>/usr/lib :(
> 
> 
> I'm guessing that this goes for any libperl.so, e.g. libperl.so.5.6 or
> libperl.so.5.8. If so then it would explain the weird behavior that I've
> been getting when compiling mod_perl.

Normally in addition to libperl.so.5.8 there will be a symlink to 
libperl.so. Applications normally link against .so and not .so.x.y, so an 
upgrade of that library will be possible w/o requiring the compilation of 
the former.


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

[mp1] Linking confusion
William McKee 20:53 on 30 Dec 2004

Re: [mp1] Linking confusion
Stas Bekman 22:57 on 30 Dec 2004

Re: [mp1] Linking confusion
William McKee 23:56 on 30 Dec 2004

Re: [mp1] Linking confusion
Stas Bekman 00:00 on 31 Dec 2004

Re: [mp1] Linking confusion
William McKee 00:28 on 31 Dec 2004

Re: [mp1] Linking confusion
Stas Bekman 00:32 on 31 Dec 2004

Re: [mp1] Linking confusion
William McKee 15:48 on 31 Dec 2004

Re: [mp1] Linking confusion
Stas Bekman 16:35 on 31 Dec 2004

Re: [mp1] Linking confusion
William McKee 17:01 on 31 Dec 2004

Re: [mp1] Linking confusion
Stas Bekman 19:02 on 31 Dec 2004

Re: [mp1] Linking confusion
William McKee 04:46 on 31 Dec 2004

Re: [mp1] Linking confusion
Michael Robinton 21:14 on 01 Jan 2005

Re: [mp1] Linking confusion
William McKee 20:08 on 31 Dec 2004

Re: [mp1] Linking confusion
Stas Bekman 21:06 on 31 Dec 2004

Generated at 12:16 on 16 Jan 2005 by mariachi v0.52