Initially the Java vm would not even start, but I fixed that by editing the nsight.ini file and removing
-XX:MaxPermSize=256m
and updating the
-Dosgi.requiredJavaVersion
so I now get the splash screen and can select a workspace directory.
I do so, and get a progress bar but it promptly crashes and gives no indication other than to look in the log file, the start of which says:
!SESSION 2016-12-09 20:30:40.686 -----------------------------------------------
eclipse.buildId=unknown
java.version=9-internal
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY com.nvidia.cuda.ide.build 4 0 2016-12-09 20:30:46.292
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.nvidia.cuda.ide.build [9]
Unresolved requirement: Require-Bundle: org.eclipse.cdt.managedbuilder.core
-> Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.core; bundle-version="8.3.0.201409172108"; singleton:="true"
org.eclipse.cdt.managedbuilder.core [108]
Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.0.0,6.0.0)"
-> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
org.eclipse.cdt.core [88]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY com.nvidia.cuda.ide.cdt 4 0 2016-12-09 20:30:46.294
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.nvidia.cuda.ide.cdt [10]
Unresolved requirement: Require-Bundle: org.eclipse.cdt.managedbuilder.core; bundle-version="8.0.0"
-> Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.core; bundle-version="8.3.0.201409172108"; singleton:="true"
org.eclipse.cdt.managedbuilder.core [108]
Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.0.0,6.0.0)"
-> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
org.eclipse.cdt.core [88]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY com.nvidia.cuda.ide.debug 4 0 2016-12-09 20:30:46.297
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.nvidia.cuda.ide.debug [11]
Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="5.3.0"
-> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
org.eclipse.cdt.core [88]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY com.nvidia.cuda.ide.editor 4 0 2016-12-09 20:30:46.309
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.nvidia.cuda.ide.editor [12]
Unresolved requirement: Require-Bundle: org.eclipse.cdt.ui; bundle-version="[5.8.0.nvidia,5.8.1)"
-> Bundle-SymbolicName: org.eclipse.cdt.ui; bundle-version="5.8.0.nvidia-qualifier"; singleton:="true"
org.eclipse.cdt.ui [111]
Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
-> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
org.eclipse.cdt.core [88]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY com.nvidia.cuda.ide.remote 4 0 2016-12-09 20:30:46.311
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.nvidia.cuda.ide.remote [13]
Unresolved requirement: Import-Package: org.eclipse.remote.core
-> Export-Package: org.eclipse.remote.core; bundle-symbolic-name="org.eclipse.remote.core"; bundle-version="1.0.0.201409111520"; version="0.0.0"
org.eclipse.remote.core [263]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
I installed nsight at the same time as cuda using the NVIDA .deb package repository they provide on their website.
I added it using:
dpkg -i <cuda_file>.deb
and installed using:
sudo apt update
sudo apt install cuda
Normal eclipse installations work perfectly, so any advice anyone has would be greatly appreciated!
Expending on comments on Ben Turner answer, this what worked for me (Ubuntu 18.04, cuda 10.1). from this thread on Nvidia forum, just install:
sudo apt install openjdk-8-jdk
and that's it.
running from terminal:
nsight -vm /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
and if you want to start Nsight from GUI, modify /usr/share/applications/nsight.desktop like so
Exec=/usr/local/cuda-10.1/bin/nsight -vm /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
So turns out that the openjdk-8-jdk package is not what's needed to work with nsight.
You need to install the oracle-java8-installer:
sudo apt install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt update
sudo apt install oracle-java8-installer
Once done, nsight miraculously springs into life!
Solution summary:
Use Java 7/8, not Java 9/10/11, for Nsight Ecplipse Edition at present.
Details:
I installed the CUDA 10.0, with auto-installed Nsight 10.0 and java-11-openjdk(its java version is 10.0.2 actually), on Ubuntu 18.04, and I got this error too. Then I found when I used oracle jdk 7/8(make the link from /usr/bin/java to my oracle jdk 7/8 path), Nsight worked well, but jdk 11 not.
And by seeing your java 9 in the error log, so we should use the Java 7/8, not 9/10/11, for Nsight at present, because the Nsight Eclipse and its plugins is not up-to-date for java 9/10/11.
Notes:
You may want to change the exec cmd("Exec=/usr/local/cuda-10.0/bin/nsight") in the "/usr/share/applications/nsight.desktop", to avoid other issues for system java compatibility.
I just change the cmd to "Exec=/ddisk/program/cuda/nsight.sh", and set the java 7/8 home in the shell script, and then run the "nsight" . Because if I change the /usr/bin/java link directly on my Ubuntu 18.04, it leads the Thunderbird's secure message extension "Enigmail"(pep-json-server) to high CPU and Mem usage.
#!/bin/bash
# nsight.sh
# Java paths.
# NOTE: We should use java 7 or 8 for Nsight Eclipse Edition 10.0.
#export JAVA_HOME=/ddisk/program/java/latest
export JAVA_HOME=/ddisk/program/java/java7
#export JAVA_HOME=/ddisk/program/java/java8
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar
export PATH=$JAVA_HOME/bin:$PATH
# Run the Nsight Eclipse.
#nsight
/usr/local/cuda/bin/nsight
Related
I have a linking problem in Rust.
I'm new to rust and I'm building a library project using the pcap crate.
On linux and Mac OS everything works fine, but as soon as I try on Windows I get linking errors.
I added pcap crate in the cargo.toml as a dependency.
I then installed Winpcap as said in the crates.io pcap page (https://crates.io/crates/pcap) (installed the Developers pack as well). Then on the page says to :
Add the /Lib or /Lib/x64 folder to your LIB environment variable.
I get this error (I deleted part of the paths in the middle of the error to focus on the main stuff, but if they are useful let me know):
error: linking with `link.exe` failed: exit code: 1181
|
= note: "C:\\Program Files\\Microsoft
VisualStudio\\2022\\Community\\VC\\Tools\\MSVC\\14.........
....................
= note: LINK : fatal error LNK1181: cannot open input file
'wpcap.lib'
I solved the wpcap.lib basic linking error by adding it to a new environment variable called LIB as the documentation says.
Then, trying to cargo build, I got an error saying
PS C:\dev\testing> cargo build
Compiling testing v0.1.0 (C:\dev\testing)
error: linking with `link.exe` failed: exit code: 1120
|
= note: "C:\\Program Files\\Microsoft Visual
Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.32.31326\\bin\\HostX64\\x64\\link.exe"
"/NOLOGO" "C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.0.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.1.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.10.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.2.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.3.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.4.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.5.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.6.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.7.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.8.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.testing.edb54395-cgu.9.rcgu.o"
"C:\\dev\\testing\\target\\debug\\deps\\testing.1aob1werv7d25t5k.rcgu.o"
"/LIBPATH:C:\\dev\\testing\\target\\debug\\deps"
"/LIBPATH:C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib"
"C:\\dev\\testing\\target\\debug\\deps\\libpcap-8deb041f35d1931b.rlib"
"C:\\dev\\testing\\target\\debug\\deps\\liberrno-7dba5013f5f8cda0.rlib"
"C:\\dev\\testing\\target\\debug\\deps\\liblibc-b1b00607d98a9924.rlib"
"C:\\dev\\testing\\target\\debug\\deps\\libwinapi-67f367a3be4e6577.rlib"
"C:\\dev\\testing\\target\\debug\\deps\\libwidestring-e027d887e1db6ed5.rlib"
"C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-ca7b0c28ec762872.rlib"
"C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-1b050a71ed5c4477.rlib"
"C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd_detect-ba9f9c006950f110.rlib"
"C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_demangle-
4e228cbffbe5e3cd.rlib" "C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-d3d7c65121bb0d35.rlib"
"C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-
2cedaf2947cb8622.rlib" "C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-7d6cff0c7b8f0c2b.rlib"
"C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-63bdfcda4a65748c.rlib"
"C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-c331c9d260094b22.rlib"
"C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-34d0a2dd4a5dbc91.rlib"
"C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-
e7b8421abede5598.rlib" "C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-08b052fa5e861ac2.rlib"
"C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-
18761c3bc8f2e6ea.rlib" "wpcap.lib" "advapi32.lib" "cfgmgr32.lib" "kernel32.lib"
"user32.lib" "kernel32.lib" "ws2_32.lib" "bcrypt.lib" "advapi32.lib" "userenv.lib"
"kernel32.lib" "msvcrt.lib" "/NXCOMPAT"
"/LIBPATH:C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib"
"/OUT:C:\\dev\\testing\\target\\debug\\deps\\testing.exe" "/OPT:REF,NOICF" "/DEBUG"
"/NATVIS:C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\etc\\intrinsic.natvis"
"/NATVIS:C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\etc\\liballoc.natvis"
"/NATVIS:C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\etc\\libcore.natvis"
"/NATVIS:C:\\Users\\Noahr\\.rustup\\toolchains\\stable-x86_64-pc-windows-
msvc\\lib\\rustlib\\etc\\libstd.natvis"
= note: libpcap-8deb041f35d1931b.rlib(pcap-8deb041f35d1931b.pcap.c5d00465-cgu.0.rcgu.o)
: error LNK2019: unresolved external symbol pcap_set_tstamp_type referenced in function
_ZN4pcap29Capture$LT$pcap..Inactive$GT$11tstamp_type17h390a1208ab521116E
libpcap-8deb041f35d1931b.rlib(pcap-8deb041f35d1931b.pcap.c5d00465-cgu.0.rcgu.o) :
error LNK2019: unresolved external symbol pcap_set_immediate_mode referenced in function
_ZN4pcap29Capture$LT$pcap..Inactive$GT$14immediate_mode17h93e0c1bfbe5dff6eE
libpcap-8deb041f35d1931b.rlib(pcap-8deb041f35d1931b.pcap.c5d00465-cgu.0.rcgu.o) :
error LNK2019: unresolved external symbol pcap_set_tstamp_precision referenced in
function _ZN4pcap29Capture$LT$pcap..Inactive$GT$9precision17h00be47b98a77c43eE
C:\dev\testing\target\debug\deps\testing.exe : fatal error LNK1120: 3 unresolved
externals
It seems like it found wpcap.lib, but didn't found those 3 libpcap function.
I am stuck. Thanks for the attention and for the replies :)
Update. I solved the issue uninstalling winpcap and rustup.
Resinstalled rustup, winpcap and winpcap developers pack sdk.
Added to a new LIB environment variable the path to the x64 folder of winpcap sdk.
Now everything works. I don't know the reason why iI had that error before but know it works.
I think this question is a duplicate: RcppEigen install failure on Ubuntu 20.04: warning: ignoring attributes on template argument ‘__m128’
However I don't think the solution proposed will work for me as I do not have root access to the machine. I am using R in a conda environment on Ubuntu 18 Bionic Beaver. Attempting to install RcppEigen gives a bunch of warnings (snippet of which are shown), then the make command abruptly fails:
../inst/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type {aka __vector(2) double}' [-Wignored-attributes]
../inst/include/Eigen/src/Core/CoreEvaluators.h:960:8: warning: ignoring attributes on template argument 'Eigen::internal::packet_traits<double>::type {aka __vector(2) double}' [-Wignored-attributes]
make: *** [/home/4469722/miniconda3/envs/r_env/lib/R/etc/Makeconf:175: fastLm.o] Error 1
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/home/4473331/R/x86_64-conda_cos6-linux-gnu-library/3.6/RcppEigen’
Any help is appreciated. Here is my session info:
R version 3.6.1 (2019-07-05)
Platform: x86_64-conda_cos6-linux-gnu (64-bit)
Running under: Ubuntu 18.04.5 LTS
Matrix products: default
BLAS/LAPACK: /home/4469722/miniconda3/envs/r_env/lib/R/lib/libRblas.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
I am trying to build my own Rcpp package, it works pretty well in my local computer, now I am installing it into another computer, the following error pops up:
ERROR: dependency ‘RcppArmadillo’ is not available for package "my_package_name"
Below is some information about the environment (by sessionInfo()):
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.6 LTS
Matrix products: default
BLAS: /usr/lib/openblas-base/libblas.so.3
LAPACK: /usr/lib/libopenblasp-r0.2.18.so
locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3]
LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5]
LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7]
LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C
LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.3
In the DESCRIPTION file, I already have
Linking to: Rcpp, RcppArmadillo
One action I tried but still did not work is installing the development versions of BLAS and LAPACK as suggested in https://support.bioconductor.org/p/117905/
Is there anyone knows which causes this error? Thank you in advance!
So I have set up an oracle linux 8 64-bit vm, since tries with other VMs always ended up missing libraries, I thought using the linux-os provided by Oracle themselves would have the needed libraries for a simple database installation.
I keep on running into issues with some 'libnsl.so.1' library, which cannot open a shared object file.
I have basically just set up this VM and manually downloaded two libraries for the preinstall, which worked fine after I installed the libraries.
Basically it looks like this:
[root#localhost ~]# yum localinstall /home/derfred3/Downloads/oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
Last metadata expiration check: 1:12:24 ago on Sun 13 Dec 2020 12:13:16 PM CET.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
oracle-database-preinstall-18c
x86_64 1.0-1.el7 #commandline 18 k
Installing dependencies:
glibc-devel x86_64 2.28-127.0.1.el8 ol8_baseos_latest 1.0 M
ksh x86_64 20120801-254.0.1.el8 ol8_appstream 927 k
libaio-devel x86_64 0.3.112-1.el8 ol8_baseos_latest 19 k
libstdc++-devel x86_64 8.3.1-5.1.0.1.el8 ol8_appstream 2.1 M
libxcrypt-devel x86_64 4.1.1-4.el8 ol8_baseos_latest 25 k
lm_sensors-libs x86_64 3.4.0-21.20180522git70f7e08.el8 ol8_baseos_latest 59 k
make x86_64 1:4.2.1-10.el8 ol8_baseos_latest 498 k
sysstat x86_64 11.7.3-5.el8 ol8_appstream 425 k
Transaction Summary
================================================================================
Install 9 Packages
Total size: 5.0 M
Total download size: 5.0 M
Installed size: 19 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): libaio-devel-0.3.112-1.el8.x86_64.rpm 139 kB/s | 19 kB 00:00
(2/8): libxcrypt-devel-4.1.1-4.el8.x86_64.rpm 159 kB/s | 25 kB 00:00
(3/8): lm_sensors-libs-3.4.0-21.20180522git70f7 362 kB/s | 59 kB 00:00
(4/8): make-4.2.1-10.el8.x86_64.rpm 2.8 MB/s | 498 kB 00:00
(5/8): ksh-20120801-254.0.1.el8.x86_64.rpm 2.9 MB/s | 927 kB 00:00
(6/8): glibc-devel-2.28-127.0.1.el8.x86_64.rpm 3.0 MB/s | 1.0 MB 00:00
(7/8): sysstat-11.7.3-5.el8.x86_64.rpm 2.8 MB/s | 425 kB 00:00
(8/8): libstdc++-devel-8.3.1-5.1.0.1.el8.x86_64 3.0 MB/s | 2.1 MB 00:00
--------------------------------------------------------------------------------
Total 5.0 MB/s | 5.0 MB 00:01
warning: /var/cache/dnf/ol8_baseos_latest-e4c6155830ad002c/packages/libaio-devel-0.3.112-1.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ad986da3: NOKEY
Oracle Linux 8 BaseOS Latest (x86_64) 3.0 MB/s | 3.1 kB 00:00
Importing GPG key 0xAD986DA3:
Userid : "Oracle OSS group (Open Source Software group) <build#oss.oracle.com>"
Fingerprint: 76FD 3DB1 3AB6 7410 B89D B10E 8256 2EA9 AD98 6DA3
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : glibc-devel-2.28-127.0.1.el8.x86_64 1/9
Running scriptlet: glibc-devel-2.28-127.0.1.el8.x86_64 1/9
Installing : libxcrypt-devel-4.1.1-4.el8.x86_64 2/9
Installing : libstdc++-devel-8.3.1-5.1.0.1.el8.x86_64 3/9
Installing : ksh-20120801-254.0.1.el8.x86_64 4/9
Running scriptlet: ksh-20120801-254.0.1.el8.x86_64 4/9
Installing : make-1:4.2.1-10.el8.x86_64 5/9
Running scriptlet: make-1:4.2.1-10.el8.x86_64 5/9
Installing : lm_sensors-libs-3.4.0-21.20180522git70f7e08.el8.x86_ 6/9
Running scriptlet: lm_sensors-libs-3.4.0-21.20180522git70f7e08.el8.x86_ 6/9
Installing : sysstat-11.7.3-5.el8.x86_64 7/9
Running scriptlet: sysstat-11.7.3-5.el8.x86_64 7/9
Installing : libaio-devel-0.3.112-1.el8.x86_64 8/9
Running scriptlet: oracle-database-preinstall-18c-1.0-1.el7.x86_64 9/9
Installing : oracle-database-preinstall-18c-1.0-1.el7.x86_64 9/9
Running scriptlet: oracle-database-preinstall-18c-1.0-1.el7.x86_64 9/9
Verifying : libaio-devel-0.3.112-1.el8.x86_64 1/9
Verifying : libxcrypt-devel-4.1.1-4.el8.x86_64 2/9
Verifying : lm_sensors-libs-3.4.0-21.20180522git70f7e08.el8.x86_ 3/9
Verifying : make-1:4.2.1-10.el8.x86_64 4/9
Verifying : glibc-devel-2.28-127.0.1.el8.x86_64 5/9
Verifying : ksh-20120801-254.0.1.el8.x86_64 6/9
Verifying : libstdc++-devel-8.3.1-5.1.0.1.el8.x86_64 7/9
Verifying : sysstat-11.7.3-5.el8.x86_64 8/9
Verifying : oracle-database-preinstall-18c-1.0-1.el7.x86_64 9/9
Installed:
glibc-devel-2.28-127.0.1.el8.x86_64
ksh-20120801-254.0.1.el8.x86_64
libaio-devel-0.3.112-1.el8.x86_64
libstdc++-devel-8.3.1-5.1.0.1.el8.x86_64
libxcrypt-devel-4.1.1-4.el8.x86_64
lm_sensors-libs-3.4.0-21.20180522git70f7e08.el8.x86_64
make-1:4.2.1-10.el8.x86_64
oracle-database-preinstall-18c-1.0-1.el7.x86_64
sysstat-11.7.3-5.el8.x86_64
Complete!
[root#localhost ~]# yum localinstall /home/derfred3/Downloads/oracle-database-
oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
oracle-database-xe-18c-1.0-1.x86_64.rpm
[root#localhost ~]# yum localinstall /home/derfred3/Downloads/oracle-database-
oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm
oracle-database-xe-18c-1.0-1.x86_64.rpm
[root#localhost ~]# yum localinstall /home/derfred3/Downloads/oracle-database-xe-18c-1.0-1.x86_64.rpm
Last metadata expiration check: 1:12:59 ago on Sun 13 Dec 2020 12:13:16 PM CET.
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Installing:
oracle-database-xe-18c x86_64 1.0-1 #commandline 2.3 G
Transaction Summary
================================================================================
Install 1 Package
Total size: 2.3 G
Installed size: 5.2 G
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: oracle-database-xe-18c-1.0-1.x86_64 1/1
Installing : oracle-database-xe-18c-1.0-1.x86_64 1/1
Running scriptlet: oracle-database-xe-18c-1.0-1.x86_64 1/1
Exception java.lang.UnsatisfiedLinkError: /opt/oracle/product/18c/dbhomeXE/oui/lib/linux64/liboraInstaller.so: libnsl.so.1: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /opt/oracle/product/18c/dbhomeXE/oui/lib/linux64/liboraInstaller.so: libnsl.so.1: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:388)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:130)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiix.OiixIniPair.instantiateEnvVars(OiixIniPair.java:299)
at oracle.sysman.oii.oiix.OiixIniPair.updateValue(OiixIniPair.java:230)
at oracle.sysman.oii.oiix.OiixIniPair.<init>(OiixIniPair.java:148)
at oracle.sysman.oii.oiix.OiixIniFile.readFile(OiixIniFile.java:809)
at oracle.sysman.oii.oiix.OiixIniFile.readIniFile(OiixIniFile.java:978)
at oracle.sysman.oii.oiix.OiixIniFile.getProfileString(OiixIniFile.java:385)
at oracle.sysman.oii.oiix.OiixOraparam.getOraparamProfileString(OiixOraparam.java:339)
at oracle.sysman.oii.oiix.OiixOraparam.getOraparamProfileString(OiixOraparam.java:297)
at oracle.sysman.oii.oiix.OiixOraparam.usePrereqChecker(OiixOraparam.java:417)
at oracle.sysman.oii.oiic.OiicSessionContext.setVariables(OiicSessionContext.java:1325)
at oracle.sysman.oii.oiic.OiicBaseInventoryApp.execute(OiicBaseInventoryApp.java:766)
at oracle.sysman.oii.oiic.OiicBaseInventoryApp.main_helper(OiicBaseInventoryApp.java:685)
at oracle.sysman.oii.oiic.OiicDetachHome.main(OiicDetachHome.java:420)
'DetachHome' failed.
Exception in thread "main" java.lang.NullPointerException
at oracle.sysman.oii.oiic.OiicBaseInventoryApp.main_helper(OiicBaseInventoryApp.java:701)
at oracle.sysman.oii.oiic.OiicDetachHome.main(OiicDetachHome.java:420)
Exception java.lang.UnsatisfiedLinkError: /opt/oracle/product/18c/dbhomeXE/oui/lib/linux64/liboraInstaller.so: libnsl.so.1: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /opt/oracle/product/18c/dbhomeXE/oui/lib/linux64/liboraInstaller.so: libnsl.so.1: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:388)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:130)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiix.OiixIniPair.instantiateEnvVars(OiixIniPair.java:299)
at oracle.sysman.oii.oiix.OiixIniPair.updateValue(OiixIniPair.java:230)
at oracle.sysman.oii.oiix.OiixIniPair.<init>(OiixIniPair.java:148)
at oracle.sysman.oii.oiix.OiixIniFile.readFile(OiixIniFile.java:809)
at oracle.sysman.oii.oiix.OiixIniFile.readIniFile(OiixIniFile.java:978)
at oracle.sysman.oii.oiix.OiixIniFile.getProfileString(OiixIniFile.java:385)
at oracle.sysman.oii.oiix.OiixOraparam.getOraparamProfileString(OiixOraparam.java:339)
at oracle.sysman.oii.oiix.OiixOraparam.getOraparamProfileString(OiixOraparam.java:297)
at oracle.sysman.oii.oiix.OiixOraparam.usePrereqChecker(OiixOraparam.java:417)
at oracle.sysman.oii.oiic.OiicSessionContext.setVariables(OiicSessionContext.java:1325)
at oracle.sysman.oii.oiic.OiicBaseInventoryApp.execute(OiicBaseInventoryApp.java:766)
at oracle.sysman.oii.oiic.OiicBaseInventoryApp.main_helper(OiicBaseInventoryApp.java:685)
at oracle.sysman.oii.oiic.OiicAttachHome.main(OiicAttachHome.java:696)
'AttachHome' failed.
Exception in thread "main" java.lang.NullPointerException
at oracle.sysman.oii.oiic.OiicBaseInventoryApp.main_helper(OiicBaseInventoryApp.java:701)
at oracle.sysman.oii.oiic.OiicAttachHome.main(OiicAttachHome.java:696)
[SEVERE] An error occurred while registering the Oracle home. Verify logs in /var/log/oracle-database-xe-18c/results/oraInstall.log and /opt/oracle/oraInventory for more details and try again.
warning: %post(oracle-database-xe-18c-1.0-1.x86_64) scriptlet failed, exit status 1
Error in POSTIN scriptlet in rpm package oracle-database-xe-18c
Verifying : oracle-database-xe-18c-1.0-1.x86_64 1/1
Installed:
oracle-database-xe-18c-1.0-1.x86_64
Complete!
[root#localhost ~]#
Can anyone help me with this?
It is quite frustrating to look at basically any online guide and never see them mention problems that can come up with this. Also searching the web for those problems seem to only direct me to those 'easy guide to install oracle 18c xe' sites.
I might add that I am no linux specialist, but quite a newbie, so please consider this when answering. Much appreciated!
I'd suggest a different approach: why reinventing the wheel? Download one of pre-built virtual machines which are already configured and ready to use. Find them here.
When I startup eclipse luna (4.4), after installing GWT plugin from this update site: https://dl.google.com/eclipse/plugin/4.4
I'm getting a bunch of errors on my Error Log, all of them complaining about "Could not resolve module XXX", where XXX is:
- com.google.gdt.eclipse.mobile.android
- com.google.gwt.eclipse.oophm [869]
- com.google.gwt.eclipse.core [867]
- com.google.gdt.eclipse.suite.ext.e38
This is a detailed stack trace:
org.osgi.framework.BundleException: Could not resolve module:
com.google.gwt.eclipse.oophm [869] Unresolved requirement:
Require-Bundle: com.google.gdt.eclipse.core; visibility:="reexport"
-> Bundle-SymbolicName: com.google.gdt.eclipse.core; bundle-version="3.8.0.v201410302155-rel-r44"; singleton:="true"
com.google.gdt.eclipse.core [854]
Unresolved requirement: Require-Bundle: com.google.gdt.eclipse.platform; visibility:="reexport"
-> Bundle-SymbolicName: com.google.gdt.eclipse.platform; bundle-version="3.8.0.v201410302155-rel-r44"; singleton:="true"
com.google.gdt.eclipse.platform [863]
Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
at org.eclipse.osgi.container.Module.start(Module.java:434) at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at
org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
My environment is
OSX, Mountain Lion, running with Java 1.6.0.
Solved: the problem was the extremely old version of JDK being used. I downloaded jdk 1.7.x and it works now. Hope this helps