Installing Clementine 1.3.1[SOLVED]

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Installing Clementine 1.3.1[SOLVED]

Postby Garthhh » May 10th, '16, 22:06

I'm trying to install a newer version than is in the repository
I removed the old version with MCC
downloaded new version from
https://www.clementine-player.org/downloads
fedora 23 64bit version
double clicked on the file, an x rpm installation pop up, click install
a pop up for a dependency, go to MCC, find it install the depedency
try to install again, new dependency missing
repeat
until I get a dependency I can't find
clem2.png
clem2.png (224.16 KiB) Viewed 3770 times

I looked around here & found a thread
viewtopic.php?f=7&t=11008
opened a terminal switched to root
Code: Select all
[root@localhost dash]# urpmi --allow-force --allow-nodeps clementine-1.3.1-1.fc21.x86_64.rpm
unable to access rpm file [clementine-1.3.1-1.fc21.x86_64.rpm]
error registering local packages
[root@localhost dash]#
Last edited by Garthhh on Jun 13th, '16, 15:55, edited 3 times in total.
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 10th, '16, 22:27

Garthhh wrote:
Code: Select all
[root@localhost dash]# urpmi --allow-force --allow-nodeps clementine-1.3.1-1.fc21.x86_64.rpm
unable to access rpm file [clementine-1.3.1-1.fc21.x86_64.rpm]
error registering local packages
[root@localhost dash]#


You were close, but you need to specify the path if it's a local package, in the folder where that rpm is located do
urpmi --allow-force --allow-nodeps ./clementine-1.3.1-1.fc21.x86_64.rpm
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 10th, '16, 22:48

same result
Code: Select all
[root@localhost dash]# /home/dash/Downloads/urpmi --allow-force --allow-nodeps clementine-1.3.1-1.fc21.x86_64.rpm
bash: /home/dash/Downloads/urpmi: No such file or directory
[root@localhost dash]#
Last edited by isadora on May 10th, '16, 22:53, edited 1 time in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;)
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 11th, '16, 00:33

Garthhh wrote:root@localhost dash]# /home/dash/Downloads/urpmi --allow-force --allow-nodeps clementine-1.3.1-1.fc21.x86_64.rpm
bash: /home/dash/Downloads/urpmi: No such file or directory

Why did you add the bold part in front?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 11th, '16, 02:37

Code: Select all
root@localhost dash]# urpmi --allow-force --allow-nodeps/home/dash/Downloads/clementine-1.3.1-1.fc21.x86_64.rpm
Unknown option: allow-nodeps/home/dash/downloads/clementine-1.3.1-1.fc21.x86_64.rpm
urpmi version 8.05
Copyright (C) 1999-2010 by Mandriva
Copyright (C) 2011-2013 by Mageia
This is free software and may be redistributed under the terms of the GNU GPL.

usage:
  --help         - print this help message.
  --media        - use only the given media, separated by comma.
  --excludemedia - do not use the given media, separated by comma.
  --update       - use only update media.
  --searchmedia  - use only the given media to search requested packages.
  --sortmedia    - sort media according to substrings separated by comma.
  --synthesis    - use the given synthesis instead of urpmi db.
  --auto         - non-interactive mode, assume default answers to questions.
  --auto-select  - automatically select packages to upgrade the system.
  --auto-update  - update media then upgrade the system.
    --no-md5sum    - disable MD5SUM file checking.
    --force-key    - force update of gpg key.
  --auto-orphans - remove orphans without asking
  --no-recommends - do not auto select "recommended" packages.
  --no-uninstall - never ask to uninstall a package, abort the installation.
  --no-install   - don't install packages (only download)
  --keep         - keep existing packages if possible, reject requested
                   packages that lead to removals.
  --split-level  - split in small transaction if more than given packages
                   are going to be installed or upgraded,
                   default is 1.
  --split-length - small transaction length, default is 8.
  --fuzzy, -y    - impose fuzzy search.
  --buildrequires - install the buildrequires of the packages
  --install-src  - install only source package (no binaries).
  --clean        - remove rpm from cache before anything else.
  --noclean      - don't clean rpms from cache.
  --justdb       - update only the rpm db, not the filesystem.
  --downgrade    - downgrade a package from the version currently installed
                   to the previously highest version
  --replacepkgs  - force installing packages which are already installed.
  --force        - force invocation even if some packages do not exist.
  --allow-nodeps - allow asking user to install packages without
                   dependencies checking.
  --allow-force  - allow asking user to install packages without
                   dependencies checking and integrity.
  --allow-recommends - auto select "recommended" packages.
  --parallel     - distributed urpmi across machines of alias.
  --root         - use another root for rpm installation.
  --urpmi-root   - use another root for urpmi db & rpm installation.
  --use-distrib  - configure urpmi on the fly from a distrib tree, useful
                   to install a chroot with --root option.
  --metalink     - generate and use a local metalink.
  --download-all - download all needed packages before trying to install them
  --downloader   - program to use to retrieve distant files.
                   known programs: curl, wget, prozilla, aria2
  --curl-options - additional options to pass to curl
  --rsync-options- additional options to pass to rsync
  --wget-options - additional options to pass to wget
  --prozilla-options - additional options to pass to prozilla
  --aria2-options - additional options to pass to aria2
  --limit-rate   - limit the download speed.
  --resume       - resume transfer of partially-downloaded files
                   (--no-resume disables it, default is disabled).
  --proxy        - use specified HTTP proxy, the port number is assumed
                   to be 1080 by default (format is <proxyhost[:port]>).
  --proxy-user   - specify user and password to use for proxy
                   authentication (format is <user:password>).
  --bug          - output a bug report in directory indicated by
                   next arg.
  --env          - use specific environment (typically a bug report).
  --verify-rpm   - verify rpm signature before installation
                   (--no-verify-rpm disables it, default is enabled).
  --test         - only verify if the installation can be achieved correctly.
  --excludepath  - exclude path separated by comma.
  --excludedocs  - exclude doc files.
  --ignoresize   - don't verify disk space before installation.
  --ignorearch   - allow to install rpms for unmatched architectures.
  --noscripts    - do not execute package scriptlet(s)
  --replacefiles - ignore file conflicts
  --skip         - packages which installation should be skipped
  --prefer       - packages which should be preferred
  --more-choices - when several packages are found, propose more choices
                   than the default.
  --nolock       - don't lock rpm db.
  --strict-arch  - upgrade only packages with the same architecture.
  -a             - select all matches on command line.
  -p             - allow search in provides to find package.
  -P             - do not search in provides to find package.
  --quiet, -q    - quiet mode.
  --verbose, -v  - verbose mode.
  --debug        - very verbose mode.

  names or rpm files given on command line will be installed.
