Am 10.10.2011 19:09, schrieb Nikhil Agarwal:
> Hi all,
>
> I'm getting the following error despite using ./configure --enable-shared and
> setting the LD_LIBRARY_PATH..
>
> /usr/bin/ld: ../.libs/libnlopt.a(optimize.o): ...
You could try to delete the static library

".libs/libnlopt.a", go to the octave directory and run make there another time.

or you add -fPIC to the CFLAGS when configuring the project and recompile 
everything. In that case the --enable-shared is in theory no longer neccessary, 
(but the configure scripts does a test here that might fail). 

Hope that helps, 
Gert 






Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to