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

Compiling curl for the WRT54GL

Discussion in 'Tomato Firmware' started by orangekay, Jan 1, 2007.

  1. orangekay

    orangekay LI Guru Member

    The version of wget that most firmwares include seems to be quite old and/or crippled, so I'd like to load up a copy of curl. Unfortunately the Intel Linux binary I have access to doesn't run on the WRT, so I'd like to either know which binary will, or what build options to supply to gcc to get it to fly.
     
  2. Disman_ca

    Disman_ca Super Moderator Staff Member Member

    Perhaps you can try getting curl form the OpenWrt repository and running it. http://www.ipkg.be/search?q=curl . It does have some dependencies that you may also need.
     
  3. orangekay

    orangekay LI Guru Member

    Unfortunately they don't seem to have all the dependencies; libopenssl is nowhere to be found.
     
  4. Disman_ca

    Disman_ca Super Moderator Staff Member Member

  5. orangekay

    orangekay LI Guru Member

    Seems to be a moot point anyway since there's no way to drop the shared libraries where they need to go in Tomato and I don't see any way of overriding the default search paths.
     
  6. bokh

    bokh Network Guru Member

    LD_LIBRARY_PATH is your friend!
    Unpacked on my CIFS-share in tmp followed by setting / extending the library-path:
    Code:
    export LD_LIBRARY_PATH=/lib:/usr/lib:/cifs1/tmp/opt/lib
    but then libssl.so.0.9.7 is needed again... :thumbdown:
    Code:
    # pwd
    /cifs1/tmp/opt
    # bin/curl
    bin/curl: can't load library 'libssl.so.0.9.7'
    I give up, unless someone else knows of a pre-compiled binary that is not linked against (some) shared libraries OR a version of OpenSSL v0.9.7 (with libraries included) compiled for WRT54...
     
  7. orangekay

    orangekay LI Guru Member

    I tried that and it didn't seem to be getting used. Maybe I screwed something up.
     

Share This Page