Code Monkey home page Code Monkey logo

Comments (8)

ouwou avatar ouwou commented on June 22, 2024

i still think the issue is entirely on your end in this case, but try doing a clean re-build. if that somehow still doesnt work, i guess try finding where libspdlog.so is and symlink it to /usr/lib/libspdlog.so.1

from abaddon.

KaKi87 avatar KaKi87 commented on June 22, 2024

Here's the output of locate libspdlog.so :

/usr/lib/x86_64-linux-gnu/libspdlog.so
/usr/lib/x86_64-linux-gnu/libspdlog.so.1.10
/usr/lib/x86_64-linux-gnu/libspdlog.so.1.10.0

When you say "on your end", do you mean me personally, or the Ubuntu devs ?

from abaddon.

ouwou avatar ouwou commented on June 22, 2024

i mean its most likely not something i can fix, its just a quirk of your system. i think your build is getting the library wrong? if i do ldd abaddon i get libspdlog.so.1.10 => /lib/x86_64-linux-gnu/libspdlog.so.1.10 which is different interestingly. i would expect a clean build to make that work but i guess you can try something like sudo ln -s /usr/lib/x86_64-linux-gnu/libspdlog.so.1.10 /usr/lib/x86_64-linux-gnu/libspdlog.so.1

from abaddon.

KaKi87 avatar KaKi87 commented on June 22, 2024

i mean its most likely not something i can fix

DEB or flatpak or snap packaging would fix the issue.

its just a quirk of your system

Which is the most popular Linux distro.

sudo ln -s /usr/lib/x86_64-linux-gnu/libspdlog.so.1.10 /usr/lib/x86_64-linux-gnu/libspdlog.so.1

That works, except I'm getting a new error now :

./abaddon: error while loading shared libraries: libfmt.so.8: cannot open shared object file: No such file or directory

Here's the output of apt policy libfmt-dev :

libfmt-dev:
  Installed: 9.1.0+ds1-2
  Candidate: 9.1.0+ds1-2
  Version table:
 *** 9.1.0+ds1-2 500
        500 http://fr.archive.ubuntu.com/ubuntu lunar/universe amd64 Packages
        100 /var/lib/dpkg/status

And the output of locate libfmt.so :

/usr/lib/x86_64-linux-gnu/libfmt.so
/usr/lib/x86_64-linux-gnu/libfmt.so.9
/usr/lib/x86_64-linux-gnu/libfmt.so.9.1.0

So I also ran sudo ln -s /usr/lib/x86_64-linux-gnu/libfmt.so.9.1.0 /usr/lib/x86_64-linux-gnu/libfmt.so.8, but then I got the following when trying to run the app again :

./abaddon: symbol lookup error: ./abaddon: undefined symbol: _ZN3fmt2v86detail14snprintf_floatIeEEiT_iNS1_11float_specsERNS1_6bufferIcEE

Thanks

from abaddon.

ouwou avatar ouwou commented on June 22, 2024

DEB or flatpak or snap packaging would fix the issue.

maybe but i unfortunately have zero experience with that side of things (i use windows 💀). there is an issue open for that though

anyways that last error has me stumped. only thing i can suggest is uninstalling libfmt (unless you need it for something else, since spdlog has it bundled), reinstalling spdlog, getting rid of the symlinks because they shouldnt be unnecessary, and doing a clean cmake build i.e. completely remove the contents of the build folder incl. CMakeCache.txt and CMakeFiles/. maybe you can show the output of cmake and the fresh CMakeCache.txt to see if we can figure out why its linking to something that doesnt exist

from abaddon.

KaKi87 avatar KaKi87 commented on June 22, 2024

uninstalling libfmt (unless you need it for something else, since spdlog has it bundled)

Well, that one was already installed when I checked for it so I guess I need it even though I don't know precisely what for.

doing a clean cmake build

I'm going to give up then, because I won't have the courage to build Abaddon myself everytime I'd want to upgrade.

Thanks anyway !

from abaddon.

ouwou avatar ouwou commented on June 22, 2024

well you shouldnt have to do clean builds every time, hopefully just once to get CMake to pick up the right library paths

from abaddon.

xnhunter avatar xnhunter commented on June 22, 2024

i still think the issue is entirely on your end in this case.

The error happens on both Fedora 40 and Ubuntu 24.04.

from abaddon.

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.