See
configure --help
You can do things like configure CFLAGS="-O3 -bexpfull" to specify compiler
flags.
> On Oct 2, 2015, at 2:51 PM, Vinh Nguyen <[email protected]> wrote:
>
> Thanks for the response Steven. I did email the nloptr (R) maintainer, and he
> suggested that SO post.
>
> I think we are trying to link it to the .a file. However, when loading the
> new nloptr.so file (after linking), i get the stated errors. What we think
> would fix it would be to specify '-bexpfull' when compiling nlopt. Hence Im
> asking to see if I could specify this option somehow in the configure or make
> step of compilation. Hope I'm making sense as I'm not that familiar with
> compilation. Thanks.
>
> -- Vinh
> On Oct 2, 2015 11:43 AM, "Steven G. Johnson" <[email protected]
> <mailto:[email protected]>> wrote:
> I don't know anything about R plugins; you should email the author of the
> NLopt R plugin for details.
>
> However, because AIX doesn't allow runtime dependencies of shared libraries,
> the right thing is presumably to statically link the NLopt library (the
> libnlopt.a file, not libnlopt.so) into the R plugin.
_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss