cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
luoyanghero
Explorer
Explorer
4,869 Views
Registered: ‎11-24-2016

ubuntu16.04amd64 vivado2016.3 cannot startup sdk

Jump to solution

The ubuntu16.04 is my new installed OS, no other software except auto-installed.

When I install vivado, the setup UI have 'Ubuntu Linux 16.04 LTS: 64-bit - Additional library installation required', So where can i get the additional library?

I installed vivado2016.3 use 'sudo ./setup' command, so the /opt/Xilinx/ folder is root user.

I can startup vivado, and can synthese and implementation use default stratagy.

But when I startup sdk, it failed.

 

The following step I have tried:

#####################################

luoy@TTlyN:~/Downloads$ source /opt/Xilinx/Vivado/2016.3/settings64.sh

luoy@TTlyN:~/Downloads$ source /opt/Xilinx/SDK/2016.3/settings64.sh

luoy@TTlyN:~/Downloads$ /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o/eclipse

#

# A fatal error has been detected by the Java Runtime Environment:

#

# SIGSEGV (0xb) at pc=0x0000000000001800, pid=14254, tid=140568966223616

#

# JRE version: 6.0_18-b07

# Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 )

# Problematic frame:

# C 0x0000000000001800

#

# An error report file with more information is saved as:

# /home/luoy/Downloads/hs_err_pid14254.log

#

# If you would like to submit a bug report, please visit:

# http://java.sun.com/webapps/bugreport/crash.jsp

#####################################

I checked in top, no run pid.

 

#####################################

luoy@TTlyN:~/Downloads$ /opt/Xilinx/SDK/2016.3/bin/unwrapped/lnx64.o/rdi_xsdk

/opt/Xilinx/SDK/2016.3/bin/unwrapped/lnx64.o/rdi_xsdk: error while loading shared libraries: librdi_common.so: cannot open shared object file: No such file or directory

 

luoy@TTlyN:~/Downloads$ ldd /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o/eclipse

linux-vdso.so.1 => (0x00007ffc45783000)

libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff268067000)

libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff267e63000)

libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff267a98000)

/lib64/ld-linux-x86-64.so.2 (0x000055f9ea87a000)

 

luoy@TTlyN:~/Downloads$ ldd /opt/Xilinx/SDK/2016.3/bin/unwrapped/lnx64.o/rdi_xsdk

linux-vdso.so.1 => (0x00007ffe92aa6000)

libboost_filesystem.so => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so (0x00007f59c30a4000)

libboost_program_options.so => /usr/lib/x86_64-linux-gnu/libboost_program_options.so (0x00007f59c2e26000)

librdi_common.so => not found

librdi_commonversion.so => not found

libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f59c2aa3000)

libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f59c288c000)

libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f59c266f000)

libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f59c22a5000)

libboost_system.so.1.58.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0 (0x00007f59c20a0000)

libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f59c1d97000)

/lib64/ld-linux-x86-64.so.2 (0x00005580a77aa000)

#####################################

 

LIB NOT FOUND! I add the LD_LIBRARY_PATH in .bashrc and source it.

#####################################

export LD_LIBRARY_PATH="/opt/Xilinx/Vivado/2016.3/lib/lnx64.o:"$LD_LIBRARY_PATH

export LD_LIBRARY_PATH="/opt/Xilinx/SDK/2016.3/lib/lnx64.o:"$LD_LIBRARY_PATH

#####################################

 

after add ldd path, I checked every lib can get it's link. But have the follow error:

#####################################

luoy@TTlyN:/home/luoy/t$ /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o/eclipse

Segmentation fault (core dumped)

#####################################

Here has the error log in appendix.

I checked in top, no run pid.

 

I doubt root privilige. So I use sudo to startup sdk. It can appear the SDK UI, and let I select my project folder. After I done it, the SDK UI disappeared. I checked in top, can find the sdk pid.

After add ldd path, I checked every lib can get it's link. But have the follow error:

#####################################

root@TTlyN:/home/luoy/t# /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o/eclipse

Segmentation fault (core dumped)

#####################################

