You need to tell the operating system where to find shared libraries. See:

        
http://ab-initio.mit.edu/wiki/index.php/NLopt_Installation#Shared_libraries



On Mar 29, 2011, at 9:46 AM, Chang wrote:
If I didn't configure with --with-cxx, the error message is
Invalid MEX-file '/scratch/NLOPT/nlopt_optimize.mexa64': libnlopt.so. 0: cannot open shared object file: No such file or
directory.

Jerry


On Mon, Mar 28, 2011 at 12:03 PM, Chang <[email protected]> wrote: The example I am running is as below. It results in an error when calling nlopt_optimize: Invalid MEX-file '/scratch/NLOPT/ nlopt_optimize.mexa64': libnlopt_cxx.so.0: cannot open shared object file: No such file or directory.


_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to