Results 1 to 10 of 10

Thread: Libavcodec.so.53 problem with rpm (alien)

  1. #1

    Default Libavcodec.so.53 problem with rpm (alien)

    Hi all! I would like to install a tool that doesn't has an rpm version, so I downloaded the .deb version, converted with alien and tried to install.
    The installer says that libavcodec.so.53()(64bit) is missing. I don't think that's true because I installed ffmpeg, and so many codecs.. is it possible that there are problems with libavcodec location being the package originally a .deb?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,072
    Blog Entries
    15

    Default Re: Libavcodec.so.53 problem with rpm (alien)

    Quote Originally Posted by Quiquoqua48 View Post
    Hi all! I would like to install a tool that doesn't has an rpm version, so I downloaded the .deb version, converted with alien and tried to install.
    The installer says that libavcodec.so.53()(64bit) is missing. I don't think that's true because I installed ffmpeg, and so many codecs.. is it possible that there are problems with libavcodec location being the package originally a .deb?
    Hi
    Likely the codec version, what is the output from;

    Code:
    zypper se libavcodec
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,424
    Blog Entries
    14

    Default Re: Libavcodec.so.53 problem with rpm (alien)

    You may need a symlink to the version that is installed. Install mlocate, run
    Code:
    sudo updatedb
    locate libavcodec.so
    If there is one with a higher version number behind the so, create a symlink to the .so with the name libavcodec.so.53, it should not complain anymore.
    But, are you sure there's no rpm?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,004
    Blog Entries
    2

    Default Re: Libavcodec.so.53 problem with rpm (alien)

    Quote Originally Posted by Knurpht View Post
    You may need a symlink to the version that is installed. Install mlocate, run
    Code:
    sudo updatedb
    locate libavcodec.so
    If there is one with a higher version number behind the so, create a symlink to the .so with the name libavcodec.so.53, it should not complain anymore.
    But, are you sure there's no rpm?
    Agree that maybe an RPM build exists for your tool...

    I wrote the following Wiki describing several ways I recommend for finding files and apps... Although I didn't mention converting a DEB, I do mention as one of the last options finding the source and compiling it.

    https://en.opensuse.org/User:Tsu2/Mi...s_Dependencies

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5

    Default Re: Libavcodec.so.53 problem with rpm (alien)

    Thank you all guys, but i have another problem now: i can't boot Opensuse because grub doesn't show it. I've opened another thread, when i will solve this problem i will try your solutions

  6. #6

    Default Re: Libavcodec.so.53 problem with rpm (alien)

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Likely the codec version, what is the output from;

    Code:
    zypper se libavcodec
    Code:
    S  | Nome                         | Sommario                         | Tipo     ---+------------------------------+----------------------------------+----------
       | ffmpeg-2-libavcodec-devel    | Development files for FFmpeg's-> | pacchetto
       | ffmpeg-3-libavcodec-devel    | Development files for FFmpeg's-> | pacchetto
       | ffmpeg-4-libavcodec-devel    | Development files for FFmpeg's-> | pacchetto
    i+ | libavcodec56                 | FFmpeg codec library             | pacchetto
       | libavcodec56-debuginfo       | Debug information for package -> | pacchetto
    i+ | libavcodec57                 | FFmpeg codec library             | pacchetto
       | libavcodec57-32bit           | FFmpeg codec library             | pacchetto
       | libavcodec57-32bit-debuginfo | Debug information for package -> | pacchetto
       | libavcodec57-debuginfo       | Debug information for package -> | pacchetto
    i+ | libavcodec58                 | FFmpeg codec library             | pacchetto
       | libavcodec58-32bit           | FFmpeg codec library             | pacchetto
       | libavcodec58-32bit-debuginfo | Debug information for package -> | pacchetto
       | libavcodec58-debuginfo       | Debug information for package -> | pacchetto
    That's the output
    Quote Originally Posted by Knurpht View Post
    You may need a symlink to the version that is installed. Install mlocate, run
    Code:
    sudo updatedb
    locate libavcodec.so
    If there is one with a higher version number behind the so, create a symlink to the .so with the name libavcodec.so.53, it should not complain anymore.
    But, are you sure there's no rpm?
    Code:
    /usr/lib64/libavcodec.so.56
    /usr/lib64/libavcodec.so.56.60.100
    /usr/lib64/libavcodec.so.57
    /usr/lib64/libavcodec.so.57.107.100
    /usr/lib64/libavcodec.so.58
    /usr/lib64/libavcodec.so.58.18.100
    That is the output for the "locate" command... how can i create a symlink? Thanks!

    Quote Originally Posted by tsu2 View Post
    Agree that maybe an RPM build exists for your tool...

    I wrote the following Wiki describing several ways I recommend for finding files and apps... Although I didn't mention converting a DEB, I do mention as one of the last options finding the source and compiling it.

    https://en.opensuse.org/User:Tsu2/Mi...s_Dependencies

    TSU
    The tool is https://salmanarif.bitbucket.io/visual/downloads.html. I've tried to find it in many differents ways, but i didn't find rpm packages nor source code

    EDIT:
    In the /usr/lib64/ directory i used these two commands
    Code:
    sudo ln -s libavcodec.so.58 libavcodec.so.53
    sudo ln -s libavcodec.so.58 libavcodec.so.53\(\)\(64bit\)
    ..but nothing, i continue to have the same error...

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,072
    Blog Entries
    15

    Default Re: Libavcodec.so.53 problem with rpm (alien)

    Hi
    All pretty straight forward....

    This is all in my $HOME directory on Leap 15.1 and all as my user;

    Code:
    cd
    mkdir -p Visual
    mv visual_1.27-1_amd64.deb Visual/
    cd Visual
    ar -x visual_1.27-1_amd64.deb
    
    ls
    control.tar.gz  data.tar.xz  debian-binary  visual_1.27-1_amd64.deb
    
    tar xf data.tar.xz
    
    ls
    control.tar.gz  data.tar.xz  debian-binary  usr  visual_1.27-1_amd64.deb
    
    usr/local/bin/visual/VisUAL.sh
    
    Oct 27, 2019 6:12:28 PM java.util.prefs.FileSystemPreferences$1 run
    INFO: Created user preferences directory.
    Reconfiguring logging...
    Linux
    Result....

    Click image for larger version. 

