Hi Dave,

Thanks for the information. I'm not entirely sure how to figure out which
awk binary is being used.
I've found that executing ./matlab in /usr/local/MATLAB/R2012b/bin/
launches matlab.
In addition, I've found that if I add:
export LD_LIBRARY_PATH="" awk
just before the startsg.sh launches matlab, matlab will launch.

However, I then get this warning:
Warning:
Cannot find path "/opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64" in
"LD_LIBRARY_PATH"
environment. The libraries under the path are needed to simulate and netlist
designs using blocks from Xilinx System Generator for DSP blockset.


Brad Dober
Ph.D. Candidate
Department of Physics and Astronomy
University of Pennsylvania
Cell: 262-949-4668

On Mon, Jan 11, 2016 at 2:32 PM, David MacMahon <[email protected]>
wrote:

> Hi, Brad,
>
> I think the problem is with the “awk” utility.  It’s probably something
> like the tools are running the awk binary from the OS, but it ends up using
> a shared library from your MATLAB or Xilinx installation (or vice versa)
> and there is something of a mismatch.  I recommend trying to find out which
> awk binary is being used and then use “ldd /path/to/the/used/awk” to find
> out which libraries the dynamic linker is using with it.
>
> FWIW, on Ubuntu 12.04 I found that I needed to use the OS version of
> libstdc++ so I renamed /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6
> (to save it as a backup) then recreated it as a symlink to the OS version
> at /usr/lib/x86_64-linux-gnu/libstdc++.so.6.
>
> HTH,
> Dave
>
> On Jan 7, 2016, at 4:52 PM, Brad Dober <[email protected]> wrote:
>
> awk: symbol lookup error: awk: undefined symbol: mpfr_z_sub
>
>
>

Reply via email to