Same error with non-super user.

 

Maybe I installed vivado use wrong user privilige, and mssing additional library.

How can remove vivado and reinstall using non-super user?

Where can i get the additional library?

Some other errors I make?

 

0 Kudos
1 Solution

Accepted Solutions
luoyanghero
Explorer
Explorer
2,453 Views
Registered: ‎11-24-2016

I use centos 7.5 to reinstall vivado2016.3, it is OK.

For FPGA developement and eda simulation, use centOS  is better than ubuntu.

View solution in original post

0 Kudos
7 Replies
hpoetzl
Voyager
Voyager
4,810 Views
Registered: ‎06-24-2013

Hey @luoyanghero

 

JFYI: there is another thread about Eclipse segfaulting on Ubuntu 16.04, so might be related to some software updates.

 

Best,

Herbert

-------------- Yes, I do this for fun!
0 Kudos
devinl
Community Manager
Community Manager
4,800 Views
Registered: ‎05-08-2017

Hey @luoyanghero

 

Please see the SDX release notes guide below, specifically on page 15 where this lists what additional 32-bit libraries may be required for Ubuntu to function with these tools. The below commands run under root access will install the required libraries.

 

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_3/ug1238-sdx-rnil.pdf

 

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo apt-get install libgtk2.0-0:i386 dpkg-dev:i386
sudo ln -s /usr/bin/make /usr/bin/gmake
 
Best Regards,
Devin
0 Kudos
luoyanghero
Explorer
Explorer
4,777 Views
Registered: ‎11-24-2016

I have installed the addtional library, but still the same error. (actually my os have installed the addtional library before I installed vivado.)

The another tread did not give a good solution.

0 Kudos
luoyanghero
Explorer
Explorer
4,769 Views
Registered: ‎11-24-2016

I tried the following steps:
####################################
source /opt/Xilinx/SDK/2016.3/settings64.sh
export SWT_GTK3=0
export LD_LIBRARY_PATH="/opt/Xilinx/Vivado/2016.3/lib/lnx64.o"
luoy@TTlyN:~/t$ echo $PATH
/opt/Xilinx/Vivado/2016.3/bin:/opt/Xilinx/Vivado_HLS/2016.3/bin:/opt/Xilinx/DocNav:/opt/Xilinx/SDK/2016.3/bin:/opt/Xilinx/SDK/2016.3/gnu/microblaze/lin/bin:/opt/Xilinx/SDK/2016.3/gnu/arm/lin/bin:/opt/Xilinx/SDK/2016.3/gnu/microblaze/linux_toolchain/lin64_be/bin:/opt/Xilinx/SDK/2016.3/gnu/microblaze/linux_toolchain/lin64_le/bin:/opt/Xilinx/SDK/2016.3/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin:/opt/Xilinx/SDK/2016.3/gnu/aarch32/lin/gcc-arm-none-eabi/bin:/opt/Xilinx/SDK/2016.3/gnu/aarch64/lin/aarch64-linux/bin:/opt/Xilinx/SDK/2016.3/gnu/aarch64/lin/aarch64-none/bin:/opt/Xilinx/SDK/2016.3/gnu/armr5/lin/gcc-arm-none-eabi/bin:/opt/Xilinx/SDK/2016.3/tps/lnx64/cmake-3.3.2/bin:/home/luoy/bin:/home/luoy/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
luoy@TTlyN:~/t$ echo $LD_LIBRARY_PATH
/opt/Xilinx/Vivado/2016.3/lib/lnx64.o
luoy@TTlyN:~/t$ /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o/eclipse
!SESSION 2017-08-09 10:57:25.480 -----------------------------------------------
eclipse.buildId=2016.3
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.ui 2 0 2017-08-09 10:57:29.427
!MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
!SUBENTRY 1 org.eclipse.ui 2 0 2017-08-09 10:57:29.427
!MESSAGE Commands should really have a category: plug-in='com.xilinx.sdk.appwiz', id='com.xilinx.sdk.app.commands.ChangeAtfBuiltReferences', categoryId='com.xilinx.sdk.app.commands.category'
####################################
SDK UI stopped after I select my workspace.

