Questions tagged [library-path]

71 questions
0
votes
0 answers

How do I set LD_LIBRARY_PATH using gradle?

I want to use a library with a C++ project and I need to set the LD_LIBRARY_PATH to get it to compile and execute fine. The code compilation is done using gradle. I am trying to set the LD_LIBRARY_PATH in build.gradle as below but it doesn't seem to…
ghanashyam
  • 85
  • 1
  • 3
  • 13
0
votes
1 answer

Alternative to manually adding -I..library paths for every folder to tasks.json for the rest of my life?

In VS Code trying to use gtkmm and finding myself in a never ending loop of compile, find location of header file that wasn't found, then adding the library path to task.json args. Is this going to consume the rest of my days, or is there a better…
0
votes
0 answers

java.library.path not set as LD_LIBRARY_PATH

I'm running apache tomcat on a Linux machine hosted on google cloud, standard machine without anything fancy. The machine host's back_end Java API business application which requires certain binary .so files to link to when running. The required…
Krayer
  • 31
  • 5
0
votes
2 answers

How to set cdll search path at build time?

I have a shred library libcustom.so in a non standard folder, and a python package where I use ctypes.cdll.LoadLibrary("libcustom.so"). How can I set libcustom.so path at build time (something similar to rpath) ? env…
Balaïtous
  • 826
  • 6
  • 9
0
votes
0 answers

R installation won't let me open packages library issue

Hi so I'm having trouble with R studios on my desktop where it won't let me open any packages. When I attempt to install a package with install.packages() like Tidyverse I get this error. Error in library("tidyverse") : there is no package called…
0
votes
1 answer

Delphi gives F2613 Unit Not Found, but only for 64-bit Build

I have been developing my software with Delphi and use two 3rd party packages: TRichview and LMD ElPack. I have one unit in TRichview, and 3 units in LMD Elpack that I have added my own customizations to, so I keep my 4 customized versions of these…
lkessler
  • 19,819
  • 36
  • 132
  • 203
0
votes
1 answer

For G++ on MacOS how to add default include dir /usr/local/include and default library search path /usr/local/lib?

I have installed libfmt with homebrew. Files could be found in /usr/local/lib/libfmt.dylib and and /usr/local/include/fmt. Formally they are links to /usr/local/Cellar/.... G++ does not search /usr/local/include/ and /usr/local/lib/ by default. And…
kyb
  • 7,233
  • 5
  • 52
  • 105
0
votes
0 answers

Linked source folder in eclipse not working in other editors and terminal

I am working in a java project which requires java3d and i unzipped the library from the website and placed the contents inside my project repositry as follows lib: j3dcore.jar j3dutils.jar vecmath.jar resources: libj3dcore-ogl.so I opened…
NSK
  • 180
  • 2
  • 12
0
votes
2 answers

how to set lib-paths in R to have a single directory which is "C:\Users\Username\Documents\..."

Win 7 64 bit machine R version 3.5.3 (2019-03-11) Question: How do I set my library paths to have only one directory, namely: "C:/Users/Username/Documents/R/win-library/3.5" ? I added .libPaths("C:/Users/Username/Documents/R/win-library/3.5") to…
analytics-josh
  • 135
  • 2
  • 12
0
votes
1 answer

Can't get Ocean Optics OmniDriver to work

I'm currently working on a project where I need to be able to communicate with a spectrometer by using Ocean Optics OmniDriver. However, I'm unable to get it to work properly. When I run the debugger in Visual Studio 2017 I get "Frame not in module"…
David
  • 11
  • 1
0
votes
0 answers

What in heaven's name will actually clear .libPaths in R?

Based on a number of answers on the web, I've tried multiple approaches: .libPaths(): [1] "/home/balter/conda/lib/R/library" "/home/balter/R" > .library="" > .library.site=c("") > .libPaths() [1] "/home/balter/conda/lib/R/library" "/home/balter/R" >…
abalter
  • 9,663
  • 17
  • 90
  • 145
0
votes
1 answer

ImportError: libkfusion.so: cannot open shared object file: No such file or directory

I have been trying to reproduce a framework from a paper where it uses Kinect Fusion library. When I am running a test script, I got the errors: (darnn) weizhang@long:~/DA-RNN$ sudo ./experiments/scripts/test_kinect_fusion.sh 0 + set -e + export…
Wei
  • 305
  • 5
  • 18
0
votes
1 answer

Java Library Path - UnsatisfiedLinkError on Mac

I know, this is not the first library path problem, but I really don't know what the problem is. I need a KernelWrapper library for my project, and including it on Linux is no problem at all. However, when I try to include it in Mac (over Terminal…
TheBlackBird
  • 75
  • 1
  • 2
  • 12
0
votes
1 answer

"Apple Python" : OSError: dlopen(libps2000a.dylib, 6): image not found but not in IPython

On Macos, I have set DYLD_LIBRARY_PATH this way: export DYLD_LIBRARY_PATH=/Applications/PicoScope6.app/Contents/Resources/lib If I run those two lines in IPython, it works : from ctypes import cdll cdll.LoadLibrary("libps2000a.dylib") but I run…
SebMa
  • 4,037
  • 29
  • 39
0
votes
1 answer

ld commend doesn't search LIBRARY_PATH

In linux (like ubuntu), I set LIBRARY_PATH and LD_LIBRARY_PATH in my bash.bashrc file. But it seems that ld command does not search for that path. I run '$ ld -l --verbose' and it only search for default paths defined in…