- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
ISE 13.1 on kubuntu 11.04
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-17-2011 08:26 AM - edited 05-17-2011 08:26 AM
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++.s o.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/c c1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.s o.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/c c1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.s o.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/c c1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.s o.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/c c1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.s o.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/c c1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.s o.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/c c1: /opt/Xilinx/13.1/ISE_DS/common/lib/lin/libstdc++.s o.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
Solved! Go to Solution.
Re: ISE 13.1 on kubuntu 11.04
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-17-2011 09:36 AM
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,
Re: ISE 13.1 on kubuntu 11.04
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-17-2011 10:16 AM
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/smar tmodel/lin64/installed_lin64/lib:/opt/xilinx_13.1/ ISE_DS/EDK/lib/lin64:/opt/xilinx_13.1/ISE_DS/commo n/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
Re: ISE 13.1 on kubuntu 11.04
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-18-2011 06:11 AM
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.
Re: ISE 13.1 on kubuntu 11.04
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-25-2011 03:34 PM
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
Re: ISE 13.1 on kubuntu 11.04
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-16-2011 04:00 AM
Thanks a lot. It helped me to fix it up in OpenSUSE 11.4. This is a good way to resolve that problem.
Re: ISE 13.1 on kubuntu 11.04
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-16-2011 05:39 AM
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
Re: ISE 13.1 on kubuntu 11.04
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-29-2011 01:14 PM
Thanks for posting this. The "no links" solution worked perfectly for me in Ubuntu 11.04 x86_64.
Re: ISE 13.1 on kubuntu 11.04
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-03-2011 03:50 PM
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.
Re: ISE 13.1 on kubuntu 11.04
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-21-2011 11:31 AM
Solved my problem with the simulator on Ubuntu 11.04, Design Suite 13.1
thanks !
Dag











