no package 'OpenSSL ' found [CentOS]

Discussion in 'Site & Server Administration' started by joujoba, Jun 25, 2012.

  1. #1
    hello,

    I have CentOS and i have ran the command yum install openssl and it showed me that its installed and latest version! but I keep getting this message:

    configure: error: Package requirements (openssl) were not met:
    
    No package 'openssl' found
    
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    
    Alternatively, you may set the environment variables OPENSSL_CFLAGS
    and OPENSSL_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    Code (markup):

    how can i fix this please?
    I'm really desperate :(
     
    joujoba, Jun 25, 2012 IP
  2. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #2
    try yum install openssl*
     
    SolidShellSecurity, Jun 25, 2012 IP
  3. joujoba

    joujoba Peon

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    it did not work :(
     
    joujoba, Jun 26, 2012 IP
  4. RoseHosting

    RoseHosting Well-Known Member

    Messages:
    230
    Likes Received:
    11
    Best Answers:
    11
    Trophy Points:
    138
    #4
    Do the following before running ./configure :
    export PKG_CONGIF_PATH=/usr/local/lib/pkgconfig
    Code (markup):
     
    Last edited: Jun 26, 2012
    RoseHosting, Jun 26, 2012 IP
  5. joujoba

    joujoba Peon

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanks Rosel!
    I actually tried that just before, but it resulted in the same error :(
     
    joujoba, Jun 26, 2012 IP
  6. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #6
    Have you tried uninstalling then reinstalling? What is causing the error?
     
    SolidShellSecurity, Jun 26, 2012 IP
  7. InnovusHost

    InnovusHost Peon

    Messages:
    136
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Your repos may be broken. Have you run yum clean all before installing the package? Can you install any others?
     
    InnovusHost, Jun 27, 2012 IP
  8. Harijith

    Harijith Peon

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Get rpmforge and try again. It will work for sure :)
     
    Harijith, Jul 2, 2012 IP