1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Networkin' Nut Member

    Code:
    #  ldd /opt/bin/curl  | awk "{print \$3}" | xargs du -hLc
    340.0K  /opt/lib/libcurl.so.4
    204.0K  /opt/lib/libidn.so.11
    1.4M    /opt/lib/libcrypto.so.1.0.0
    340.0K  /opt/lib/libssl.so.1.0.0
    92.0K  /opt/lib/libz.so.1
    116.0K  /opt/lib/librtmp.so.0
    84.0K  /opt/lib/libgcc_s.so.1
    676.0K  /opt/lib/libc.so.0
    12.0K  /opt/lib/libdl.so.0
    32.0K  /opt/lib/ld-uClibc.so.0
    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.
    lancethepants.com/files

    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 :)
     

Share This Page