Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

I'm not sure how to do that, but will I look into it... That really sounds like what I need because this was just a simple test case and the module will not be located in such a convenient location

So CLOSE! I added the:

-Wl,-rpath,'$ORIGIN'

to the g++ command like your helpful link told me... now it works when I run perl test.pl without LD_LIBRARY_PATH being set, and I can have the .so in ".' or './auto/LicenseInterface' or '../COMMON/auto/LicenseInterface'

However, the perlApp exe file still does not work, but its the libperl.so that it can't find now, so it did resolve the libLicIntfcLib.so and liblmgr11.so files

DynaLoader.pm loaded (../COMMON/LicenseInterface, /lib /usr/lib /usr/l +ocal/lib) DynaLoader::bootstrap for LicenseInterface (auto/LicenseInterface/Lice +nseInterface.so) Can't load 'auto/LicenseInterface/LicenseInterface.so' for module Lice +nseInterface: libperl.so: cannot open shared object file: No such fil +e or directory at /</home/boleary/git_repos/CE_TOOLS/testLib/BUILD_TE +MP/cadEnhance/tools/TESTLIB/testLib>DynaLoader.pm line 224. at /</home/boleary/git_repos/CE_TOOLS/testLib/BUILD_TEMP/cadEnhance/t +ools/TESTLIB/testLib>LicenseInterface.pm line 11.

In reply to Re^2: DynaLoader can't resolve multiple Linux shared objects by boleary
in thread DynaLoader can't resolve multiple Linux shared objects by boleary

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (3)
    As of 2019-12-07 17:12 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Strict and warnings: which comes first?



      Results (162 votes). Check out past polls.

      Notices?