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

Thread: Why is there no glibc-devel-static-32bit package in openSUSE 12.1 64bit?

  1. #1
    Join Date
    Sep 2008
    Location
    NRW, Germany
    Posts
    36

    Default Why is there no glibc-devel-static-32bit package in openSUSE 12.1 64bit?

    Hi.

    openSUSE constantly reduces the number of static libraries. From a maintenance and
    security point of view, I understand this perfectly. But if you have to produce binaries
    for your own projects, linking with static libraries really avoids lots of troubles for your
    users.

    That said:
    openSUSE 12.1 (64 bit) has no static 32bit versions of C lib etc. anymore.
    I would expect a package glibc-devel-static-32bit named to contain /usr/lib/libc.a etc.
    But I can only find the package glibc-devel-static containing /usr/lib64/libc.a etc.

    Conclusion:
    Please consider providing a package glibc-devel-static-32bit for openSUSE 12.1 64bit.

    Sven

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Why is there no glibc-devel-static-32bit package in openSUSE12.1 64bit?

    On 2011-11-23 11:16, sven1999 wrote:

    > Please consider providing a package glibc-devel-static-32bit for
    > openSUSE 12.1 64bit.


    *WE* can not. This forum is "users helping users". We are not the devs.

    You can try the factory mail list, or a bugzilla.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Why is there no glibc-devel-static-32bit package in openSUSE12.1 64bit?

    Am 23.11.2011 11:28, schrieb Carlos E. R.:
    > On 2011-11-23 11:16, sven1999 wrote:
    >
    >> Please consider providing a package glibc-devel-static-32bit for
    >> openSUSE 12.1 64bit.

    >
    > *WE* can not. This forum is "users helping users". We are not the devs.
    >
    > You can try the factory mail list, or a bugzilla.
    >

    If you want to create a program with the c lib linked static you use the
    compiler switch static.

    Code:
    #include <stdio.h>
    
    int main(){
    printf("Hello\n");
    return 0;
    }
    as test.c
    Code:
    gcc test.c
    ldd a.out
    linux-vdso.so.1 =>  (0x00007fff51ad9000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fe4d6e0b000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fe4d7178000)
    
    gcc -static test.c
    ldd a.out
    not a dynamic executable
    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
    nVidia ION | 3GB Ram

  4. #4
    Join Date
    Sep 2008
    Location
    NRW, Germany
    Posts
    36

    Default Re: Why is there no glibc-devel-static-32bit package in openSUSE12.1 64bit?

    Thanks Martin. My point is: there is no libc.a which gcc/ld could use in the described setting.

  5. #5
    Join Date
    Sep 2008
    Location
    NRW, Germany
    Posts
    36

    Default Re: Why is there no glibc-devel-static-32bit package in openSUSE12.1 64bit?

    Quote Originally Posted by robin_listas View Post
    *WE* can not. This forum is "users helping users". We are not the devs.
    Yes, sorry for the noise, but many users are programmers and must solve similar problems.
    Maybe some user knows where to find the sought package :-)

  6. #6

    Default Re: Why is there no glibc-devel-static-32bit package in openSUSE12.1 64bit?

    sven1999 wrote:
    > Yes, sorry for the noise, but many users are programmers and must solve
    > similar problems.
    > Maybe some user knows where to find the sought package :-)


    The concentration of users who are programmers is greater in the
    Programming-Scripting forum. Which would be a better place for a
    question about programming and libraries, IMHO.

  7. #7
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Why is there no glibc-devel-static-32bit package in openSUSE12.1 64bit?

    Am 23.11.2011 13:34, schrieb Dave Howorth:
    > sven1999 wrote:
    >> Yes, sorry for the noise, but many users are programmers and must solve
    >> similar problems.
    >> Maybe some user knows where to find the sought package :-)

    >
    > The concentration of users who are programmers is greater in the
    > Programming-Scripting forum. Which would be a better place for a
    > question about programming and libraries, IMHO.

    Install glibc-devel that's it (I misunderstood to original question
    somehow and thought that a programmer always has the -devel packages
    installed)

    Code:
    rpm -ql glibc-devel | grep libc.a
    /usr/lib64/libc.a
    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
    nVidia ION | 3GB Ram

  8. #8
    Join Date
    Sep 2008
    Location
    NRW, Germany
    Posts
    36

    Default Re: Why is there no glibc-devel-static-32bit package in openSUSE12.1 64bit?

    OK, I have moved to the suggested forum.

  9. #9
    Join Date
    Sep 2008
    Location
    NRW, Germany
    Posts
    36

    Default Re: Why is there no glibc-devel-static-32bit package in openSUSE12.1 64bit?

    /usr/lib64/libc.a is there, sure.
    But I am building 32bit binaries and hence was surprised that starting with openSUSE 12.1 the 32bit developer packages have only shared (and not static) libraries.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Why is there no glibc-devel-static-32bit package in openSUSE12.1 64bit?

    On 2011-11-23 13:56, sven1999 wrote:
    >
    > /usr/lib64/libc.a is there, sure.
    > But I am building 32bit binaries and hence was surprised that starting
    > with openSUSE 12.1 the 32bit developer packages have only shared (and
    > not static) libraries.


    If the 64 bit package has it, and the 32 bit package has it not, then you
    can open a bugzilla immediately.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

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
  •