[root@localhost dash]#
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 11th, '16, 19:51

You're missing a blank in between --allow-nodeps and /home/dash/Downloads/clementine-1.3.1-1.fc21.x86_64.rpm.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 12th, '16, 14:57

something went wrong [my impatience]
I ran
Code: Select all
# urpmi --allow-force --allow-nodeps /home/dash/Downloads/clementine-1.3.1-1.fc21.x86_64.rpm
I'm not sure but suspect it wasn't finished when I closed the terminal
ran updates [gui]
I don't find clementine
if I run the command again
Code: Select all
[[root@localhost dash]# ]

running
Code: Select all
[root@localhost dash]# rpm -V clementine
package clementine is not installed
[root@localhost dash]#
Last edited by doktor5000 on May 12th, '16, 18:35, edited 1 time in total.
Reason: added code tags
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 12th, '16, 18:36

Well if it wasn't finished, and because the package is obviously not installed as your output shows, just rerun the command until it's installed.
And please don't close the terminal but simply copy&paste all the output here so others can see why installation didn't complete.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 12th, '16, 20:00

Code: Select all
root@localhost dash]# # urpmi --allow-force --allow-nodeps /home/dash/Downloads/clementine-1.3.1-1.fc21.x86_64.rpm
[root@localhost dash]# urpmi --allow-force --allow-nodeps /home/dash/Downloads/clementine-1.3.1-1.fc21.x86_64.rpm
WARNING: --allow-force option is in use. Some strange problems may happen
WARNING: --allow-nodeps option is in use. Some strange problems may happen


SECURITY: The following package is _NOT_ signed (OK ((none))): /home/dash/Downloads/clementine-1.3.1-1.fc21.x86_64.rpm
installing clementine-1.3.1-1.fc21.x86_64.rpm from /home/dash/Downloads
Installation failed:
        gstreamer1-plugins-ugly is needed by clementine-1.3.1-1.fc21.x86_64
        libGLEW.so.1.10()(64bit) is needed by clementine-1.3.1-1.fc21.x86_64
        libcdio.so.15(CDIO_15)(64bit) is needed by clementine-1.3.1-1.fc21.x86_64
        libechonest.so.2.3()(64bit) is needed by clementine-1.3.1-1.fc21.x86_64
        libprotobuf.so.8()(64bit) is needed by clementine-1.3.1-1.fc21.x86_64
        libsha2.so.1()(64bit) is needed by clementine-1.3.1-1.fc21.x86_64
        protobuf-lite is needed by clementine-1.3.1-1.fc21.x86_64
        sqlite is needed by clementine-1.3.1-1.fc21.x86_64
Try installation without checking dependencies? (y/N) y
Preparing...                     ##############################################################################################################
      1/1: clementine            ##############################################################################################################
[root@localhost dash]#
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 12th, '16, 23:05

And, is it working now?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 13th, '16, 00:29

no
there is a menu entry, which doesn't work
opening from konsole
Code: Select all
[root@localhost dash]# clementine
clementine: error while loading shared libraries: libprotobuf.so.8: cannot open shared object file: No such file or directory
[root@localhost dash]#

which is one of the things listed above
I had a look at mcc, none of the missing dependencies are found
Last edited by doktor5000 on May 13th, '16, 19:32, edited 1 time in total.
Reason: added code tags
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby Garthhh » May 13th, '16, 03:58

I can find the 1st 6 at RPM find https://rpmfind.net/linux/rpm2html/sear ... sha2.so.1()(64bit)
I suppose tell urmpi to install
the last 2 are vague enough to be harder for me to decipher
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 13th, '16, 19:34

Don't download arbitrary rpm packages from some rpm search websites, unless you want to mess up your system.
Please show the output of
Code: Select all
urpmf protobuf.so
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 14th, '16, 18:14

I really like the closed software universe of Mageia, I don't have to wonder if something I download is malicious
I have installed a few things from the wild, Chrome, Earth & this update of a program from within the Mageia universe
the stuff from RPM find show the packages are from Fedora, which means they will find their way to us [ Mageia ] soon enough
I going to follow your direction [as best I can]

I'm hoping that this version of clementine will let me copy a selection of file in a specific order, on to a flashcard or thumbdrive
the present behavior alphabetically or numerically by an array of options, none of which are playlist order [mix tape]
the column playlist order number [primary key] is hidden on present version, also hidden on dolphin...

thanks for your Help

Code: Select all
[dash@localhost ~]$ urpmf protobuf.so
    $MIRRORLIST: media/core/release/media_info/20150615-211931-files.xml.lzma
lib64protobuf9:/usr/lib64/libprotobuf.so.9                                                                                                     
lib64protobuf9:/usr/lib64/libprotobuf.so.9.0.0
lib64protobuf-devel:/usr/lib64/libprotobuf.so
paraview:/usr/lib64/paraview-4.1/libprotobuf.so
    $MIRRORLIST: media/core/updates/media_info/20160513-215414-files.xml.lzma
    $MIRRORLIST: media/nonfree/release/media_info/20150613-203028-files.xml.lzma                                                               
    $MIRRORLIST: media/nonfree/updates/media_info/20160512-195509-files.xml.lzma                                                               
    $MIRRORLIST: media/tainted/release/media_info/20150613-194711-files.xml.lzma                                                               
    $MIRRORLIST: media/tainted/updates/media_info/20160507-091921-files.xml.lzma                                                               
    $MIRRORLIST: media/../../i586/media/core/release/media_info/20150615-211537-files.xml.lzma                                                 
libprotobuf9:/usr/lib/libprotobuf.so.9                                                                                                         
libprotobuf9:/usr/lib/libprotobuf.so.9.0.0
libprotobuf-devel:/usr/lib/libprotobuf.so
paraview:/usr/lib/paraview-4.1/libprotobuf.so
    $MIRRORLIST: media/../../i586/media/core/updates/media_info/20160513-215153-files.xml.lzma
    $MIRRORLIST: media/../../i586/media/nonfree/release/media_info/20150613-203027-files.xml.lzma                                               
    $MIRRORLIST: media/../../i586/media/nonfree/updates/media_info/20160512-195507-files.xml.lzma                                               
    http://dl.google.com/linux/chrome/rpm/stable/x86_64/media_info/hdlist.cz                                                                   
    $MIRRORLIST: media/core/release/media_info/20150615-211931-files.xml.lzma                                                                   
