Bug Report Fedora 21 libobs.so.0 issue

Galaxy_119

New Member
After alittle mucking about to get it to compile properly (had to manually ln -s the c++ i686 libs to the x86_64 folder, along with grab libOpenCL.so.1 from the repo (for some reason, nvidia drivers past 332 don't install it in the proper place through the nvidia installer)
I finally got it installed! With no errors!

Yay!!



Click the OBS icon in system tray... nothing..

Terminal->obs I get this error:
obs: error while loading shared libraries: libobs.so.0: cannot open shared object file: file not found

so i manually ln -s all of the /usr/local/lib/libobs* files to /usr/lib /usr/lib64
Now the error is:
obs: error while loading shared libraries: libobs.so.0: cannot open shared object file: error 40

I have no idea what's going on or how to fix it at this point.
 
It could be helpful if you can give us the commands you used to compile OBS on Fedora (did you follow instructions in INSTALL file ?)
 

Galaxy_119

New Member
followed instructions in the INSTALL file to the letter.
git clone https://github.com/jp9000/obs-studio.git
cd obs-studio
mkdir build && cd build
cmake -DUNIX_STRUCTURE=1 ..
make -j2 (changes from 4 because no 4-core cpu)
sudo make install
ontop of these I had to do..
sudo ln -s /usr/local/lib/libobs* /usr/lib64
sudo ln -s /usr/local/lib/libobs* /usr/lib

All the last two did was change the "file not found" to "error 40"
 

Galaxy_119

New Member
Ok, so I had a n00b moment, I had to reinstall part of the nvidia lib files (openCL) to get the make -j2 to compile it working.. Which in itself was fine, was able to use the libs to compile and install fine.. Needed to reboot for the OS to map those libs as useable for programs..

Moral of the story: reboot anytime you install anything.
 

jflory7

New Member
sudo ln -s /usr/local/lib/libobs* /usr/lib64
sudo ln -s /usr/local/lib/libobs* /usr/lib
When you do this, could you explain what the purpose of doing this is or what you are symbolically linking? I am also having the same issue described in your post, but I just wanted to make sure I am understanding what I am typing.

Ok, so I had a n00b moment, I had to reinstall part of the nvidia lib files (openCL) to get the make -j2 to compile it working.. Which in itself was fine, was able to use the libs to compile and install fine.. Needed to reboot for the OS to map those libs as useable for programs..

Moral of the story: reboot anytime you install anything.
Tried restarting, but still no good for me. I am also using NVIDIA drivers on my system (from RPMFusion). Could you explain what you did here for me as well?
 
Top