Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

linker trying to load wrong file

by eisdrache (Novice)
on Oct 30, 2006 at 09:25 UTC ( #581234=perlquestion: print w/replies, xml ) Need Help??

eisdrache has asked for the wisdom of the Perl Monks concerning the following question:

I am running a Solaris 5.11 box with Perl v5.8.8 and I originally had OpenSSL 0.9.8 installed, but was having issues with the Crypt::SSLeay module. So, I decided to uninstall 0.9.8 and install 0.9.7 and give it a shot.

My problem now is when I try and load the Crypt::SSLeay module I receive this error:

Can't load '/opt/csw/lib/perl/csw/auto/Crypt/SSLeay/' for mod +ule Crypt::SSLeay: perl: fatal: open failed +: No such file or directory at /opt/csw/lib/perl/5.8.8/ +line 230.

As you can see it is still trying to load which obviously does not exist anymore because I uninstalled that version. So, my question is, what do I need to do so that it is pointing at instead?

Replies are listed 'Best First'.
Re: linker trying to load wrong file
by shmem (Chancellor) on Oct 30, 2006 at 09:45 UTC
    You need to rebuild Crypt::SSLeay and install it again, since during the build process the is built and linked against your If you remove that library, the file referenced by cannot be found.

    <update> But it seems to me that you are trying to solve a problem the wrong way... are you really sure the segfaults you pointed out in https request causes segmentation fault are being caused by the Downgrading often means "installing solved bugs". </update>


    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

      well, yes, it does seem like a completely ass backwards approach to solving the problem, however, i was all out of options, so i was desperate to try anything.

      i removed the crypt::ssleay module and reinstalled it, but forwhatever reason it was still looking for the 0.9.8 file. i even reinstalled perl to no avail. so in another ass backwards move, i just created a link called and pointed it to

      on top of that, there must have been some kind of issue with openssl 0.9.8 becuase now everything works the way that it should.

        eisdrache wrote on 30 Oct 2006

        i removed the crypt::ssleay module and reinstalled it, but forwhatever reason it was still looking for the 0.9.8 file.

        I am very curious as to what the whatever reason reason was ;-). That sounds like a failure of a build support mechanism to work properly, and/or a failure of the operator building the module (yourself) to operate the build properly. In any case, the only thing I know of right now to advise you, is that in future cases like this, providing a link (at least) to the complete textual output of the build procedure steps (typically 'perl Makefile.PL <args...>' and then 'make'), would be valued by some of us (or maybe just me, in all the world, only me, sigh). ;-)

            Soren A / somian / perlspinr / Intrepid

        Words can be slippery, so consider who speaks as well as what is said; know as much as you can about the total context of the speaker's participation in a forum over time, before deciding that you fully comprehend the intention behind those words. If in doubt, ask for clarification before you 'flame'.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://581234]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2022-05-22 16:53 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (80 votes). Check out past polls.