lib64protobuf9:/usr/lib64/libprotobuf.so.9                                                                                                     
lib64protobuf9:/usr/lib64/libprotobuf.so.9.0.0
lib64protobuf-devel:/usr/lib64/libprotobuf.so
paraview:/usr/lib64/paraview-4.1/libprotobuf.so
    $MIRRORLIST: media/core/updates/media_info/20160513-215414-files.xml.lzma
    $MIRRORLIST: media/nonfree/release/media_info/20150613-203028-files.xml.lzma                                                               
    $MIRRORLIST: media/nonfree/updates/media_info/20160512-195509-files.xml.lzma                                                               
    $MIRRORLIST: media/tainted/release/media_info/20150613-194711-files.xml.lzma                                                               
    $MIRRORLIST: media/tainted/updates/media_info/20160507-091921-files.xml.lzma                                                               
    $MIRRORLIST: media/../../i586/media/core/release/media_info/20150615-211537-files.xml.lzma                                                 
libprotobuf9:/usr/lib/libprotobuf.so.9                                                                                                         
libprotobuf9:/usr/lib/libprotobuf.so.9.0.0
libprotobuf-devel:/usr/lib/libprotobuf.so
paraview:/usr/lib/paraview-4.1/libprotobuf.so
    $MIRRORLIST: media/../../i586/media/core/updates/media_info/20160513-215153-files.xml.lzma
    $MIRRORLIST: media/../../i586/media/nonfree/release/media_info/20150613-203027-files.xml.lzma                                               
    $MIRRORLIST: media/../../i586/media/nonfree/updates/media_info/20160512-195507-files.xml.lzma                                               
    $MIRRORLIST: media/../../i586/media/tainted/release/media_info/20150613-194708-files.xml.lzma                                               
    $MIRRORLIST: media/../../i586/media/tainted/updates/media_info/20160507-091919-files.xml.lzma                                               
    $MIRRORLIST: media/core/release/media_info/20150615-211931-files.xml.lzma                                                                   
lib64protobuf9:/usr/lib64/libprotobuf.so.9                                                                                                     
lib64protobuf9:/usr/lib64/libprotobuf.so.9.0.0
lib64protobuf-devel:/usr/lib64/libprotobuf.so
paraview:/usr/lib64/paraview-4.1/libprotobuf.so
    $MIRRORLIST: media/core/updates/media_info/20160513-215414-files.xml.lzma
    $MIRRORLIST: media/nonfree/release/media_info/20150613-203028-files.xml.lzma                                                               
    $MIRRORLIST: media/nonfree/updates/media_info/20160512-195509-files.xml.lzma                                                               
    $MIRRORLIST: media/tainted/release/media_info/20150613-194711-files.xml.lzma                                                               
    $MIRRORLIST: media/tainted/updates/media_info/20160507-091921-files.xml.lzma                                                               
    $MIRRORLIST: media/../../i586/media/core/release/media_info/20150615-211537-files.xml.lzma                                                 
libprotobuf9:/usr/lib/libprotobuf.so.9                                                                                                         
libprotobuf9:/usr/lib/libprotobuf.so.9.0.0
libprotobuf-devel:/usr/lib/libprotobuf.so
paraview:/usr/lib/paraview-4.1/libprotobuf.so
    $MIRRORLIST: media/../../i586/media/core/updates/media_info/20160513-215153-files.xml.lzma
    $MIRRORLIST: media/../../i586/media/nonfree/release/media_info/20150613-203027-files.xml.lzma                                               
    $MIRRORLIST: media/../../i586/media/nonfree/updates/media_info/20160512-195507-files.xml.lzma                                               
    $MIRRORLIST: media/../../i586/media/tainted/release/media_info/20150613-194708-files.xml.lzma                                               
    $MIRRORLIST: media/../../i586/media/tainted/updates/media_info/20160507-091919-files.xml.lzma                                               
    $MIRRORLIST: media/core/release/media_info/20150615-211931-files.xml.lzma                                                                   
lib64protobuf9:/usr/lib64/libprotobuf.so.9                                                                                                     
lib64protobuf9:/usr/lib64/libprotobuf.so.9.0.0
lib64protobuf-devel:/usr/lib64/libprotobuf.so
paraview:/usr/lib64/paraview-4.1/libprotobuf.so
    $MIRRORLIST: media/core/updates/media_info/20160513-215414-files.xml.lzma
    $MIRRORLIST: media/nonfree/release/media_info/20150613-203028-files.xml.lzma                                                               
    $MIRRORLIST: media/nonfree/updates/media_info/20160512-195509-files.xml.lzma                                                               
    $MIRRORLIST: media/tainted/release/media_info/20150613-194711-files.xml.lzma                                                               
    $MIRRORLIST: media/tainted/updates/media_info/20160507-091921-files.xml.lzma                                                               
    $MIRRORLIST: media/../../i586/media/core/release/media_info/20150615-211537-files.xml.lzma                                                 
libprotobuf9:/usr/lib/libprotobuf.so.9                                                                                                         
libprotobuf9:/usr/lib/libprotobuf.so.9.0.0
libprotobuf-devel:/usr/lib/libprotobuf.so
paraview:/usr/lib/paraview-4.1/libprotobuf.so
    $MIRRORLIST: media/../../i586/media/core/updates/media_info/20160513-215153-files.xml.lzma
    $MIRRORLIST: media/../../i586/media/nonfree/release/media_info/20150613-203027-files.xml.lzma                                               
    $MIRRORLIST: media/../../i586/media/nonfree/updates/media_info/20160512-195507-files.xml.lzma                                               
    $MIRRORLIST: media/../../i586/media/tainted/release/media_info/20150613-194708-files.xml.lzma                                               
    $MIRRORLIST: media/../../i586/media/tainted/updates/media_info/20160507-091919-files.xml.lzma                                               
[dash@localhost ~]$
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 15th, '16, 09:37

Just install lib64protobuf9 and clementine should run, if it's the only library missing.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 15th, '16, 15:37

lib64protobuf9 is already installed

clem4.png
clem4.png (201.57 KiB) Viewed 3660 times


clementine from terminal
[dash@localhost ~]$ clementine
clementine: error while loading shared libraries: libprotobuf.so.8: cannot open shared object file: No such file or directory

lib64protobuf.8 isn't available in MCC
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 15th, '16, 19:45

Ahh, right - you need to symlink /usr/lib64/libprotobuf.so.9 to /usr/lib64/libprotobuf.so.8
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 16th, '16, 20:10

