Coder Social home page Coder Social logo

Wrong version taken for SONAME about erfa HOT 6 CLOSED

liberfa avatar liberfa commented on August 15, 2024
Wrong version taken for SONAME

from erfa.

Comments (6)

eteq avatar eteq commented on August 15, 2024

Oh that's weird. Honestly, I have no idea @olebole... But I agree it seems like it should be 7 not 1...

from erfa.

eteq avatar eteq commented on August 15, 2024

@sergiopasra might have some insight as I think that's whom the machinery originates from?

from erfa.

rmathar avatar rmathar commented on August 15, 2024

If one wants to enforce a specific SONAME, one can add a line

soname_spec=lib${PACKAGE}${shrext_cmds}.${VI_CURR}

just in front of the

AC_OUTPUT

in configure.ac. The internal problem seems to be that libtool/automake in link
mode adds -Wl,soname but not the full -Wl,soname,liberfa.so.7 .
For that reason adding -Wl,soname,liberfa.so.7 in src/Makefile.am to LDFLAGS
does not work either.

from erfa.

sergiopasra avatar sergiopasra commented on August 15, 2024

The number 1 is correct, and, in fact, is not the 1 from LIB_VERSION but the difference between current and age, 7 - 6 = 1
This is explained in the libtool page but a shorter, perhaps more clear, explanation can be found here, after the "Warning" in section 4.1

from erfa.

olebole avatar olebole commented on August 15, 2024

Ah, this sounds reasonable. Well, as reasonable as Voodoo can be. I think this can be closed.

from erfa.

mhvk avatar mhvk commented on August 15, 2024

Thanks, learned something new there!

from erfa.

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.