<div dir="ltr"><div><div><div>Hello,<br><br></div>I'm building a toolbox where I have to link a static library (.a file).<br><br></div>I'm able to build the toolbox using <i>exec builder.sce</i>. <br></div><div><br></div><div>I have the following line in the .start file</div><div><br></div><div><b><i>link(lib_path + "/liboctave.a");</i></b><br></div><div><br></div><div>When I load the toolbox using <i>exec loader.sce</i>, I get the error<br><br><b><i>link: The shared archive was not loaded: liboctave.a: invalid ELF header</i></b></div><div><br></div><div>If I change it to<b><i> link(lib_path + "/liboctave");</i></b>, I get the error <b><i>: cannot open shared object file: No such file or directory</i></b></div><div><br></div><div>How do I use link() to link a static library in the .start file?</div><div><br></div><div>Regards,</div><div>Shamika<br></div><div><br></div><br></div>