Loading ...
Sorry, an error occurred while loading the content.
 

Compiling libssh2-0.18 library for perl Net::DDH2

Expand Messages
  • Dukelow, Don
    I m trying to install Perl ssh2 and it requires this library to be installed to work. But I ve tried all I can thing of to get it to work. I ve Goggled the
    Message 1 of 1 , Dec 9, 2008
      I'm trying to install Perl ssh2 and it requires this library to be installed to work. But I've tried all I can thing of to get it to work. I've Goggled the error and got nothing that made any since to me. Maybe I'm just a little thick today! Anyway can anyone get me through this in language I can understand. I've tried cc and gcc and they both give the same basic error, this is the gcc version. On a Solaris 20 and Perl v5.10.0. All work until I get to this point.

      ./configure --prefix=/home/dciproj/usr --x-includes=/usr/openwin/include CC=/usr/sfw/bin/gcc
      gmake

      ...
      ...
      .umul 0x6ec /usr/local/lib/libz.a(trees.o)
      .umul 0x814 /usr/local/lib/libz.a(trees.o)
      .umul 0x38 /usr/local/lib/libz.a(zutil.o)
      .umul 0x354 /usr/local/lib/libz.a(adler32.o)
      malloc 0x40 /usr/local/lib/libz.a(zutil.o)
      free 0x50 /usr/local/lib/libz.a(zutil.o)
      ld: fatal: relocations remain against allocatable but non-writable sections
      collect2: ld returned 1 exit status
      gmake[2]: *** [libssh2.la] Error 1
      gmake[2]: Leaving directory `/home/dciproj/tmp/pm/libssh2-0.18/src'
      gmake[1]: *** [all] Error 2
      gmake[1]: Leaving directory `/home/dciproj/tmp/pm/libssh2-0.18/src'
      gmake: *** [all-recursive] Error 1

      -----
      Don Dukelow
      HP/GM GSC33 License Team
      Tel: 810-728-3388
      e-mail: dukelow@...
    Your message has been successfully submitted and would be delivered to recipients shortly.