I downloaded a package Rcount-multireads. It requires Qt5 libraries. I am working on a Linux server without admin rights and use the conda environment. I installed Qt5 via conda. Running ./Rcount-multireads should result in printing of the program parameters but gives me the following error:
./Rcount-multireads: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory
I found libQt5Widgets.so.5 in /software/miniconda3/envs/repeats/lib/. How would I be able to grant access to those libraries?
Thanks for your help.
Related
I created a simple program using Lazarus Ide Qt5. I'm using Kubuntu 20 right now. When I build and run it on another Linux distribuiton I get error:
Quote
./shortcutcreator: error while loading shared libraries: libQt5Pas.so.1: cannot open shared object file: No such file or direcctory.
How can I build it for other machines?
(lib)qt5pas is a C++->C flattening library for QT5. It is afaik available in the package repositories, simply install it on the receiving PC.
After I upgrade my (arch linux) system I get de following error when I try to open Rstudio:
rstudio: error while loading shared libraries:
libboost_date_time.so.1.66.0: cannot open shared object file: No such file or directory
After looking at usr/lib directory I found that the new library is libboost_date_time.so.1.67.0. How can I update the library path to the new file?
Reinstalling rstudio is not an option right now because I get another error that I posted in other topic.
I am trying to install an external dependency into Python for TideSDK. The current module I am trying to install is redis-py.
To install it I tried the following steps:
Open Command Prompt in regular administrative mode
Change directory to the downloaded module of redis-py
Provide the path to the python module used by TideSDK followed by the standard compile and install from source command prompt. The command I used: "C:\Program Files (x8
6)\TideSDK Developer\modules\python\1.3.1-beta\python.exe" setup.py install
The setup looked very promising. The redis-py module with egg file is confirmed to be installed by both the installer with exited with no errors and with a visual check on the directory.
So what gives? The correct files are installed in Lib/site-packages. TideSDK gives me ImportError: No module named redis. Any suggestions?
I solved it for another module: simplejson.
I guess the workaround should work for any module of this kind.
BTW, simplejson may be used to support json, as the actual version (TideSDK 1.3.1-beta) comes with Python 2.5 which doesn't support the standard json module, it comes in Python 2.6 (or higher).
First, the path you are using is for "TideSDK Developer", that's the program to launch and build apps. It happens that "TideSDK Developer" is built using TideSDK, so the structure is the same.
C:\Program Files (x8 6)\TideSDK
Developer\modules\python\1.3.1-beta\python.exe
The path that TideSDK actually uses to launch and compile apps is inside "C:\ProgramData"
In my case, it's:
C:\ProgramData\TideSDK\modules\win32\python\1.3.1-beta\python.exe
So, this is what I did, I ran:
C:\ProgramData\TideSDK\modules\win32\python\1.3.1-beta\python.exe setup.py install
That "installs" the module, but installs it inside "site-packages". So, when I launched the app I got the same error ("no module named simplejson"), I then copied the module from inside "site-packages" to outside.
I copied from:
C:\ProgramData\TideSDK\modules\win32\python\1.3.1-beta\Lib\site-packages\simplejson
to:
C:\ProgramData\TideSDK\modules\win32\python\1.3.1-beta\Lib\simplejson
And that's it. That worked for me.
In summary: Go to ProgramData, install with python and copy the folder installed inside site-packages.
I am new to python and plan on using it with pykml to create KML files for Google Earth. I have succesfully installed the dependecies(lxml-2.3-py2.7-win32.egg) and the pykml package(pykml-0.1.0-py2.7.egg) itself using easy_install.
In the python interpreter I can import lxml and pykml without issue, but when I try importing pykml."any module" I get an error that says:
python.exe - Unable to Locate Component
-This application has failed to start because MSVCR90.dll was not found. Re-installing the application may fix this problem.
After getting this I downloaded the MSVCR90.dll and placed it in my \Lib\site-package folder and got the following error:
Microsoft Visual C++ Runtime Library
- Runtime Error!
- Program: C:\hp\bin\Python\python.exe
-R6034
-An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information.
Anyone with experience using pykml on Windows please help!!!
Thanks!
I've successfully installed native Oracle on 10.6, and can successfully compile and execute the example Pro*C code using the 'oracle' account (i.e. the same OS user that the software was installed under). That was a fun job. It even works with clang.
However, in our normal development environment, the source, build scripts, make files, etc, are owned by a different Unix group and user - with access to a restricted set of Oracle tools (sqlplus, exp, proc, etc).
Trying to use sqlplus from the oracle install gave the (known problem)
dyld: Library not loaded: /b/227/sqlplus/lib/libsqlplus.dylib
This is despite DYLD_LIBRARY_PATH definitely being set correctly. Someone who had done more investigation thought that somewhere along the line the library path was being unset before the process started.
I gave up and just went with using the instantclient instead.
Unfortunately, the instantclient SDK is OCCI only - it doesn't include the pro*c compiler.
So I am back to trying to get the 'dev' user to be able to execute 'proc' in the oracle bin directory. I've already solved one dylib issue (using a symbolic link), and various file permission issues (need to grant -r to files in the /precomp directory hierarchy).
Now I'm getting a core dump (which doesn't occur when running under the oracle user)
System default option values taken from:
/Users/oracle/product/10.2.0/db_1/precomp/admin/pcscfg.cfg
INTERNAL ERROR: Failed assertion [PGE Code=90105]
Segmentation fault
Any suggestions? Has anyone actually successfully done this?
The first problem I had was solved by granting read access to the /precomp directory and sub-directories under the oracle install (the question was then edited for my next problem).
By default the proc compiler writes into the directory where the source code file exists, not local. Simple fix - specify the target filename by path. This successfully produced the .c file.
Getting this to compile is a case of giving access to, and specifying, the right libraries to link in (the instantclient 64 bit ones will work here).
Finally, hack the example make into shape.