On 4/14/14 16:02 , Nick Zivkovic wrote:
> Ok fixed.
> 
> The command `mpicc` is in fact a bash script, located at 
> `/opt/local/bin/mpicc`.
> 
> There is a variable named LDFLAGS which is defined as follows:
> 
> LDFLAGS="-L/opt/local/lib -Wl,-R/opt/local/lib -L/opt/local/lib
> -L/opt/local/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.3
> -Wl,-R/opt/local/gcc47/lib/gcc/x86_64-sun-solaris2.11/4.7.3
> -L/opt/local/gcc47/lib -Wl,-R/opt/local/gcc47/lib -L/usr/lib/amd64
> -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/lib "
> 
> I replaced the `/usr/lib/amd64` with `/opt/local/lib/amd64`.
> 
> Thanks for pointing me in the right direction.

You'll likely want to do the correct ordering with the include path. Did
this come from a pkgsrc package? If so, can you file a bug about that on
github.com/joyent/pkgsrc, we should make sure that this is fixed to do
the right thing.

Thanks,
Robert



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to