<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It's a common problem brought about by Xilinx bundling there own libraries with their tools.<div>I suggest you just work in separate shells and only run the setup for the Xilinx tools in wheels you are doing FPGA work in.</div><div>In my .bashrc I define an alias of the form:</div><div><br></div><div> alias ise14.4='source /opt/Xilinx/14.4/ISE_DS/settings64.sh'</div><div><br><div><div>On Sep 30, 2014, at 11:19 AM, Isen I-Chun Chao via USRP-users <<a href="mailto:usrp-users@lists.ettus.com">usrp-users@lists.ettus.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I am building the FPGA image for X3x0 and met a problem about running '<b><i>uhd_usrp_probe</i></b>' (or '<b><i>uhd_find_device</i></b>') after '<i><b>source settings64.sh</b></i>'</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I use Ubuntu 14.04 on a x86_64 machine and with uhd-3.7.3rc1. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Since I am building the FPGA image with Xilinx ISE 14.6, I first set the environment variable for Xilinx ISE, by running '<i><b>source /opt/Xilinx/14.6/ISE_DS/settings64.sh</b></i>' and then I am able to get a FPGA image by running '<b><i>make X310_HGS</i></b>' in '<i><b><uhd_dir>/fpga/usrp3/top/x300</b></i>'. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">However, once I did '<b><i>source /opt/Xilinx/14.6/ISE_DS/settings64.sh</i></b>', I got errors from running '<b><i>uhd_usrp_probe</i></b>' or '<b><i>uhd_find_device</i></b>' with the following error messages.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /opt/uhd/bin/uhd_usrp_probe)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /opt/uhd/bin/uhd_usrp_probe)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/uhd/bin/uhd_usrp_probe)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /opt/uhd/lib/libuhd.so.003)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /opt/uhd/lib/libuhd.so.003)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/uhd/lib/libuhd.so.003)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.54.0)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/x86_64-linux-gnu/libboost_program_options.so.1.54.0)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.54.0)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.54.0)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.54.0)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/x86_64-linux-gnu/libboost_regex.so.1.54.0)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.54.0)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.54.0)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.54.0)</div><div class="gmail_default">/opt/uhd/bin/uhd_usrp_probe: /opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.54.0)</div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I thought this should be the environment variable problem. So I checked them and there are only few env vars are changed and created as shown below:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Before '<i><b>source /opt/Xilinx/14.6/ISE_DS/settings64.sh</b></i>':</div><div class="gmail_default" style=""><font face="arial, helvetica, sans-serif">- LD_LIBRARY_PATH=/opt/uhd/lib:/opt/gnuradio/lib</font><br></div><div class="gmail_default" style=""><font face="arial, helvetica, sans-serif">- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games<br></font></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">After '<i><b>source /opt/Xilinx/14.6/ISE_DS/settings64.sh</b></i>':</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">-LD_LIBRARY_PATH=/opt/Xilinx/14.6/ISE_DS/ISE/lib/lin64:/opt/Xilinx/14.6/ISE_DS/ISE/smartmodel/lin64/installed_lin64/lib:/opt/Xilinx/14.6/ISE_DS/ISE/sysgen/lib:/opt/Xilinx/14.6/ISE_DS/EDK/lib/lin64:/opt/Xilinx/14.6/ISE_DS/common/lib/lin64:/opt/uhd/lib:/opt/gnuradio/lib</div><div class="gmail_default">-PATH=/opt/Xilinx/14.6/ISE_DS/ISE/bin/lin64:/opt/Xilinx/14.6/ISE_DS/ISE/sysgen/util:/opt/Xilinx/14.6/ISE_DS/ISE/sysgen/bin:/opt/Xilinx/14.6/ISE_DS/ISE/../../../DocNav:/opt/Xilinx/14.6/ISE_DS/PlanAhead/bin:/opt/Xilinx/14.6/ISE_DS/EDK/bin/lin64:/opt/Xilinx/14.6/ISE_DS/EDK/gnu/microblaze/lin/bin:/opt/Xilinx/14.6/ISE_DS/EDK/gnu/powerpc-eabi/lin/bin:/opt/Xilinx/14.6/ISE_DS/EDK/gnu/arm/lin/bin:/opt/Xilinx/14.6/ISE_DS/EDK/gnu/microblaze/linux_toolchain/lin64_be/bin:/opt/Xilinx/14.6/ISE_DS/EDK/gnu/microblaze/linux_toolchain/lin64_le/bin:/opt/Xilinx/14.6/ISE_DS/common/bin/lin64:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games<br></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">- XILINX_EDK=/opt/Xilinx/14.6/ISE_DS/EDK<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><div class="gmail_default">- XILINX_DSP=/opt/Xilinx/14.6/ISE_DS/ISE</div><div class="gmail_default">- LMC_HOME=/opt/Xilinx/14.6/ISE_DS/ISE/smartmodel/lin64/installed_lin64</div><div class="gmail_default">- XILINX_PLANAHEAD=/opt/Xilinx/14.6/ISE_DS/PlanAhead</div><div class="gmail_default">- XILINX=/opt/Xilinx/14.6/ISE_DS/ISE</div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Then, even I reset <b>LD_LIBRARY_PATH</b> and <b>PATH</b> to place '<b><i>/opt/uhd/lib:/opt/gnuradio/lib</i></b>' and '<b><i>/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games</i></b>' at the beginning of these two variables, respectively, the error messages still come up.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">So I was wondering if anybody met this problem before or it should act like this.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div><div dir="ltr"><font size="1" face="arial, helvetica, sans-serif"><i>Best Regards,<br>Isen I-Chun Chao</i></font></div></div>
</div>
_______________________________________________<br>USRP-users mailing list<br><a href="mailto:USRP-users@lists.ettus.com">USRP-users@lists.ettus.com</a><br>http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com<br></blockquote></div><br></div></body></html>