Hi Srinath,
This problem is caused when using newer versions of Ubuntu. The easiest way
I've found to fix it is to edit the Xilinx .settings64 files, so that they
point to the system libraries first, instead of the Xilinx ones.
e.g in the four paths you listed, move the current LD_LIBRARY_PATH
declaration from the end of the line to the start:
So
if [ -n "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=${XILINX_EDK}/lib/lin64:${LD_LIBRARY_PATH};export
LD_LIBRARY_PATH;
becomes
if [ -n "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=:${LD_LIBRARY_PATH}:${XILINX_EDK}/lib/lin64;export
LD_LIBRARY_PATH;
Cheers,
Jonathon
On 29 November 2016 at 01:50, srinath.reddy <[email protected]>
wrote:
> Hi,
>
> I encountered following error after updating Ubuntu 16.04 to classic
> gnome. How to rectify this error?
>
> Reading local definitions from './startsg.local'
> . /opt/Xilinx/14.7/ISE_DS/common/.settings64.sh
> /opt/Xilinx/14.7/ISE_DS/common
> . /opt/Xilinx/14.7/ISE_DS/EDK/.settings64.sh /opt/Xilinx/14.7/ISE_DS/EDK
> . /opt/Xilinx/14.7/ISE_DS/PlanAhead/.settings64.sh
> /opt/Xilinx/14.7/ISE_DS/PlanAhead
> . /opt/Xilinx/14.7/ISE_DS/ISE/.settings64.sh /opt/Xilinx/14.7/ISE_DS/ISE
> awk: symbol lookup error: awk: undefined symbol: mpfr_z_sub
>
> Internal error 2: Could not determine the path of the
> MATLAB root directory.
>
> original command path = /usr/local/MATLAB/R2012b/bin/
> matlab
> current command path = /usr/local/MATLAB/R2012b/bin/
> matlab
>
> Please contact:
>
> MathWorks Technical Support
>
> for further assistance.
>
> WARNING: XILINX_PLATFORM is not defined in the current environment,
> assuming 'lin64'.
> Using MATLAB_PATH=/usr/local/MATLAB/R2012b
> Using XILINX_PATH=/opt/Xilinx/14.7/ISE_DS
> Using XILINX_PLATFORM=lin64
> Using MLIB_DEVEL_PATH=/home/srinath/casper/mlib_devel-master
> awk: symbol lookup error: awk: undefined symbol: mpfr_z_sub
>
> Internal error 2: Could not determine the path of the
> MATLAB root directory.
>
> original command path = /usr/local/MATLAB/R2012b/bin/
> matlab
> current command path = /usr/local/MATLAB/R2012b/bin/
> matlab
>
> Please contact:
>
> MathWorks Technical Support
>
> for further assistance.
>
> --
> P.Srinath Reddy,
> Integrated M.Tech-PhD(2015),
> IIA.
>
>