I ran this
Code: Select all
[root@localhost dash]# ln -s /usr/lib64/libprotobuf.so.9  /usr/lib64/libprotobuf.so.8
then tried to start & got this
Code: Select all
[root@localhost dash]# clementine
clementine: error while loading shared libraries: libsha2.so.1: cannot open shared object file: No such file or directory
[root@localhost dash]#

had a look in usr/lib I don't see anything similar
Last edited by doktor5000 on May 16th, '16, 22:55, edited 1 time in total.
Reason: added code tags
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 16th, '16, 22:56

Currently not at a Mageia system, but from a quick search this comes from sha2 packages which seems only available with pretty recent fedora releases.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 19th, '16, 16:28

Where do I go from here?
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 19th, '16, 19:23

Either try to install one of the sha2 src.rpm packages from Fedora or better rebuild it against the current libraries on your Mageia system.
I've described how to rebuild src.rpms in this thread: viewtopic.php?f=4&t=5530
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 21st, '16, 19:21

I was trying to follow the thread as suggested
Code: Select all
[root@localhost dash]# urpmi --buildrequires /home/dash/Downloads/ clementine-1.3.1-1.fc21.x86_64.rpm
unable to access rpm file [clementine-1.3.1-1.fc21.x86_64.rpm]
error registering local packages
[root@localhost dash]# urpmi --buildrequires/home/dash/Downloads/clementine-1.3.1-1.fc21.x86_64.rpm
Unknown option: buildrequires/home/dash/downloads/clementine-1.3.1-1.fc21.x86_64.rpm
urpmi version 8.05
Copyright (C) 1999-2010 by Mandriva
Copyright (C) 2011-2013 by Mageia
This is free software and may be redistributed under the terms of the GNU GPL.

usage:
  --help         - print this help message.
  --media        - use only the given media, separated by comma.
  --excludemedia - do not use the given media, separated by comma.
  --update       - use only update media.
  --searchmedia  - use only the given media to search requested packages.
  --sortmedia    - sort media according to substrings separated by comma.
  --synthesis    - use the given synthesis instead of urpmi db.
  --auto         - non-interactive mode, assume default answers to questions.
  --auto-select  - automatically select packages to upgrade the system.
  --auto-update  - update media then upgrade the system.
    --no-md5sum    - disable MD5SUM file checking.
    --force-key    - force update of gpg key.
  --auto-orphans - remove orphans without asking
  --no-recommends - do not auto select "recommended" packages.
  --no-uninstall - never ask to uninstall a package, abort the installation.
  --no-install   - don't install packages (only download)
  --keep         - keep existing packages if possible, reject requested
                   packages that lead to removals.
  --split-level  - split in small transaction if more than given packages
                   are going to be installed or upgraded,
                   default is 1.
  --split-length - small transaction length, default is 8.
  --fuzzy, -y    - impose fuzzy search.
  --buildrequires - install the buildrequires of the packages
  --install-src  - install only source package (no binaries).
  --clean        - remove rpm from cache before anything else.
  --noclean      - don't clean rpms from cache.
  --justdb       - update only the rpm db, not the filesystem.
  --downgrade    - downgrade a package from the version currently installed
                   to the previously highest version
  --replacepkgs  - force installing packages which are already installed.
  --force        - force invocation even if some packages do not exist.
  --allow-nodeps - allow asking user to install packages without
                   dependencies checking.
  --allow-force  - allow asking user to install packages without
                   dependencies checking and integrity.
  --allow-recommends - auto select "recommended" packages.
  --parallel     - distributed urpmi across machines of alias.
  --root         - use another root for rpm installation.
  --urpmi-root   - use another root for urpmi db & rpm installation.
  --use-distrib  - configure urpmi on the fly from a distrib tree, useful
                   to install a chroot with --root option.
  --metalink     - generate and use a local metalink.
  --download-all - download all needed packages before trying to install them
  --downloader   - program to use to retrieve distant files.
                   known programs: curl, wget, prozilla, aria2
  --curl-options - additional options to pass to curl
  --rsync-options- additional options to pass to rsync
  --wget-options - additional options to pass to wget
  --prozilla-options - additional options to pass to prozilla
  --aria2-options - additional options to pass to aria2
  --limit-rate   - limit the download speed.
  --resume       - resume transfer of partially-downloaded files
                   (--no-resume disables it, default is disabled).
  --proxy        - use specified HTTP proxy, the port number is assumed
                   to be 1080 by default (format is <proxyhost[:port]>).
  --proxy-user   - specify user and password to use for proxy
                   authentication (format is <user:password>).
  --bug          - output a bug report in directory indicated by
                   next arg.
  --env          - use specific environment (typically a bug report).
  --verify-rpm   - verify rpm signature before installation
                   (--no-verify-rpm disables it, default is enabled).
  --test         - only verify if the installation can be achieved correctly.
  --excludepath  - exclude path separated by comma.
  --excludedocs  - exclude doc files.
  --ignoresize   - don't verify disk space before installation.
  --ignorearch   - allow to install rpms for unmatched architectures.
  --noscripts    - do not execute package scriptlet(s)
  --replacefiles - ignore file conflicts
  --skip         - packages which installation should be skipped
  --prefer       - packages which should be preferred
  --more-choices - when several packages are found, propose more choices
                   than the default.
  --nolock       - don't lock rpm db.
  --strict-arch  - upgrade only packages with the same architecture.
  -a             - select all matches on command line.
  -p             - allow search in provides to find package.
  -P             - do not search in provides to find package.
  --quiet, -q    - quiet mode.
  --verbose, -v  - verbose mode.
  --debug        - very verbose mode.

  names or rpm files given on command line will be installed.
[root@localhost dash]# urpmi rpm-build
Package rpm-build-4.12.0.1-20.7.mga5.x86_64 is already installed
[root@localhost dash]#

& then this a couple of different ways
Code: Select all
[dash@localhost ~]$ rpmbuild --clementine-1.3.1-1.fc21.x86_64.rpm
rpmbuild: --clementine-1.3.1-1.fc21.x86_64.rpm: unknown option
[dash@localhost ~]$ rpmbuild rebuild --clementine-1.3.1-1.fc21.x86_64.rpm
rpmbuild: --clementine-1.3.1-1.fc21.x86_64.rpm: unknown option
[dash@localhost ~]$ rpmbuild rebuild /home/dash/Downloads/ --clementine-1.3.1-1.fc21.x86_64.rpm
rpmbuild: --clementine-1.3.1-1.fc21.x86_64.rpm: unknown option
[dash@localhost ~]$ rpmbuild rebuild/home/dash/Downloads/--clementine-1.3.1-1.fc21.x86_64.rpm
error: failed to stat /home/dash/rebuild/home/dash/Downloads/--clementine-1.3.1-1.fc21.x86_64.rpm: No such file or directory
[dash@localhost ~]$

