<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Perl and dynamic linking in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137707#M154548</link>
    <description>Hello Glenn,&lt;BR /&gt;&lt;BR /&gt;I found the foll. links about Perl 5.6.1 in HP Websites:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?locBasepartNum=wk155en" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?locBasepartNum=wk155en&lt;/A&gt;〈=English&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Alternative 1:&lt;BR /&gt;From this link &lt;A href="http://mail.gnu.org/archive/html/bug-m4/2001-08/msg00007.html" target="_blank"&gt;http://mail.gnu.org/archive/html/bug-m4/2001-08/msg00007.html&lt;/A&gt;&lt;BR /&gt;I infer that a symlink libperl.so has to be installed and everything works fine.&lt;BR /&gt;&lt;BR /&gt;Alternative 2:&lt;BR /&gt;&lt;BR /&gt;Perl maintains a record of all module installations. To look at this list, simply type:&lt;BR /&gt;&lt;BR /&gt;      perldoc perllocal&lt;BR /&gt;&lt;BR /&gt;That's all you need to do on Unix systems with dynamic linking. Most Unix systems have dynamic linking--if yours doesn't, or if for another reason you have a statically-linked perl, and the module requires compilation, you'll need to build a new Perl binary that includes the module. Again, you'll probably need to be root.&lt;BR /&gt;&lt;BR /&gt;Source: &lt;A href="http://www.perlpod.com/5.6.1/perlmodinstall.html" target="_blank"&gt;http://www.perlpod.com/5.6.1/perlmodinstall.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You may want to give it a shot.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hemanth</description>
    <pubDate>Tue, 09 Dec 2003 22:32:52 GMT</pubDate>
    <dc:creator>Hemanth Gurunath Basrur</dc:creator>
    <dc:date>2003-12-09T22:32:52Z</dc:date>
    <item>
      <title>Perl and dynamic linking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137703#M154544</link>
      <description>I have spent the last 2 days researching and building and re-researching and re-building and I still don't have a good answer.&lt;BR /&gt;&lt;BR /&gt;I have HPUX 11i and perl 5.6.1 (B.5.6.1.E because it was in our depot).  I have learned about all the caveats regarding the compilers and that the modules have to be compiled with the same compiler and I understand all that stuff.  I have compiled the DBI, DBB modules for Oracle and they work but here is where the rubber 'leaves' the road.&lt;BR /&gt;&lt;BR /&gt;In order to get the DBI-DBD modules to work I had to "statically" link them to the executable.  I tried everything else (believe me when I say everything).  I modified the Makefile several time (re-building each time).  I tried all the tricks in all the news groups and forums I could find and read just trying to get this to work the way it is supposed to but I just never could get any satisfactory results until I statically linked them (actually the DBD module - the DBI worked fine until I statically link the DBD).&lt;BR /&gt;&lt;BR /&gt;And then the next problem reared it's ugly head.  Once I statically linked the DBI-DBD modules I had to do all the other modules that way also.  It seems that no-one could use any of the other modules (except root) until I did the static linking.  I checked root's environment over and over.  I went back to research and could find nothing.  I'm not a programmer so I'm not even sure what I am looking for.  I assume (I know, I know) that I'm looking for a permissions problem but I can't tell.  I'm getting no other errors than the standard "Can't locate loadable object for module blah, blah, blah..." output from perl and that's it.  I've checked @INC and looked in the lib directories but I find nothing that would prevent a "normal" user from using the modules.&lt;BR /&gt;&lt;BR /&gt;So what am I looking for?  Why can't the dynamic linking work the way it's supposed to?  Why do I have to statically link everything?&lt;BR /&gt;&lt;BR /&gt;After these last two days I'm probably going to be downloading the perl source and creating my own distribution unless someone can come up with a real reason for this or at least a creative solution.&lt;BR /&gt;&lt;BR /&gt;I hope I didn't sound too frustrated.  I'm going home for the weekend and I promice not to let this bother me until Monday.&lt;BR /&gt;&lt;BR /&gt;I hope someone out there knows something!&lt;BR /&gt;&lt;BR /&gt;Glenn</description>
      <pubDate>Fri, 05 Dec 2003 18:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137703#M154544</guid>
      <dc:creator>Glenn S. Davidson</dc:creator>
      <dc:date>2003-12-05T18:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Perl and dynamic linking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137704#M154545</link>
      <description>Hello Glenn,&lt;BR /&gt;&lt;BR /&gt;I hope this document helps you in troubleshooting your problem.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://search.cpan.org/src/TIMB/DBD-Oracle-1.09/README.hpux" target="_blank"&gt;http://search.cpan.org/src/TIMB/DBD-Oracle-1.09/README.hpux&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hemanth</description>
      <pubDate>Sat, 06 Dec 2003 01:02:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137704#M154545</guid>
      <dc:creator>Hemanth Gurunath Basrur</dc:creator>
      <dc:date>2003-12-06T01:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Perl and dynamic linking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137705#M154546</link>
      <description>Hermanth, good ref, but it's rather Old :(&lt;BR /&gt;&lt;BR /&gt;That doc has been totally rewritten in the past three month, and will be up to date in the latest release in DBI-1.39 which is already included in my perl-5.8.2 prebuild binary port for 11i available on my site&lt;BR /&gt;&lt;BR /&gt;For site location see attachment&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Sat, 06 Dec 2003 03:49:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137705#M154546</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-12-06T03:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Perl and dynamic linking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137706#M154547</link>
      <description>That is all nice information and most of it I had already read.  I was hoping I would get a more specific answer regarding the HP published build of Perl.  The reason I used it was because I wanted to save time but the way it turned out I would have been better off downloading the source and doing it all myself.&lt;BR /&gt;I guess a more pointed question would be:&lt;BR /&gt;Why publish something like this if it's going to cause more pain to use in a real world environment?&lt;BR /&gt;&lt;BR /&gt;I'm not at all happy with what I had to do to get things to work so I will be rebuilding perl from the source so I can add modules that I need when I need them. I've always said "Experience is what you get when you don't get what you want."  Now I've got some good experience.</description>
      <pubDate>Tue, 09 Dec 2003 17:38:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137706#M154547</guid>
      <dc:creator>Glenn S. Davidson</dc:creator>
      <dc:date>2003-12-09T17:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Perl and dynamic linking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137707#M154548</link>
      <description>Hello Glenn,&lt;BR /&gt;&lt;BR /&gt;I found the foll. links about Perl 5.6.1 in HP Websites:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?locBasepartNum=wk155en" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?locBasepartNum=wk155en&lt;/A&gt;〈=English&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=PERL&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Alternative 1:&lt;BR /&gt;From this link &lt;A href="http://mail.gnu.org/archive/html/bug-m4/2001-08/msg00007.html" target="_blank"&gt;http://mail.gnu.org/archive/html/bug-m4/2001-08/msg00007.html&lt;/A&gt;&lt;BR /&gt;I infer that a symlink libperl.so has to be installed and everything works fine.&lt;BR /&gt;&lt;BR /&gt;Alternative 2:&lt;BR /&gt;&lt;BR /&gt;Perl maintains a record of all module installations. To look at this list, simply type:&lt;BR /&gt;&lt;BR /&gt;      perldoc perllocal&lt;BR /&gt;&lt;BR /&gt;That's all you need to do on Unix systems with dynamic linking. Most Unix systems have dynamic linking--if yours doesn't, or if for another reason you have a statically-linked perl, and the module requires compilation, you'll need to build a new Perl binary that includes the module. Again, you'll probably need to be root.&lt;BR /&gt;&lt;BR /&gt;Source: &lt;A href="http://www.perlpod.com/5.6.1/perlmodinstall.html" target="_blank"&gt;http://www.perlpod.com/5.6.1/perlmodinstall.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You may want to give it a shot.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hemanth</description>
      <pubDate>Tue, 09 Dec 2003 22:32:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-and-dynamic-linking/m-p/3137707#M154548</guid>
      <dc:creator>Hemanth Gurunath Basrur</dc:creator>
      <dc:date>2003-12-09T22:32:52Z</dc:date>
    </item>
  </channel>
</rss>