How can I get more debug info of SDK?

0 Kudos
luoyanghero
Explorer
Explorer
4,757 Views
Registered: ‎11-24-2016

I source the settings64.sh, and open SDK with empty project, have link error as following:

#################################

16:37:58 INFO : Registering command handlers for SDK TCF services

16:37:58 ERROR : Unsatisfied link error while loading librdi_repo_manager.so: java.lang.UnsatisfiedLinkError: no rdi_repo_manager in java.library.path

16:37:58 INFO : Launching XSCT server: xsct -n -interactive /home/luoy/workspace/temp_xsdb_launch_script.tcl

16:38:01 ERROR : (XSDB Server)couldn't read file "/scripts/xsdb/xsdb/xsdb-server.tcl": no such file or directory

while executing

"source /scripts/xsdb/xsdb/xsdb-server.tcl"

(file "/home/luoy/workspace/temp_xsdb_launch_script.tcl" line 1)

 

16:40:58 ERROR : Timed out. 180 seconds have elapsed while waiting for XSCT server to launch.

16:40:58 INFO : Launching XSCT server: xsct -n -interactive /home/luoy/workspace/temp_xsdb_launch_script.tcl

16:40:58 ERROR : Failed to call init_repo

Reason: xsct server communication channel is not established.

16:40:58 ERROR : Exception raised in executing the command =Failed to call init_repo

Reason: xsct server communication channel is not established.

16:40:58 ERROR : (XSDB Server)couldn't read file "/scripts/xsdb/xsdb/xsdb-server.tcl": no such file or directory

while executing

"source /scripts/xsdb/xsdb/xsdb-server.tcl"

(file "/home/luoy/workspace/temp_xsdb_launch_script.tcl" line 1)

 

16:43:58 ERROR : Timed out. 180 seconds have elapsed while waiting for XSCT server to launch.

#################################

 

I installed java version 1.8, vivado SDK Eclipse version2.1

#################################

luoy@TT02:/media/t$ java -version

openjdk version "1.8.0_131"

OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)

OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

 

SDK Eclipse

Version: 2.1.0.v20150603-2000

Build id: I20150603-2000

#################################

 

I add ldd lib path to my environment and try to launch SDK again, have the follow error:

export LD_LIBRARY_PATH="/opt/Xilinx/SDK/2016.3/lib/lnx64.o"

#################################

JVM terminated. Exit code=6

/usr/bin/java

-Xms64m

-Xmx512m

-jar /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar

-os linux

-ws gtk

-arch x86_64

-showsplash /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o//plugins/com.xilinx.sdk.product_1.0.0.201610110148.jar/splash.bmp

-launcher /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o/eclipse

-name Eclipse

--launcher.library /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417/eclipse_1612.so

-startup /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar

--launcher.overrideVmargs

-exitdata 7e0010

-vm /usr/bin/java

-vmargs

-Xms64m

-Xmx512m

-jar /opt/Xilinx/SDK/2016.3/eclipse/lnx64.o//plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar

#################################

 

Why JVM terminated?

In this environment, my gvim, apt-get tools can not run.

#################################

luoy@TT02:~$ gvim

gvim: /opt/Xilinx/SDK/2016.3/lib/lnx64.o/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55)

#################################

 

I doubt the SDK lib not compatible with my OS env lib.

I try to set LD_LIBRARY_PATH="", gvim apt-get ok.

 

From above, the SDK lib not compatible with ubuntu1604 lib.

So how can I install SDK successfully?

Which JRE version SDK need?

0 Kudos
es93
Visitor
Visitor
3,315 Views
Registered: ‎04-22-2018

Hello @luoyanghero,

 

I have the same issue, have you find a solution ? It's work for you ?

 

That would be verry helpful if you or someone can help me. 

 

Regards

0 Kudos
luoyanghero
Explorer
Explorer
2,454 Views
Registered: ‎11-24-2016

I use centos 7.5 to reinstall vivado2016.3, it is OK.

For FPGA developement and eda simulation, use centOS  is better than ubuntu.

View solution in original post

0 Kudos