I'm stuck on that

I'm having trouble following the code example from the linked thread, the german obscures some of it for me

I did see this
https://pkgs.org/fedora-21/fedora-x86_6 ... 4.rpm.html
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 21st, '16, 20:19

Why do you want to rebuild clementine, when you need to rebuild sha2 ? At this link, get the src.rpm:
https://pkgs.org/fedora-23/fedora-x86_6 ... 4.rpm.html

Garthhh wrote:urpmi --buildrequires /home/dash/Downloads/ clementine-1.3.1-1.fc21.x86_64.rpm
unable to access rpm file [clementine-1.3.1-1.fc21.x86_64.rpm]

[root@localhost dash]# urpmi --buildrequires/home/dash/Downloads/clementine-1.3.1-1.fc21.x86_64.rpm
Unknown option: buildrequires/home/dash/downloads/clementine-1.3.1-1.fc21.x86_64.rpm

Seems you have issues separating the options from the arguments, or as earlier you inserted a blank in the middle of the path, try again with
Code: Select all
urpmi --buildrequires /home/dash/Downloads/clementine-1.3.1-1.fc21.x86_64.rpm


Garthhh wrote:[dash@localhost ~]$ rpmbuild --clementine-1.3.1-1.fc21.x86_64.rpm
rpmbuild: --clementine-1.3.1-1.fc21.x86_64.rpm: unknown option
[dash@localhost ~]$ rpmbuild rebuild --clementine-1.3.1-1.fc21.x86_64.rpm
rpmbuild: --clementine-1.3.1-1.fc21.x86_64.rpm: unknown option
[dash@localhost ~]$ rpmbuild rebuild /home/dash/Downloads/ --clementine-1.3.1-1.fc21.x86_64.rpm
rpmbuild: --clementine-1.3.1-1.fc21.x86_64.rpm: unknown option
[dash@localhost ~]$ rpmbuild rebuild/home/dash/Downloads/--clementine-1.3.1-1.fc21.x86_64.rpm
error: failed to stat /home/dash/rebuild/home/dash/Downloads/--clementine-1.3.1-1.fc21.x86_64.rpm: No such file or directory

Come on, it's not that difficult, it's rpmbuild --rebuild /path/to/package.src.rpm - just use

Code: Select all
rpmbuild --rebuild /home/dash/Downloads/clementine-1.3.1-1.fc21.x86_64.rpm
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installing Clementine 1.3.1

Postby Garthhh » May 22nd, '16, 00:04

I think you mean this

Code: Select all
[dash@localhost ~]$ rpmbuild --rebuild /home/dash/Downloads/sha2-1.0.1-7.fc23.src.rpm
Installing /home/dash/Downloads/sha2-1.0.1-7.fc23.src.rpm
warning: /home/dash/Downloads/sha2-1.0.1-7.fc23.src.rpm: Header V3 RSA/SHA256 Signature, key ID 34ec9cba: NOKEY
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VUIquK
+ umask 022
+ cd /home/dash/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/dash/rpmbuild/BUILD
+ rm -rf sha2-1.0.1
+ /usr/bin/gzip -dc /home/dash/rpmbuild/SOURCES/sha2-1.0.1.tgz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd sha2-1.0.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp -a /home/dash/rpmbuild/SOURCES/sha2-Makefile Makefile
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cLVm5y
+ umask 022
+ cd /home/dash/rpmbuild/BUILD
+ cd sha2-1.0.1
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ make -j4 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC'
gcc -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -c -o sha2.o sha2.c
gcc -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -c -o sha2prog.o sha2prog.c
gcc -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -c -o sha2speed.o sha2speed.c
sha2.c: In function 'SHA256_Final':
sha2.c:606:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount;
   ^
sha2.c: In function 'SHA512_Last':
sha2.c:923:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1];
  ^
sha2.c:924:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0];
  ^
sha2prog.c: In function 'main':
sha2prog.c:71:4: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
    if (!strcmp(av, "q")) {
    ^
sha2prog.c:112:23: warning: pointer targets in passing argument 2 of 'SHA256_End' differ in signedness [-Wpointer-sign]
   SHA256_End(&ctx256, buf);
                       ^
In file included from sha2prog.c:41:0:
sha2.h:153:7: note: expected 'char *' but argument is of type 'unsigned char *'
 char* SHA256_End(SHA256_CTX*, char[SHA256_DIGEST_STRING_LENGTH]);
       ^
sha2prog.c:118:23: warning: pointer targets in passing argument 2 of 'SHA384_End' differ in signedness [-Wpointer-sign]
   SHA384_End(&ctx384, buf);
                       ^
In file included from sha2prog.c:41:0:
sha2.h:159:7: note: expected 'char *' but argument is of type 'unsigned char *'
 char* SHA384_End(SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]);
       ^
sha2prog.c:124:23: warning: pointer targets in passing argument 2 of 'SHA512_End' differ in signedness [-Wpointer-sign]
   SHA512_End(&ctx512, buf);
                       ^
In file included from sha2prog.c:41:0:
sha2.h:165:7: note: expected 'char *' but argument is of type 'unsigned char *'
 char* SHA512_End(SHA512_CTX*, char[SHA512_DIGEST_STRING_LENGTH]);
       ^
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -shared -fPIC -Wl,-soname,libsha2.so.1 -o libsha2.so.1.0.1 sha2.o
ln -sf libsha2.so.1.0.1 libsha2.so.1
ln -sf libsha2.so.1 libsha2.so
gcc sha2prog.o -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -o sha2 -L. -lsha2
gcc sha2speed.o -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -o sha2speed -L. -lsha2
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3uYaxo
+ umask 022
+ cd /home/dash/rpmbuild/BUILD
+ '[' /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64 '!=' / ']'
+ rm -rf /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64
++ dirname /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64
+ mkdir -p /home/dash/rpmbuild/BUILDROOT
+ mkdir /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64
+ cd sha2-1.0.1
+ '[' 1 -eq 1 ']'
+ make install DESTDIR=/home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64 LIBDIR=/usr/lib64 INCLUDEDIR=/usr/include BINDIR=/usr/bin 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC'
gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -shared -fPIC -Wl,-soname,libsha2.so.1 -o libsha2.so.1.0.1 sha2.o
ln -sf libsha2.so.1.0.1 libsha2.so.1
ln -sf libsha2.so.1 libsha2.so
gcc sha2prog.o -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -o sha2 -L. -lsha2
gcc sha2speed.o -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -o sha2speed -L. -lsha2
install -d /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/bin
install sha2 sha2speed /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/bin
install -d /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/include
install -pm 644 sha2.h /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/include
install -d /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/lib64
install libsha2.so.1.0.1 libsha2.so libsha2.so.1 /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/lib64
ln -sf libsha2.so.1.0.1 /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/lib64/libsha2.so.1
ln -sf libsha2.so.1 /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/lib64/libsha2.so
+ /usr/lib/rpm/find-debuginfo.sh --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -m /home/dash/rpmbuild/BUILD/sha2-1.0.1

