Install cURL on JFFS without optware

Discussion in 'Tomato Firmware' started by mss1988, Jun 26, 2013.

  1. mss1988

    mss1988 Serious Server Member

    I have 8MB flash router (Asus RT-N12), with Shibby's tomato-K26-1.28.RT-N5x-MIPSR2-106-Max installed.
    Is there a way to install cURL on JFFS without installing optware (since I have 1.7MB left on JFFS partition)?
    Thanks in advance :)
  2. ryzhov_al

    ryzhov_al Addicted to LI Member

    #  ldd /opt/bin/curl  | awk "{print \$3}" | xargs du -hLc
    340.0K  /opt/lib/
    204.0K  /opt/lib/
    1.4M    /opt/lib/
    340.0K  /opt/lib/
    92.0K  /opt/lib/
    116.0K  /opt/lib/
    84.0K  /opt/lib/
    676.0K  /opt/lib/
    12.0K  /opt/lib/
    32.0K  /opt/lib/
    3.2M    total
    libdl, libgcc, libgcc_s and ld-uClibc is a parts of firmware. Looks like it's still too big for that.
    mss1988 likes this.
  3. lancethepants

    lancethepants Network Guru Member

    I've got a static binary (with SSL) compiled and compressed to 704.4KB that you should be able to use just fine.

    Then in the "Binaries" folder.
    Monk E. Boy and mss1988 like this.
  4. mss1988

    mss1988 Serious Server Member

    Thank you very much. It works perfect :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice