Re: undefined symbol: PL_stack_sp
[email protected] (demerphq) Thu, 17 Jul 2014 11:25:50 +0200
| Newsgroups | perl.inline |
|---|---|
| Message-ID | <CANgJU+Uj65VkSO2UyOE3ygSg1JyVGMri37novxbWcxU0-oYWjg@mail.gmail.com> |
--089e013cba9604b66604fe603ac6 Content-Type: text/plain; charset=UTF-8 On 17 July 2014 11:07, demerphq <[email protected]> wrote: > On 17 July 2014 10:06, <[email protected]> wrote: > >> >> From: demerphq >> Sent: Thursday, July 17, 2014 4:45 PM >> >> >> /git_tree/perl/Porting/_Inline/lib/auto/FOO_2bd2/FOO_2bd2.so: undefined >>>> symbol: PL_stack_sp at /usr/lib/perl/5.14/DynaLoader.pm line 184. >>>> at /usr/local/share/perl/5.14.2/Inline.pm line 526. >>>> >>> >> Looks to me that we've got two different perls getting involved here: >> /usr/lib/perl/5.14/ >> and >> /usr/local/share/perl/5.14.2 >> >> I think that's likely to be the problem. >> > > Thanks, ill dig on that. > > My laptop system perl seems to have a confused state. In hindsight hardly surprising. I used perlbrew to switch to a different perl, and now I can get it to build. One side issue of the perlbrew version was that I had (for no good reason) put the files I wanted to compile in the Porting directory of a perl.git checkout. This then confused makemaker. When I moved the scripts out of a perl build tree it started behaving properly. IMO that issue can be left at "so dont do that". :-) The original issue however might be handled more gracefully. A message from Inline saying "it looks like your perl install is b0rked" would have be useful. Anyway, thanks for your help! cheers, Yves --089e013cba9604b66604fe603ac6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On 1= 7 July 2014 11:07, demerphq <span dir=3D"ltr"><<a href=3D"mailto:demerph= [email protected]" target=3D"_blank">[email protected]</a>></span> wrote:<br>= <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> <div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div= class=3D"">On 17 July 2014 10:06, <span dir=3D"ltr"><<a href=3D"mailto= :[email protected]" target=3D"_blank">[email protected]</a>= ></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p= adding-left:1ex"> <br> From: demerphq<br> Sent: Thursday, July 17, 2014 4:45 PM<div><br> <br> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p= adding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px = 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-l= eft-style:solid;padding-left:1ex"> /git_tree/perl/Porting/_<u></u>Inline/lib/auto/FOO_2bd2/FOO_<u></u>2bd2.so:= undefined<br> symbol: PL_stack_sp at /usr/lib/perl/5.14/DynaLoader.<u></u>pm line 184.<br= > =C2=A0at /usr/local/share/perl/5.14.2/<u></u>Inline.pm line 526.<br> </blockquote></blockquote> <br></div> Looks to me that we've got two different perls getting involved here:<b= r> /usr/lib/perl/5.14/<br> and<br> /usr/local/share/perl/5.14.2<br> <br> I think that's likely to be the problem.<br></blockquote><div><br></div= ></div><div>Thanks, ill dig on that.</div><div class=3D""><br></div></div><= /div></div></blockquote><div><br></div><div>My laptop system perl seems to = have a confused state. In hindsight hardly surprising.</div> <div>=C2=A0</div><div>I used perlbrew to switch to a different perl, and no= w I can get it to build.</div><div><br></div><div>One side issue of the per= lbrew version was that I had (for no good reason) put the files I wanted to= compile in the Porting directory of a perl.git checkout. This then confuse= d makemaker. When I moved the scripts out of a perl build tree it started b= ehaving properly. IMO that issue can be left at "so dont do that"= . :-)</div> <div><br></div><div>The original issue however might be handled more gracef= ully. A message from Inline saying "it looks like your perl install is= b0rked" would have be useful.</div><div><br></div><div>Anyway, thanks= for your help!</div> <div><br></div><div>cheers,</div><div>Yves</div></div></div></div> --089e013cba9604b66604fe603ac6--