extracting debug info from /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/bin/sha2
extracting debug info from /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/bin/sha2speed
extracting debug info from /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/lib64/libsha2.so.1.0.1
symlinked /usr/lib/debug/usr/lib64/libsha2.so.1.0.1.debug to /usr/lib/debug/usr/lib64/libsha2.so.1.debug
symlinked /usr/lib/debug/usr/lib64/libsha2.so.1.0.1.debug to /usr/lib/debug/usr/lib64/libsha2.so.debug
cpio: /home/iurt/rpmbuild/BUILD/glibc-2.20/csu: Cannot stat: No such file or directory
94 blocks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/translate_menu
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/mageia/brp-java-repack-jars
+ '[' 1 -eq 1 ']'
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.pMbqmh
+ umask 022
+ cd /home/dash/rpmbuild/BUILD
+ cd sha2-1.0.1
+ '[' 1 -eq 1 ']'
+ LD_PRELOAD=./libsha2.so
+ ./sha2test.pl
TEST VECTOR #1:
        This test vector is taken from the PDF document that describes
        the SHA-256/384/512 algorithms.  That document contains sample
        output for all three versions (SHA-256, SHA-384, and SHA-512).

        (Total length of test vector data: 3)
VECTOR DATA FILE:
        testvectors/vector001.dat
SHA256 MATCHES:
        ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
SHA384 MATCHES:
        cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed
        8086072ba1e7cc2358baeca134c825a7
SHA512 MATCHES:
        ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a
        2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
TEST VECTOR #2:
        The PDF document only provided sample output for SHA-256 using
        this test data.  I have provided SHA-384 and SHA-512 sample
        output from my own implementation which may not be correct.

        (Total length of test vector data: 56)
VECTOR DATA FILE:
        testvectors/vector002.dat
SHA256 MATCHES:
        248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1
SHA384 MATCHES:
        3391fdddfc8dc7393707a65b1b4709397cf8b1d162af05abfe8f450de5f36bc6
        b0455a8520bc4e6f5fe95b1fe3c8452b
SHA512 MATCHES:
        204a8fc6dda82f0a0ced7beb8e08a41657c16ef468b228a8279be331a703c335
        96fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445
TEST VECTOR #3:
        For this test data (from the PDF document), no example output
        was provided for SHA-256 (SHA-384 and SHA-512 samples were
        provided), so the sample for SHA-256 comes from the output of
        my own implementation and so may not be correct.

        (Total length of test vector data: 112)
VECTOR DATA FILE:
        testvectors/vector003.dat
SHA256 MATCHES:
        cf5b16a778af8380036ce59e7b0492370b249b11e8f07a51afac45037afee9d1
SHA384 MATCHES:
        09330c33f71147e83d192fc782cd1b4753111b173b3b05d22fa08086e3b0f712
        fcc7c71a557e2db966c3e9fa91746039
SHA512 MATCHES:
        8e959b75dae313da8cf4f72814fc143f8f7779c6eb9f7fa17299aeadb6889018
        501d289e4900f7e4331b99dec4b5433ac7d329eeb6dd26545e96e55b874be909
TEST VECTOR #4:
        The output samples for this test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample comes from...well
        most anyone in the U.S. will know and many outside the U.S. too.

        (Total length of test vector data: 1515)
VECTOR DATA FILE:
        testvectors/vector004.dat
SHA256 MATCHES:
        4d25fccf8752ce470a58cd21d90939b7eb25f3fa418dd2da4c38288ea561e600
SHA384 MATCHES:
        69cc75b95280bdd9e154e743903e37b1205aa382e92e051b1f48a6db9d0203f8
        a17c1762d46887037275606932d3381e
SHA512 MATCHES:
        23450737795d2f6a13aa61adcca0df5eef6df8d8db2b42cd2ca8f783734217a7
        3e9cabc3c9b8a8602f8aeaeb34562b6b1286846060f9809b90286b3555751f09
TEST VECTOR #5:
        The output samples for this test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample is EMPTY (no bits).
        Mr. David A. Ireland's SHA-256 implementation agrees with my own
        implementation on the output of this test vector (SHA-256 only).

        (Total length of test vector data: 0)
VECTOR DATA FILE:
        testvectors/vector005.dat
SHA256 MATCHES:
        e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SHA384 MATCHES:
        38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da
        274edebfe76f65fbd51ad2f14898b95b
SHA512 MATCHES:
        cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce
        47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
TEST VECTOR #6:
        The output samples for thi test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample exactly the same
        length as the SHA-256 block length.

        (Total length of test vector data: 64)
VECTOR DATA FILE:
        testvectors/vector006.dat
SHA256 MATCHES:
        ab64eff7e88e2e46165e29f2bce41826bd4c7b3552f6b382a9e7d3af47c245f8
SHA384 MATCHES:
        e28e35e25a1874908bf0958bb088b69f3d742a753c86993e9f4b1c4c21988f95
        8bd1fe0315b195aca7b061213ac2a9bd
SHA512 MATCHES:
        70aefeaa0e7ac4f8fe17532d7185a289bee3b428d950c14fa8b713ca09814a38
        7d245870e007a80ad97c369d193e41701aa07f3221d15f0e65a1ff970cedf030
TEST VECTOR #7:
        The output samples for thi test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample one byte shorter
        than the SHA-256 block length.

        (Total length of test vector data: 63)
VECTOR DATA FILE:
        testvectors/vector007.dat
SHA256 MATCHES:
        f08a78cbbaee082b052ae0708f32fa1e50c5c421aa772ba5dbb406a2ea6be342
SHA384 MATCHES:
        37b49ef3d08de53e9bd018b0630067bd43d09c427d06b05812f48531bce7d2a6
        98ee2d1ed1ffed46fd4c3b9f38a8a557
SHA512 MATCHES:
        b3de4afbc516d2478fe9b518d063bda6c8dd65fc38402dd81d1eb7364e72fb6e
        6663cf6d2771c8f5a6da09601712fb3d2a36c6ffea3e28b0818b05b0a8660766
TEST VECTOR #8:
        The output samples for thi test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample exactly the same
        length as the SHA-384 and SHA-512 block lengths.

        (Total length of test vector data: 128)
VECTOR DATA FILE:
        testvectors/vector008.dat
SHA256 MATCHES:
        0ab803344830f92089494fb635ad00d76164ad6e57012b237722df0d7ad26896
SHA384 MATCHES:
        e3e3602f4d90c935321d788f722071a8809f4f09366f2825cd85da97ccd2955e
        b6b8245974402aa64789ed45293e94ba
SHA512 MATCHES:
        97fb4ec472f3cb698b9c3c12a12768483e5b62bcdad934280750b4fa4701e5e0
        550a80bb0828342c19631ba55a55e1cee5de2fda91fc5d40e7bee1d4e6d415b3
TEST VECTOR #9:
        The output samples for thi test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample is one byte shorter
        in length than the SHA-384 and SHA-512 block lengths.

        (Total length of test vector data: 127)
VECTOR DATA FILE:
        testvectors/vector009.dat
SHA256 MATCHES:
        e4326d0459653d7d3514674d713e74dc3df11ed4d30b4013fd327fdb9e394c26
SHA384 MATCHES:
        1ca650f38480fa9dfb5729636bec4a935ebc1cd4c0055ee50cad2aa627e06687
        1044fd8e6fdb80edf10b85df15ba7aab
SHA512 MATCHES:
        d399507bbf5f2d0da51db1ff1fc51c1c9ff1de0937e00d01693b240e84fcc340
        0601429f45c297acc6e8fcf1e4e4abe9ff21a54a0d3d88888f298971bd206cd5
TEST VECTOR #10:
        The output samples for thi test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample is exactly 5 times
        size of the SHA-256 block length.

        (Total length of test vector data: 320)
VECTOR DATA FILE:
        testvectors/vector010.dat
SHA256 MATCHES:
        a7f001d996dd25af402d03b5f61aef950565949c1a6ad5004efa730328d2dbf3
SHA384 MATCHES:
        b8261ddcd7df7b3969a516b72550de6fbf0e394a4a7bb2bbc60ec603c2ceff64
        3c5bf62bc6dcbfa5beb54b62d750b969
SHA512 MATCHES:
        caf970d3638e21053173a638c4b94d6d1ff87bc47b58f8ee928fbe9e245c23ab
        f81019e45bf017ecc8610e5e0b95e3b025ccd611a772ca4fb3dfba26f0859725
TEST VECTOR #11:
        The output samples for thi test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample is one byte less
        than 7 times the size of the SHA-256 block length.

        (Total length of test vector data: 447)
VECTOR DATA FILE:
        testvectors/vector011.dat
SHA256 MATCHES:
        6dcd63a07b0922cc3a9b3315b158478681cc32543b0a4180abe58a73c5e14cc2
SHA384 MATCHES:
        548e4e9a1ff57f469ed47b023bf5279dfb4d4ca08c65051e3a5c41fab84479a2
        05496276906008b4b3c5b0970b2f5446
SHA512 MATCHES:
        ee5d07460183b130687c977e9f8d43110989b0864b18fe6ee00a53dec5eda111
        f3aaa3bac7ab8dae26ed545a4de33ed45190f18fa0c327c44642ab9424265330
TEST VECTOR #12:
        The output samples for thi test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample is exactly 5 times
        size of the SHA-384 and SHA-512 block lengths.

        (Total length of test vector data: 640)
VECTOR DATA FILE:
        testvectors/vector012.dat
SHA256 MATCHES:
        af6ebfde7d93d5badb6cde6287ecc2061c1cafc5b1c1217cd984fbcdb9c61aaa
SHA384 MATCHES:
        c6fec3a3278dd6b5afc8c0971d32d38faf5802f1a21527c32563b32a1ac34065
        6b433b44fe2648aa2232206f4301193a
SHA512 MATCHES:
        73ffeb67716c3495fbc33f2d62fe08e2616706a5599881c7e67e9ef2b68f4988
        ea8b3b604ba87e50b07962692705c420fa31a00be41d6aaa9f3b11eafe9cf49b
TEST VECTOR #13:
        The output samples for thi test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample is one byte short
        of 17 times size of the SHA-384 and SHA-512 block lengths.

        (Total length of test vector data: 2175)
VECTOR DATA FILE:
        testvectors/vector013.dat
SHA256 MATCHES:
        8ff59c6d33c5a991088bc44dd38f037eb5ad5630c91071a221ad6943e872ac29
SHA384 MATCHES:
        92dca5655229b3c34796a227ff1809e273499adc2830149481224e0f54ff4483
        bd49834d4865e508ef53d4cd22b703ce
SHA512 MATCHES:
        0e928db6207282bfb498ee871202f2337f4074f3a1f5055a24f08e912ac118f8
        101832cdb9c2f702976e629183db9bacfdd7b086c800687c3599f15de7f7b9dd
TEST VECTOR #14:
        The output samples for thi test vector come exclusively from my
        own implementation and so may be completely incorrect.  Use with
        a very large grain of salt.  The input sample 4 KB of misc.
        data.

        (Total length of test vector data: 16384)
VECTOR DATA FILE:
        testvectors/vector014.dat
SHA256 MATCHES:
        1818e87564e0c50974ecaabbb2eb4ca2f6cc820234b51861e2590be625f1f703
SHA384 MATCHES:
        310fbb2027bdb7042f0e09e7b092e9ada506649510a7aa029825c8e8019e9c30
        749d723f2de1bd8c043d8d89d3748c2f
SHA512 MATCHES:
        a001636f3ff1ce34f432f8e8f7785b78be84318beb8485a406650a8b243c419f
        7db6435cf6bf3000c6524adb5b52bad01afb76b3ceff701331e18b85b0e4cbd3
TEST VECTOR #15:
        This is yet another of my own test vectors for a larger
        input data set.  The input data is the string "qwerty
        repeated 65536 times.

        (Total length of test vector data: 393216)
VECTOR DATA FILE:
        testvectors/vector015.dat
SHA256 MATCHES:
        5e3dfe0cc98fd1c2de2a9d2fd893446da43d290f2512200c515416313cdf3192
SHA384 MATCHES:
        0d5e45317bc7997cb9c8a23bad9bac9170d5bc81789b51af6bcd74ace379fd64
        9a2b48cb56c4cb4ec1477e6933329e0e
