<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi!<br>
    <br>
    I struggle to interface L-BFGS-B, an optimization solver written in
    FORTRAN.<br>
    <br>
    Here is my builder<br>
    <blockquote>// builder code for LBFGSB<br>
      // functions to be added to the call table <br>
      link_name = ['setulb']; <br>
      flag  = "f";         //  is a FORTRAN functions <br>
      files = ['LBFGSB.f' ];   // objects files for LBFGSB<br>
      // the next call generates files (Makelib,loader.sce) used<br>
      // for compiling and loading LBFGSB and performs the compilation<br>
      libs = "";<br>
      ilib_for_link(link_name,files,libs,flag,'','loaderL.sce');<br>
      <br>
    </blockquote>
    The loader complains libsetulb.so: undefined symbol: s_wsle<br>
    <br>
    To get this symbol, all I found is to use /usr/lib/libf2c.so (I
    change the libs variable to libs = "/usr/lib/libf2c";<br>
     but then, the loader complains<br>
    <blockquote>/usr/lib/libf2c.so: undefined symbol: MAIN__<br>
    </blockquote>
    So I am stuck.<br>
    <br>
    I wonder, the supported compilers states<br>
    <blockquote>On GNU/Linux, GNU compilers (gcc, g++ and gfortran) are
      packaged in all distributions.<br>
    </blockquote>
    and I have gfortran but need to install libf2c to get s_wsle...<br>
    <br>
    <br>
    Thank you,<br>
    <br>
    JPD<br>
    <br>
    <br>
  </body>
</html>