On Mon, Oct 5, 2015 at 6:21 AM, Vinh Nguyen <[email protected]> wrote:
> On Sun, Oct 4, 2015 at 7:41 AM, Steven G. Johnson <[email protected]> 
> wrote:
>> To pass a flag from gcc to ld, you do
>>         -Wl,-bexpfull
>> if I remember correctly.  See: 
>> https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html
>
> Thanks so much Steven.  Was able to pass this to LDFLAGS and
> successfully compiled nlopt.  However, nloptr still did not link
> successfully.  Will do more searching on this issue on AIX.  Thank you
> for your help thus far.


Steven,

I ran the following per
[this](http://stackoverflow.com/questions/27808779/make-aix-load-all-shared-symbols-at-run-time)
thread, and got the following.  Does it mean nlopt was not compiled
correctly?
dump -Tv /sas/outmva/opt/lib/libnlopt.a | less
/sas/outmva/opt/lib/libnlopt.a[DIRect.o]:

Loader Section is not available

/sas/outmva/opt/lib/libnlopt.a[DIRserial.o]:

Loader Section is not available

/sas/outmva/opt/lib/libnlopt.a[DIRsubrout.o]:

Loader Section is not available

/sas/outmva/opt/lib/libnlopt.a[direct_wrap.o]:

Loader Section is not available

/sas/outmva/opt/lib/libnlopt.a[cdirect.o]:

Loader Section is not available

/sas/outmva/opt/lib/libnlopt.a[hybrid.o]:

...

Does it mean that it isn't compiled correctly?  Thanks.

-- Vinh

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

Reply via email to