SHA512 MATCHES:
        735bd6bebfe6f8070d70069105bc761f35ed1ac3742f2e372fdc14d2a51898e6
        153ccaff9073324130abdc451c730dc5dab5a0452487b1171c4dd97f92e267b7
TEST VECTOR #16:
        This test vector came from Brian LaMacchia in his e-mail
        message containing several samples of output from his SHA-256
        and SHA-512 implementations.  My own implementations match
        his output exactly.  The input data data set is the string
        "Rijndael is AES" repeated 1024 times.

        (Total length of test vector data: 15360)
VECTOR DATA FILE:
        testvectors/vector016.dat
SHA256 MATCHES:
        80fced5a97176a5009207cd119551b42c5b51ceb445230d02ecc2663bbfb483a
SHA384 MATCHES:
        aa1e77c094e5ce6db81a1add4c095201d020b7f8885a4333218da3b799b9fc42
        f00d60cd438a1724ae03bd7b515b739b
SHA512 MATCHES:
        fae25ec70bcb3bbdef9698b9d579da49db68318dbdf18c021d1f76aaceff9628
        38873235597e7cce0c68aabc610e0deb79b13a01c302abc108e459ddfbe9bee8
TEST VECTOR #17:
        Rogier van de Pol notified me that my implementation differed
        with several others on several test data sets he had tested
        against.  This test vector data set is one Rogier provided
        to me that highlighted an off-by-one bug in my implementation
        that affected SHA-256/384/512 hashes where the data set length
        was of a certain length.  In the case of SHA512 or SHA384, if
        the data length after subtracting 111 was an even multiple of
        128 bytes, the bug surfaced.  In the case of SHA256, after
        subtracting 55, the remaining length was an even multiple of 64,
        the bug surfaced.  The fix was simple.  In SHA512_Last() and in
        SHA256_Final() functions,  I simply replaced a single "<" test
        with a "<=" test.

        Thanks, Rogier!

        (Total length of test vector data: 12271)
VECTOR DATA FILE:
        testvectors/vector017.dat
SHA256 MATCHES:
        88ee6ada861083094f4c64b373657e178d88ef0a4674fce6e4e1d84e3b176afb
SHA384 MATCHES:
        78cc6402a29eb984b8f8f888ab0102cabe7c06f0b9570e3d8d744c969db14397
        f58ecd14e70f324bf12d8dd4cd1ad3b2
SHA512 MATCHES:
        211bec83fbca249c53668802b857a9889428dc5120f34b3eac1603f13d1b4796
        5c387b39ef6af15b3a44c5e7b6bbb6c1096a677dc98fc8f472737540a332f378
TEST VECTOR #18:
        I added this vector after fixing a bug first discovered by
        Rogier van de Pol.  The length of this data set is designed to
        test for that bug or similar bugs in SHA-256 hashes.  The bug
        was an off-by-one bug where I used a "<" test instead of a "<="
        test in SHA256_Final().  Whenever data set lengths were an even
        multiple of 64 after subtracting 55, the bug showed up.  The
        fix was easy, once the problem was fully diagnosed.

        Thanks, Rogier!

        (Total length of test vector data: 1079)
VECTOR DATA FILE:
        testvectors/vector018.dat
SHA256 MATCHES:
        5a2e925a7f8399fa63a20a1524ae83a7e3c48452f9af4df493c8c51311b04520
SHA384 MATCHES:
        72ec26cc742bc5fb1ef82541c9cadcf01a15c8104650d305f24ec8b006d7428e
        8ebe2bb320a465dbdd5c6326bbd8c9ad
SHA512 MATCHES:
        ebad464e6d9f1df7e8aadff69f52db40a001b253fbf65a018f29974dcc7fbf8e
        58b69e247975fbadb4153d7289357c9b6212752d0ab67dd3d9bbc0bb908aa98c


===== RESULTS (18 VECTOR DATA FILES HASHED) =====

HASH TYPE       NO. OF TESTS    PASSED  FAILED
---------       ------------    ------  ------
SHA-256                   18        18       0
SHA-384                   18        18       0
SHA-512                   18        18       0
----------------------------------------------
TOTAL:                    54        54       0

NO ERRORS!  ALL TESTS WERE SUCCESSFUL!

+ exit 0
Processing files: sha2-1.0.1-7.mga5.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GP78ja
+ umask 022
+ cd /home/dash/rpmbuild/BUILD
+ cd sha2-1.0.1
+ DOCDIR=/home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/share/doc/sha2
+ export DOCDIR
+ /usr/bin/mkdir -p /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/share/doc/sha2
+ cp -pr README /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64/usr/share/doc/sha2
+ exit 0
Provides: libsha2.so.1()(64bit) sha2 = 1.0.1-7.mga5 sha2(x86-64) = 1.0.1-7.mga5
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libsha2.so.1()(64bit)
Processing files: sha2-devel-1.0.1-7.mga5.x86_64
Provides: devel(libsha2(64bit)) sha2-devel = 1.0.1-7.mga5 sha2-devel(x86-64) = 1.0.1-7.mga5
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: sha2-debuginfo-1.0.1-7.mga5.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64
Wrote: /home/dash/rpmbuild/RPMS/x86_64/sha2-1.0.1-7.mga5.x86_64.rpm
Wrote: /home/dash/rpmbuild/RPMS/x86_64/sha2-devel-1.0.1-7.mga5.x86_64.rpm
Wrote: /home/dash/rpmbuild/RPMS/x86_64/sha2-debuginfo-1.0.1-7.mga5.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NtArK3
+ umask 022
+ cd /home/dash/rpmbuild/BUILD
+ cd sha2-1.0.1
+ /usr/bin/rm -rf /home/dash/rpmbuild/BUILDROOT/sha2-1.0.1-7.mga5.x86_64
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.LHnsbX
+ umask 022
+ cd /home/dash/rpmbuild/BUILD
+ rm -rf sha2-1.0.1
+ exit 0
[dash@localhost ~]$ clementine
clementine: error while loading shared libraries: libsha2.so.1: cannot open shared object file: No such file or directory
[dash@localhost ~]$
Sorry my if Experience doesn't meet your Expectations, I'll try Harder in the Future
User avatar
Garthhh
 
Posts: 483
Joined: Jun 2nd, '11, 19:27
Location: Reno

Re: Installing Clementine 1.3.1

Postby doktor5000 » May 22nd, '16, 01:19

Well, you need to install the package that you just built otherwise nothing will change ...
Code: Select all
urpmi /home/dash/rpmbuild/RPMS/x86_64/sha2-1.0.1-7.mga5.x86_64.rpm
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Next

Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest