Giter VIP home page Giter VIP logo

Comments (8)

scorpion-26 avatar scorpion-26 commented on May 31, 2024

If you've followed the install instructions:
libgBar.so is found in /usr/local/lib, which is not part of any of the dynamic linker search paths.

To fix that:
Put /usr/local/lib/ at the end of /etc/ld.so.conf, then reboot.
This should fix the problem.

from gbar.

jishnurajendran avatar jishnurajendran commented on May 31, 2024

Thanks, this works

from gbar.

linuxmobile avatar linuxmobile commented on May 31, 2024

Put /usr/local/lib/ at the end of /etc/ld.so.conf, then reboot.

Same error here.

I added this in both ways: include /usr/local/lib & /usr/local/lib
I rebooted both times but nothing. Follow the same error.
image

from gbar.

scorpion-26 avatar scorpion-26 commented on May 31, 2024

Can you post the output of ldd /usr/local/bin/gBar?
Does libgBar.so exist in /usr/local/lib/?

from gbar.

linuxmobile avatar linuxmobile commented on May 31, 2024

ldd /usr/local/bin/gBar

Thx for answer so fast <3
image

from gbar.

scorpion-26 avatar scorpion-26 commented on May 31, 2024

Does running LD_LIBRARY_PATH=/usr/local/lib/ gBar bar 0 work?

from gbar.

linuxmobile avatar linuxmobile commented on May 31, 2024

LD_LIBRARY_PATH=/usr/local/lib/ gBar bar 0

Yes. Running fine now:
image

from gbar.

scorpion-26 avatar scorpion-26 commented on May 31, 2024

Strange...
Anyway, you can make that permanent by adding LD_LIBRARY_PATH=/usr/local/lib/ to /etc/environment, then logout and it should work. Then you can just run gBar bar 0 like you normally would.

Note, that this could cause issues, since the linker now prefers the libraries in/usr/local/lib over libraries in the same path as any executable. An alternative to setting LD_LIBRARY_PATH would be just installing to /usr instead of /usr/local:
Uninstall from /usr/local, then meson setup build --reconfigure -Dbuildtype=release -Dprefix=/usr, then compile and install as usual.

from gbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.