Name:	Screenshot from 2019-10-27 18-13-00.png 
Views:	2 
Size:	74.8 KB 
ID:	873

    Note: Only default oss/non-oss and update repos added and libavcodec57 installed only.
    Last edited by malcolmlewis; 27-Oct-2019 at 16:21. Reason: Add codec info
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #8

    Default Re: Libavcodec.so.53 problem with rpm (alien)

    Perrrrfect, i followed your commands and all wark without any problems... the only problem is that i'm obviously stupid because it was simple (i suppouse)
    Can you explain what i did? I simply "unpackaged" the .deb package?

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,072
    Blog Entries
    15

    Default Re: Libavcodec.so.53 problem with rpm (alien)

    Quote Originally Posted by Quiquoqua48 View Post
    Perrrrfect, i followed your commands and all wark without any problems... the only problem is that i'm obviously stupid because it was simple (i suppouse)
    Can you explain what i did? I simply "unpackaged" the .deb package?
    Hi
    Not sure, but you used alien to convert the deb file I think it doesn't have the logic sometimes....

    There are some folders the application is looking for, perhaps the never made it to the correct place...

    Sometimes easier to install/run as your user, probably with some additional foo a spec file could be created to install as an rpm, but alien would not be able to do this.

    If you copy the usr/share/applications/VisUAL.desktop to ~/.local/share/applications directory and then manually edit the paths to point at the script and icon it will appear in your desktop menu system;

    Code:
    Exec=/home/<yourusername>/Visual/usr/local/bin/visual/VisUAL.sh
    Icon=/home/<yourusername>/Visual/usr/local/bin/visual/icon.png
    \It does need to be the full path....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10

    Default Re: Libavcodec.so.53 problem with rpm (alien)

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Not sure, but you used alien to convert the deb file I think it doesn't have the logic sometimes....

    There are some folders the application is looking for, perhaps the never made it to the correct place...

    Sometimes easier to install/run as your user, probably with some additional foo a spec file could be created to install as an rpm, but alien would not be able to do this.

    If you copy the usr/share/applications/VisUAL.desktop to ~/.local/share/applications directory and then manually edit the paths to point at the script and icon it will appear in your desktop menu system;

    Code:
    Exec=/home/<yourusername>/Visual/usr/local/bin/visual/VisUAL.sh
    Icon=/home/<yourusername>/Visual/usr/local/bin/visual/icon.png
    \It does need to be the full path....
    I should read your message first this morning.. i spend much time to create a working menu link with icon.. i just used "~/", and after many tries i knew that it wants full path
    Have a nice day!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •