I'm using Qtcreator to make GUI.
Ideally, I build the project in my local pc (CentOS virtual terminal),
and move it to remort server(CentOS).
Finally, I want to run it in windows system via X server(VcXsrv i use).
As operation verification, I create a new file and build as it is.
At first, it generates many errors in remort server, such as "./test: /lib64/libc.so.6: version GLIBC_2.14 not found (required by /users/my/Qt/5.9.1/gcc_64/lib/libQt5Gui.so.5)".
I don't have root permission and can't update /lib64/, so download latest lib64 to my directory, and add to LD_LIBRARY_PATH.
Previous error is solved but the error message "segmentation fault (core dumped)" comes to appear.
Why this problem occur even though it is a raw project?
Can anyone help me to solve the problem?
so download latest lib64 to my directory, and add to LD_LIBRARY_PATH. Previous error is solved but the error message "segmentation fault (core dumped)" comes to appear.
That will never work. This answer explains what you should do instead.
Related
I've checked the other questions and this case doesn't seem to be covered. I'm running Ubuntu in WSL on my windows machine and I'm trying to run GNATStudio, any time I attempt to run the program either via Alire or by calling it I receive the following error.
error while loading shared libraries: libxcb-shm.so.0: cannot open shared object file: No such file or directory
I've already done the basics, and verified I have the correct file installed. Calling apt-file find produces the following.
root#DESKTOP-F319G5G:/opt# apt-file find libxcb-shm.so.0
libxcb-shm0: /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0
libxcb-shm0: /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0
I've confirmed the location is in my path, as well and have restarted a few times. I'm really not too sure what my next steps should be. Any help is much appreciated!
The comment by #Bib solves this question: "install the libxcb-shm0-dev package."
I installed Scilab 5.5.2 on Windows 10, and then installed the Scilab Code Generator toolbox.
However, when I start Scilab, the following message appears and I can't use the toolbox. This problem occurs for every toolbox.
Start Scilab Code Generator
Version: 0.9.20190122
Load macros
atomsLoad: An error occurred while loading 'xcos_code_generator-0.9.20190122':
File "C:\Users\光\AppData\Roaming\Scilab\SCILAB~1.2\atoms\x64\XCOS_C~1\09E129~1.201\macros\names" does not exist or read access denied.
(光 is my username.)
I suppose the problem comes from "\Scilab\SCILAB~1.2" in the middle of the file path. In my computer, the only folder in "Scilab" is "scilab-5.5.2", so indeed the software cannot find the file it's looking for.
Does anyone have any ideas?
I need to use the toolbox at work soon, so any help is greatly appreciated. Thank you in advance.
Note: I'm not using the latest Scilab 6.0.2 because it fails to work on my computer. It closes immediately after I open it.
I solved the problem by myself.
It was my user name "光" that caused the problem. I found people saying that user names in full-width characters such as Japanese sometimes cause problems like this.
The solution is to create another user account with a name in half-width characters and install Scilab in that account. (Just changing the full-width user name doesn't work because it doesn't change the filenames that already exist.)
I couldn't find the solution until today because I was searching for solutions only in the context of Scilab, not in the context of software in general.
I hope this answer helps someone.
I'm not sure why you are using an outdated version of Scilab. The latest version is 6.0.2 on Windows. If the newer version doesn't work properly then that's the problem you need to fix first. To test your Scilab installation you may run it in the terminal. Find the installation folder. For me, it is C:\Program Files\scilab-6.0.2\bin the on cmd go to the path and run Scilex.exe. If not uninstall everything and install it in a proper way. My recommendation is to uninstall the old Scilab you already have. Then:
Install Chocolatey package manager
Open PowerShell as Admin and run choco update all -y, once in a while update your packages this way.
run choco install Scilab -y
then open the Scilab software
run the atomsInstall("xcos_code_generator") in the console
runt the atomsLoad("xcos_code_generator") to make sure your package is installed properly. You should see this as a result:
--> atomsInstall("xcos_code_generator")
Scanning repository http://atoms.scilab.org/6.0 ... Done
ans =
!xcos_code_generator 0.9.201901 user SCIHOME\atoms\x64\xcos_code_generator\0.9.201901 I !
--> atomsLoad("xcos_code_generator");
Start Scilab Code Generator
Version: 0.9.20190122
Load macros
Load help
Load demos
So I am having this issue for the past 8-9 hours. I have been trying to resolve it by googling around.
This is what I have tried so far.
1) Totally uninstalled node and npm.
2) Totally uninstalled meteor. Deleted all the local/.meteor data. Searched for meteor in entire C drive and deleted it. Restarted the PC.
3) Reinstalled node, npm and meteor js again. (Did steps 1-3 in safe mode also and tried 3 times.)
4) Ran command and got this error again. "C:\Users\Admin\AppData\Local.meteor\packages\meteor-tool\1.4.4_2\mt-os.window
s.x86_32\dev_bundle\lib\node_modules\q\q.js:70
hasStacks = !!e.stack;
^
RangeError: Maximum call stack size exceeded".
Note: The same code works for me in another system, so apparently code is fine the issue is with meteor and my pc.
Then I found that creating new windows account and installing meteor there can make it work. So I tried to do that as well but no luck.
I need help to resolve this as I don't have any clue what to do next.
Meteor version is: 1.4
Node version is: 6.10.3
NPM version is: 3.10.10
Apologies for late response, just had the same problem and was eventually able to solve it. The problem is that windows doesn't like long file paths. Unfortunately, meteor is full of them so the installer seems to miss those files.
Try this:
Install meteor if its not already.
navigate to C:\Users\%username%\AppData\Local and delete the
.Meteor folder.
Download the installation archive:
https://meteorinstall-4168.kxcdn.com/packages-bootstrap/1.5/meteor-bootstrap-os.windows.x86_32.tar.gz
use 7-zip to extract the .Meteor folder somewhere with a shorter
path; ie: C drive root directory. Make sure you are running 7-Zip as
admin, and extract it using 7-Zips interface. Don't drag and drop as
this will extract to the temp folder first.
Go to your Environment Variables (in Control Panel/Advanced System
Settings), edit Path, and change the .Meteor directory to where you extracted the folder.
Open up CMD, cross your fingers, and enter meteor --version
Hope this helps any desperate souls out there.
I was using VIBER application(cousin of SKYPE) when it stopped working.
I re-start my PC (it's installed only on my PC win7-kaspersky) but it doesn't work anymore.
The shortcut points to C:\Users\pardis\AppData\Local\Viber where i have:
launcher.db
Viber.exe
Viber.exe.log
ViberUpdater.log
ViberUpdater.cmd
a lot of Qt*.dll files
when i click on viber.exe nothing happens(the program doesn't open-nor it's process) but just Viber.exe.log is updated with this message:
1|<> :0 => QObject::startTimer: Timers can only be used with threads
started with QThread
Any idea what should i do to make it work again? thanks
Find Viber's installation folder (C:\Users\<username>\AppData\Local\Viber on Windows 8), navigate to the folder with the name of the latest downloaded version (5.1.1.15 in my case), and run ViberSetup.exe. This should update it to the latest version, keeping your data and resolving the issue.
Had the same problem, including the text from log file. I updated the program to the latest version and it started working again, it should work for you too.
Unfortunately the version that stopped working is the latest version. When I try to reinstall, it simply says: you already have Viber installed.
I guess the only answer is to completely uninstall Viber and then reinstall a fresh version. I found a site with all recent versions. So I could reinstall and update without losing any settings or syncs.
When I login to RStudio server installed as an Amazon Machine Image, I, I see the message "RStudio Server Initialization Error" and "Status code 500 returned," as in the screenshot. When I click OK, nothing changes.
What does this mean and how can I fix this?
Refer the following link. It will guide you about the complete installation of R-Studio Server along with required dependencies.
Automated Installation of R-Studio Using Shell Script
It would be useful if you could state which version of RStudio Server you are using. Neverthless, you can try the following:
Install the most recent version using: wget http://download2.rstudio.org/rstudio-server-0.98.1103-amd64.deb. If you want 32-bit version wget http://download2.rstudio.org/rstudio-server-0.98.1103-i386.deb.
Delete the startup files (.Rprofile, .Renviron, and .RData) from your initial working directory, which should be user's home.
Check if you can run R from command line and if your are getting any error messages - fix that first