#128 mjpegtools-2.0.0rc1 wrong name.so to .so.0.0.0 links

open
9
2011-02-05
2011-02-05
Dave Plater
No

I maintain multimedia:libs for openSUSE and when I updated to 2.0.0rc1 it broke many packages due to libtool assigning incorrect library names. For example liblavfile-1.99.so.0.0.0 is built with the name liblavfile-1.99 whereas the previous version was built as liblavfile, this is not all bad but the fact that during the make install stage libtool assigns the devel link the name liblavfile.so linked to liblavfile-1.99.so.0 linked to liblavfile-1.99.so.0.0.0 I've worked around this issue with :
mv liblavfile.so liblavfile-1.99.so
mv liblavjpeg.so liblavjpeg-1.99.so
mv liblavplay.so liblavplay-1.99.so
mv liblavrec.so liblavrec-1.99.so
mv libmjpegutils.so libmjpegutils-1.99.so
mv libmplex2.so libmplex2-1.99.so

Making the .so.0 link :
libtool: link: (cd ".libs" && rm -f "liblavfile-1.99.so.0" && ln -s "liblavfile-1.99.so.0.0.0" "liblavfile-1.99.so.0")
Making the .so link :
libtool: link: (cd ".libs" && rm -f "liblavfile.so" && ln -s "liblavfile-1.99.so.0.0.0" "liblavfile.so")

I'm shooting in the dark atm but there is something wrong, maybe the libs shouldn't have the -1.99 suffix on the name?
Full build log found at :
https://build.opensuse.org/package/rawlog?arch=i586&package=mjpegtools&project=home%3Aplater&repository=openSUSE_Factory

Discussion

  • Dave Plater

    Dave Plater - 2011-02-05
    • assigned_to: nobody --> waldviertler
    • priority: 5 --> 9
     
  • Dave Plater

    Dave Plater - 2011-02-05

    Attached build log as I'm reverting to 1.9.0 and the web link will no longer be valid

     
  • Bernhard Praschinger

    Can you please add the link to the source file you have used. Or the name of the source file.
    I do not have that problem on my Suse 11.3 x64

     
  • Dave Plater

    Dave Plater - 2011-02-24

    Sorry I've been busy with updates and temporarily suspended mjpegtools. One of our senior packagers created a path to fixing the autotools Makefile.am and configure.ac, I'll be checking it in to home:plater mjpegtools between now and tomorrow, I haven't had a chance to look at it properly.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks