high-level architecture? - Can't find 'boot_MyMod' symbol in...

[email protected] ("Tom Hintz") Thu, 21 Feb 2008 16:36:18 -0600
Newsgroups perl.jpl
Message-ID <00bf01c874da$2cdca790$8695f6b0$@com>
------=_NextPart_000_00C0_01C874A7.E2423790
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I've got a java app that calls through to Perl modules that's worked for a
very long time on perl 5.005.  Long story short, we have now have Java 6 and
perl 5.8.4 and this doesn't work. Running the Java app reports:

 

Can't find 'boot_MyMod' symbol in /export/./libMyMod.so

 At /export/./MyModFactory.pm line 32

Compilation failed in require at /export/./MyModFactory.pm line 32.

 

There is no boot_MyMod symbol generated by anything that I know of.

 

Can someone sketch the high-level relationship of a JPL embedded
architecture?  Sure would help if I knew what loaded what and in what order.
I'm guessing: java->JNI.so->libMyMod.so->libPerlInterpreter.so->MyMod.pm?

 

Thanks!

 

 _________________________________________

Tom Hintz

 

Direct | 952-707-5412

Cell | 818-321-1487

Fax | 770-242-8270

Google IM | [email protected]

 

 <http://www.comsquared.com/> www.comsquared.com

 

IMPORTANT NOTICE: This communication is privileged and contains confidential
information for the sole use of the intended recipient(s). Any unauthorized
disclosure, copying or use of this communication is strictly prohibited. If
you have received this message in error, please contact the sender and
delete this message without printing it or otherwise retaining a copy.

 


------=_NextPart_000_00C0_01C874A7.E2423790
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"Comic Sans MS";
	panose-1:3 15 7 2 3 3 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal>I&#8217;ve got a java app that calls through to =
Perl modules
that&#8217;s worked for a very long time on perl 5.005.&nbsp; Long story =
short,
we have now have Java 6 and perl 5.8.4 and this doesn&#8217;t work. =
Running the
Java app reports:<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Can't find 'boot_MyMod' symbol in =
/export/&#8230;/libMyMod.so<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;At /export/&#8230;/MyModFactory.pm line =
32<o:p></o:p></p>

<p class=3DMsoNormal>Compilation failed in require at =
/export/&#8230;/MyModFactory.pm
line 32.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>There is no boot_MyMod symbol generated by anything =
that I
know of.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Can someone sketch the high-level relationship of a =
JPL embedded
architecture?&nbsp; Sure would help if I knew what loaded what and in =
what
order.&nbsp; I&#8217;m guessing:
java-&gt;JNI.so-&gt;libMyMod.so-&gt;libPerlInterpreter.so-&gt;MyMod.pm?<o=
:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Thanks!<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>&nbsp;<b><span style=3D'font-family:"Comic Sans =
MS";
color:navy'>_________________________________________</span></b><o:p></o:=
p></p>

<p class=3DMsoNormal><b><i><span style=3D'color:purple'>Tom =
Hintz</span></i></b><o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;<o:p></o:p></p>

<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Comic =
Sans MS";
color:navy'>Direct</span><span =
style=3D'font-size:9.0pt;font-family:"Comic Sans MS";
color:#5F5F5F'> </span><b><span =
style=3D'font-size:9.0pt;font-family:"Comic Sans MS";
color:purple'>|</span></b><span =
style=3D'font-size:9.0pt;font-family:"Comic Sans MS";
color:#5F5F5F'> 952-707-5412<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Comic =
Sans MS";
color:navy'>Cell</span><span style=3D'font-size:9.0pt;font-family:"Comic =
Sans MS";
color:#5F5F5F'> </span><b><span =
style=3D'font-size:9.0pt;font-family:"Comic Sans MS";
color:purple'>|</span></b><span =
style=3D'font-size:9.0pt;font-family:"Comic Sans MS";
color:#5F5F5F'> 818-321-1487<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Comic =
Sans MS";
color:navy'>Fax</span><span style=3D'font-size:9.0pt;font-family:"Comic =
Sans MS";
color:#5F5F5F'> </span><b><span =
style=3D'font-size:9.0pt;font-family:"Comic Sans MS";
color:purple'>|</span></b><span =
style=3D'font-size:9.0pt;font-family:"Comic Sans MS";
color:#5F5F5F'> 770-242-8270</span><o:p></o:p></p>

<p class=3DMsoNormal><span style=3D'font-size:9.0pt;font-family:"Comic =
Sans MS";
color:navy'>Google IM</span><span =
style=3D'font-size:9.0pt;font-family:"Comic Sans MS";
color:#5F5F5F'> </span><b><span =
style=3D'font-size:9.0pt;font-family:"Comic Sans MS";
color:purple'>|</span></b><span =
style=3D'font-size:9.0pt;font-family:"Comic Sans MS";
color:#5F5F5F'> [email protected]</span><o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Comic =
Sans MS";
color:navy'><a href=3D"http://www.comsquared.com/"><span =
style=3D'color:blue'>www.comsquared.com</span></a></span><o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;<o:p></o:p></p>

<p class=3DMsoNormal><span =
style=3D'font-size:7.5pt;color:navy'>IMPORTANT NOTICE:
This communication is privileged and contains confidential information =
for the
sole use of the intended recipient(s). Any unauthorized disclosure, =
copying or
use of this communication is strictly prohibited. If you have received =
this
message in error, please contact the sender and delete this message =
without
printing it or otherwise retaining a copy.</span><o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

------=_NextPart_000_00C0_01C874A7.E2423790--