Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
ikpdarmstadt
Posts: 2
Registered: ‎05-17-2011
Accepted Solution

ISE 13.1 on kubuntu 11.04

[ Edited ]

Hi,

 

I've installed an ISE 13.1 on a new kubuntu 11.04 (32 bit). The installation went fine, and ISE starts, but if I try to compile a project (through a makefile) the compilation stops with an error. The procedure is as follows:

 

 

.  /opt/Xilinx/13.1/ISE_DS/settings32.sh
make
gcc sourcecode.c -options
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/libppl_c.so.2)
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libppl_c.so.2)
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/libppl_c.so.2)
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/libppl_c.so.7)
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libppl_c.so.7)
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/libppl_c.so.7)
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/cc1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/libppl_c.so.4)

 

 

These errors won't appear, if one don't source the settings32.sh, but then the coregen breaks with an error, which may be caused by the inapprobiate libraries.

The same project compiled fine on a kubuntu 10.10(64bit), so I wonder, if there might be an issue with the new ubuntu version and ISE?

 

Has somebody else tried something similar and succeeded? Is this problem known?

 

Thanks for all answers

Expert Contributor
drjohnsmith
Posts: 917
Registered: ‎07-09-2009
0

Re: ISE 13.1 on kubuntu 11.04

In know a lot of people who would be very happy if xilinx officialy supported ubunto,

 

but till then,

 

good luck, and post if you get it working,

 

Regular Contributor
patocarr
Posts: 67
Registered: ‎01-28-2008

Re: ISE 13.1 on kubuntu 11.04

Hi Kubuntuer,

 

  It seems ISE adds its library path in from of the system libraries in the $LD_LIBRARY_PATH environment variable, like:

 

 

/opt/xilinx_13.1/ISE_DS/common/lib/lin64:/opt/xilinx_13.1/ISE_DS/ISE/sysgen/lib:/opt/xilinx_13.1/ISE_DS/ISE/lib/lin64:/opt/xilinx_13.1/ISE_DS/ISE/smartmodel/lin64/installed_lin64/lib:/opt/xilinx_13.1/ISE_DS/EDK/lib/lin64:/opt/xilinx_13.1/ISE_DS/common/lib/lin64:/opt/xilinx_13.1/ISE_DS/ISE/sysgen/lib:/opt/xilinx_13.1/ISE_DS/ISE/lib/lin64:/opt/xilinx_13.1/ISE_DS/ISE/smartmodel/lin64/installed_lin64/lib:/opt/xilinx_13.1/ISE_DS/EDK/lib/lin64

 and this possibly affects the gcc compiler by looking into ISE paths before the system paths. You may have to hide this variable before running gcc and then bring it back after gcc is done. Something like:

 

LD_LIBRARY_PATH_SAVE=$LD_LIBRARY_PATH

export LD_LIBRARY_PATH=

gcc ...

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH_SAVE

 

  I haven't tried this and you may have to play around with it. Please post if you get it working.

 

Good luck,

-Pat

 

 

Visitor
ikpdarmstadt
Posts: 2
Registered: ‎05-17-2011
0

Re: ISE 13.1 on kubuntu 11.04

Thanks for the suggestion. After some try and error I've managed to include this into my makefile. But unfortunately this hasn't solved my problem with the coregen. It seems, that coregen won't work correctly under natty.

 

I will fall back to maverick, for now.

 

Thanks to all, who replied.

Visitor
jo21053
Posts: 2
Registered: ‎05-25-2011

Re: ISE 13.1 on kubuntu 11.04

Is there any particular reason you're running a 32bit ISE and a 32bit kubuntu?

 

Currently I'm successfully running 64bit ISE 13.1 on 64bit Ubuntu Natty 11.04. Below is a solution that may still work to fix those nasty libstdc++ errors, even on 32bit software.

 

There was one trick I needed to get rid of similar errors like: ERROR: libstdc++.so.6: version `GLIBCXX_3.4.14' not found

 

First change to the appropriate ISE library directory. Move the original libstdc++.so.6 that's giving us problems to a safe backup location. Then create a link to the host system's libstdc++. Depending on whether your ISE and linux is 32 or 64bits the directories will be slightly different, lin vs lin64... etc. The following is the exact set of commands which fixed mine. I was surprised that in my 64bit Ubuntu the only stdc++ was in lib32 so make sure you check it's location before linking.

 

 

cd /opt/Xilinx/13.1/ISE_DS/ISE/lib/lin64/
mv libstdc++.so.6 libstdc++.so.6.orig
ln -s /usr/lib32/libstdc++.so.6 libstdc++.so.6
Newbie
waldek85
Posts: 1
Registered: ‎06-16-2011
0

Re: ISE 13.1 on kubuntu 11.04

Thanks a lot. It helped me to fix it up in OpenSUSE 11.4. This is a good way to resolve that problem.

Visitor
jo21053
Posts: 2
Registered: ‎05-25-2011

Re: ISE 13.1 on kubuntu 11.04

Update to my fix above:

 

I started having libstdc++ issues again when running some very particular features. While tracking the source of the problems down I discovered that there are more stdc libraries hidden in other folders. Also, it turns out linking is unnecessary. If the libraries are moved or renamed to soming the Xilinx programs are not expecting they'll give up and search for your system libraries and locate them just fine. Here is the revised solution with new directories and no links:

cd /opt/Xilinx/13.1/ISE_DS/ISE/lib/lin/
mkdir orig && mv libstdc++* orig
cd /opt/Xilinx/13.1/ISE_DS/ISE/lib/lin64/
mkdir orig && mv libstdc++* orig
cd /opt/Xilinx/13.1/ISE_DS/common/lib/lin/
mkdir orig && mv libstdc++* orig
cd /opt/Xilinx/13.1/ISE_DS/common/lib/lin64/
mkdir orig && mv libstdc++* orig

 



Newbie
grant.271
Posts: 1
Registered: ‎06-29-2011
0

Re: ISE 13.1 on kubuntu 11.04

Thanks for posting this. The "no links" solution worked perfectly for me in Ubuntu 11.04 x86_64.

Newbie
cgreco
Posts: 1
Registered: ‎11-21-2008
0

Re: ISE 13.1 on kubuntu 11.04

Not surprising, the "no links" method works for ISE 13.2 on ubuntu 11.04 x86_64 as well.  How can this solution be made more visible?  I searched several days and encounted several deadends before finding this thread.

Regular Contributor
dag1
Posts: 86
Registered: ‎12-08-2007
0

Re: ISE 13.1 on kubuntu 11.04

Solved my problem with the simulator on Ubuntu 11.04, Design Suite 13.1

 

thanks !

 

Dag