Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Search for a well known library.

  1. #1
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,031

    Default Search for a well known library.

    Hello.

    This is a general question.

    I need to install a software from source.
    During the configure command, I got an error :
    Code:
    checking for some_file... no
    checking for SOMELIB - version >= 1.2.0... no
    configure: error: a_software needs SOMELIB
    But opensuse have installed SOMELIB6 which version is 1.6.0 which is >= 1.2.0
    Generally speaking SOMELIB6 provides somelib.so.6 (somelib6.so.0) or which is not what the software is searching for.
    Sometimes it is sufficient to make a link (somelib.so.6 --> somelib.so or somelib6.so.0 --> somelib.so.0 )

    How to solve this kind of problem ?

    I am looking for libgcrypt :
    Code:
    checking for libgcrypt-config... no
    checking for LIBGCRYPT - version >= 1.2.0... no
    configure: error: gnoMint needs libgcrypt
    Any help is welcome
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,670
    Blog Entries
    15

    Default Re: Search for a well known library.

    Hi
    For the first one you may need to patch the Makefile to use pkgconfig to find things, far more reliable for cross distro building
    https://people.freedesktop.org/~dbn/...fig-guide.html

    For the second, use zypper (this is from Tumbleweed);
    Code:
     zypper se --file-list libgcrypt-config
    Loading repository data...
    Reading installed packages...
    
    S | Name                  | Summary                | Type   
    --+-----------------------+------------------------+--------
      | libgcrypt-devel       | The GNU Crypto Library | package
      | libgcrypt-devel-32bit | The GNU Crypto Library | package
    
    Note: For an extended search including not yet activated remote resources please use 'zypper
    search-packages'.
    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
    San Diego, Ca, USA
    Posts
    11,140
    Blog Entries
    2

    Default Re: Search for a well known library.

    First, realize that sometimes a library <package name> may have been renamed to something similar although not exact. Consider whether a slight name change in any way makes sense. Remember, a package name is just a name and may or may not be the same as its file contents, or the naming convention may be different from one system to the next (causing project problems when they build to different distros).

    1. Search your existing configured repos
    Code:
    zypper se package_name 
    2. Search for a package that might provide the file
    Code:
    zypper se --provides file_name
    3. The "Cannot find" command
    Code:
    cnf file_name
    4. Use the online search tool at
    https://software.opensuselorg/search/

    5. Do an Internet search for the desired RPM package or file which might turn up in places like RPM PBone, RPMfind, etc

    4. Look up the project supporting the specific library to see whether it can be downloaded typically as a TAR file or compiled easily.

    Always consider the source for whatever you install, whether you can trust its integrity and weight the risk you could damage your machine whether intentionally or not.

    PS. And Malcolm points out that if you're <building> something and not just installing a pre-built, then you may need the source headers for that package which will the package name with "-devel" appended when available.

    HTH,
    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!

  4. #4
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,031

    Default Re: Search for a well known library.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    For the first one you may need to patch the Makefile to use pkgconfig to find things, far more reliable for cross distro building
    https://people.freedesktop.org/~dbn/...fig-guide.html

    For the second, use zypper (this is from Tumbleweed);
    Code:
     zypper se --file-list libgcrypt-config
    Loading repository data...
    Reading installed packages...
    
    S | Name                  | Summary                | Type   
    --+-----------------------+------------------------+--------
      | libgcrypt-devel       | The GNU Crypto Library | package
      | libgcrypt-devel-32bit | The GNU Crypto Library | package
    
    Note: For an extended search including not yet activated remote resources please use 'zypper
    search-packages'.
    I have tried all libgcrypt i found from opensuse 10.1 up to leap 42.3

    The probleme ( this is why I post this general question ) is that the installer search for a library but with a name that opensuse does not use.

    I will try your suggested tips.

    Thank you for helping.
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,670
    Blog Entries
    15

    Default Re: Search for a well known library.

    Hi
    As user tsu2 pointed out, it's on OBS;
    https://build.opensuse.org/package/s...:ecsos/gnoMint

    Ask the user to update to version 1.3.0;
    http://gnomint.sourceforge.net/

    Or branch, update and push to the user?
    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!

  6. #6
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,031

    Default Re: Search for a well known library.

    Quote Originally Posted by tsu2 View Post
    First, realize that sometimes a library <package name> may have been renamed to something similar although not exact. Consider whether a slight name change in any way makes sense. Remember, a package name is just a name and may or may not be the same as its file contents, or the naming convention may be different from one system to the next (causing project problems when they build to different distros).

    1. Search your existing configured repos
    Code:
    zypper se package_name 
    2. Search for a package that might provide the file
    Code:
    zypper se --provides file_name
    3. The "Cannot find" command
    Code:
    cnf file_name
    4. Use the online search tool at
    https://software.opensuselorg/search/

    5. Do an Internet search for the desired RPM package or file which might turn up in places like RPM PBone, RPMfind, etc

    4. Look up the project supporting the specific library to see whether it can be downloaded typically as a TAR file or compiled easily.

    Always consider the source for whatever you install, whether you can trust its integrity and weight the risk you could damage your machine whether intentionally or not.

    PS. And Malcolm points out that if you're <building> something and not just installing a pre-built, then you may need the source headers for that package which will the package name with "-devel" appended when available.

    HTH,
    TSU
    That does not really help.

    1, 2, 3, 4, 5 does not help really because one don't know the lib name or the file name "*.so.*" the installer is searching.
    The generic name is libgcrypt
    Opensuse use libgcrypt20 package ( which provide libgcrypt.so.20 ) (version 1.6.1) for opensuse leap 42.3
    For Opensuse 10.1 the package is named libgcrypt and provide libgcrypt.so.20 version 1.2.4

    For 6 OK, I will tried to add the -devel package

    Thank you for helping
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  7. #7
    Join Date
    Jun 2008
    Location
    South-West France
    Posts
    1,031

    Default Re: Search for a well known library.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    As user tsu2 pointed out, it's on OBS;
    https://build.opensuse.org/package/s...:ecsos/gnoMint

    Ask the user to update to version 1.3.0;
    http://gnomint.sourceforge.net/

    Or branch, update and push to the user?
    I am trying to compile version 1.3.0 from sourceforge.
    I have put a bug request on sourceforge

    I Have not found the package on opensuse certainly due to a bad search on google ( just to "download.opensuse.org" ).

    I will try the package from : https://build.opensuse.org/package/s...:ecsos/gnoMint

    Thank you for all your tips.
    Thanks for helping. JCD
    __________

    server leap 15-- ASUS g75vw KDE leap 42.3 -- ASUS g750JZ KDE leap 42.3 -- acer aspire s13 win 10 home -- HP Omen win 10 home - scan EPSON V500 - Brother HL2250DN - Samsung CLP-325W

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,670
    Blog Entries
    15

    Default Re: Search for a well known library.

    Quote Originally Posted by jcdole View Post
    I am trying to compile version 1.3.0 from sourceforge.
    I have put a bug request on sourceforge

    I Have not found the package on opensuse certainly due to a bad search on google ( just to "download.opensuse.org" ).

    I will try the package from : https://build.opensuse.org/package/s...:ecsos/gnoMint

    Thank you for all your tips.
    Hi
    If still having issues, post back and will see if get some time today for a rpm build for you.
    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!

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,670
    Blog Entries
    15

    Default Re: Search for a well known library.

    On Fri 08 Jun 2018 03:16:03 PM CDT, malcolmlewis wrote:

    jcdole;2868821 Wrote:
    > I am trying to compile version 1.3.0 from sourceforge.
    > I have put a bug request on sourceforge
    >
    > I Have not found the package on opensuse certainly due to a bad search
    > on google ( just to "download.opensuse.org" ).
    >
    > I will try the package from :
    > https://build.opensuse.org/package/s...:ecsos/gnoMint
    >
    > Thank you for all your tips.

    Hi
    If still having issues, post back and will see if get some time today
    for a rpm build for you.


    Hi
    So, running the autogen.sh script will fix things up.... Have a
    test build on OBS;
    https://build.opensuse.org/package/s...ESTING/gnoMint

    Still need to fix the compile option flags...

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SLES 15 | GNOME Shell 3.26.2 | 4.12.14-23-default
    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
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,670
    Blog Entries
    15

    Default Re: Search for a well known library.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    So, running the autogen.sh script will fix things up.... Have a
    test build on OBS;
    https://build.opensuse.org/package/s...ESTING/gnoMint

    Still need to fix the compile option flags...
    Hi
    And sorted, need to look at branching gnoMint and pushing the fix to allow cflags to be set and remove the -Werror (as per their ChangeLog)....
    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!

Page 1 of 2 12 LastLast

Posting Permissions

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