Ubuntu/Darling - dyld: Failed to load native library: libSimpleWebKit.so - linux

I'm attempting to use Darling directly built from source on Github, I ran in to a few issues with building and dependencies, but with the help of apt-file I got through all the little problems. Now, I'm trying to run Sourcetree From Atlassian (as Wine can't seem to handle the windows version) and am getting the following error. Would anyone happen to have an idea on why? Currently running Ubuntu 13.04 64bit.
dyld: Cannot execute binary file: Failed to load native library: libSimpleWebKit.so: cannot open shared object file: No such file or directory

I just had this error myself. The error message tells you already everything you need to know: The appropriate library - libsimplewebkit - was not found and needs to be installed. Just search for simplewebkit with your distros package manager and install the appropriate package. If it doesn't find anything you will need to compile it yourself.

Related

The program 'llvm-config' version ==9.0.* is required but it could not be found

I wanted to install llvm-hs with the command cabal install llvm-hs -fshared-llvm, according to the installation guide of Accelerate on the website: https://www.acceleratehs.org/get-started.html. But something errors. After that I tried cabal install llvm-hs and then I got the error message:
Linking C:\Users\.......\cabal-tmp-14364\llvm-hs-9.0.1\dist\setup\setup.exe ...
setup.exe: The program 'llvm-config' version ==9.0.* is required but it could
not be found.
cabal: Leaving directory 'C:\Users\.......\cabal-tmp-14364\llvm-hs-9.0.1'
cabal.exe: Error: some packages failed to install:
llvm-hs-9.0.1-IXEp6h558cdJJTwzKkubg0 failed during the configure step. The
exception was:
ExitFailure 1
So I tried to figure out how I can 'install' llvm-config, but I can't really find the solution to this problem. Does anyone know the solution?
It seems that you are trying to install Accelerate for Windows with an LLVM backend. As far as I know, this is not possible.
Basically, it comes down to the fact that Accelerate, actually the llvm-hs package, needs LLVM as a shared library. This was not possible on Windows, although I'm unsure if anything has changed in that regard in the last 2 years.
There are still two options to still use Accelerate on Windows.
Use it without a backend, this means you can still program in Accelerate and run it via the interpreter, although it will be slow in execution time.
Try to use Windows Subsystem for Linux. If you want to use the GPU backend (accelerate-llvm-ptx), I believe that is now possible since of WSL 2 (following the instructions here). Or if you want the multicore backend accelerate-llvm-native that should be possible. Although of course, you will need to install LLVM first, you can follow the normal install instructions for Linux.

Linux - Running Executable Error (GLIBCXX_3.4.21 not found)

I'm trying to deploy my application as a stand-alone that can work on any Linux machine. I've built my application under Qt Creator and have successfully statically linked my application. However, when I test the application on another Linux machine, I get the following error:
libstdc++.so.6: version 'GLIBCXX_3.4.21' not found (required by ./Executable)
I'm not sure how to resolve this error.
This is a error i had myself, but in another context.
What this means is: libstdc++.so.6 (a shared object file, the standard library of c++ programms, that many programms can use together(share)) is another version then the program you compiled requires.
i had this issue when switching from gcc-4.8 to gcc-5.
Have you using different linux distros when compiling and executing? (Ubuntu?)
You must make sure the versions match, or statically compile the used libstdc++ into your binary as well.
Here is a SO question relating to these kind of issues.
GLIBCXX versions

Can I run a program with a newer version of shared openmpi library than it was compiled against?

I have a problem connected to a version of the openmpi library. Recently I had installed the newest stable version of the openmpi (1.10.2) and one of the programs I use stopped working. There is an error message when I run it:
error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory
Indeed, there is no such a file in my system. There is however a newer version of the library - libmpi.so.12 and libmpi.so.12.0.2. Other programs, which are using openmpi, work without any error, which proves that the library was installed correctly (at least I think so (: ).
Unfortunately, I don't know which version of the openmpi was used to compile the program. I don't have access to its source code, so I cannot compile it against the newer library. I noticed that I can make the program run if I copy the libmpi.so.12 to the file called libmpi.so.1
Therefore, I have two questions:
Is it reasonable to use the workaround I've found? I have some doubts, although the program appears to run well.
Is there a way to check which version of the openmpi library was used during a compilation?
Thanks in advance.
EDIT:
I use Linux Mint 17.3.

How to install libjpeg-turbo8 on Ubuntu 12.0.4

As suggested by Google, I'm trying to get http://jpegclub.org/jpegtran/ working on my Ubuntu server, but I'm getting the error:
"jpegtran: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory"
A Google search told me to install (via apt-get) libjpeg-turbo8, however apt-get can't find the package. My own Ubuntu computer (running 12.0.10) can find the package just fine.
I tried installing http://sourceforge.net/projects/libjpeg-turbo/ with no luck.
Am I doing something wrong or have I missed something? How do I get jpegtran working?
This question may be old, but i was trying to run the glassfish updatetool and it failed because of the lack of the libjpeg library.
Steps i did take:
1. install libjpeg62:i386 (for 64 bit ubuntu amd6)
I hope it helps someone

how to solve "missing shared object" w/o root right

Recently I want to run a statistical software SCILAB on our Linux server. I downloaded the software and ran the binary (the software manual says no need to install), but I got this error message:
"scilab-bin: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory"
I don't have a root right on the server and I don't think the administrator will install the missing packages for me. Is there are way to solve this problem? The server seems running Fedora or RedHat, and has "yun" "rpm".
Thanks,
If you can get a compatible libXss.so on the system under your account, try adding it to your library path
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/solib
and try running the application.

Resources