So I have managed to successfully install GSL 2.6 and have the Math::GSL install recognize it.
However something has gone wrong, as Math::GSL will not pass the build test.
I'm getting what seems to be a familiar "cannot open shared object file" error message.
The .so files are there, but there seems to be a missing pointer to them.
My suspicion is a missing "LD_LIBRARY_PATH during compile time, but I have no idea what to do about it.
Below are some of the compile time flags, and an example of a the main error message.

ccflags = -fPIC -I/home/stevenc/GSL2.6/include -D_REENTRANT -D +_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-stro +ng -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wno-sometimes-un +initialized -Wno-unused-function -Wno-unused-value -Wno-unused-functi +on -Wno-unused-variable -Wno-gnu -g -fPIC -fno-omit-frame-pointer -I/ +home/stevenc/GSL2.6/include ldflags = -shared -L/home/stevenc/GSL2.6/lib64 -lgsl -lgslcbla +s -lm -fPIC -fno-omit-frame-pointer PERL5LIB = /home/stevenc/perl5/lib/perl5:/home/stevenc/perl5/li +b/perl5 LD_LIBRARY_PATH =

/Chebyshev.t ...... Can't load '/home/stevenc/.cpan/build/Math-GSL-0.4 +4-0/blib/arch/auto/Math/GSL/Chebyshev/Chebyshev.so' for module Math:: +GSL::Chebyshev: libgsl.so.25: cannot open shared object file: No such + file or directory at /usr/lib/perl5/5.38.2/x86_64-linux-thread-multi +/DynaLoader.pm line 206. at /home/stevenc/.cpan/build/Math-GSL-0.44-0/blib/lib/Math/GSL/Chebys +hev.pm line 11. Compilation failed in require at t/Chebyshev.t line 5. BEGIN failed--compilation aborted at t/Chebyshev.t line 5. t/Chebyshev.t ...... Dubious, test returned 2 (wstat 512, 0x200)

Please advise.....


In reply to Re: Math::GSL Install Fail by SifuSteve
in thread Math::GSL Install Fail by SifuSteve

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, details, 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, summary, 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.