# No glibc-devel-static ?

**URL:** <https://forums.suse.com/t/no-glibc-devel-static/29267>\
**Category:** SLES for Raspberry Pi\
**Created:** [January 22, 2017, 7:51am UTC](https://forums.suse.com/t/no-glibc-devel-static/29267 "2017-01-22T07:51:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mabman](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mabman](https://forums.suse.com/u/mabman)\
**Post date:** [January 22, 2017, 7:51am UTC](https://forums.suse.com/t/no-glibc-devel-static/29267/1 "2017-01-22T07:51:27Z")

</div>

Hello, I’ve finally gotten SLES working as I like it on my Raspberry Pi 3.

One thing is missing - I would like to be able to statically compile applications using gcc. I am unable to do this because the static version of glibc is not available. (I can squeeze a little more performance out of a CPU-bound application this way - it works correctly in Raspbian on the same hardware.)

After some searching, it appears I need the package “glibc-devel-static”, which is not available from the SUSE repositories. Further searching seems to indicate it is available in general, but only as part of the SLES 12 Development Kit. However, there is no Development Kit for AARCH64.

Some searching at [rpmfind.net](http://rpmfind.net) suggests there _are_ AARCH64 RPMs available, but the versions need to match the installed version of glibc-devel, and if they don’t, glibc-devel-static won’t install (I tested this). The highest version I see on [rpmfind.net](http://rpmfind.net) is 2.19-22.1, which requires the same version of plain glibc-devel. The glibc-devel version installed on SLES is 2.22-49.16.

I really don’t want to mess around with downgrading glibc-devel to get glibc-devel-static to install, as glibc is a dependency for many (all?) system tools and that could be bad.

I suspect I’m out of luck at this point - by chance does anyone have a glibc-devel-static AARCH64 RPM for version 2.22-49.16 ?

Thanks!

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [January 22, 2017, 4:14pm UTC](https://forums.suse.com/t/no-glibc-devel-static/29267/2 "2017-01-22T16:14:39Z")

</div>

> [@](#):
>
> On Sun 22 Jan 2017 05:54:01 AM CST, mabman wrote:
> 
> Hello, I’ve finally gotten SLES working as I like it on my Raspberry Pi  
> 3.
> 
> One thing is missing - I would like to be able to statically compile  
> applications using gcc. I am unable to do this because the static  
> version of glibc is not available. (I can squeeze a little more  
> performance out of a CPU-bound application this way - it works correctly  
> in Raspbian on the same hardware.)
> 
> After some searching, it appears I need the package  
> “glibc-devel-static”, which is not available from the SUSE repositories.  
> Further searching seems to indicate it is available in general, but  
> only as part of the SLES 12 Development Kit. However, there is no  
> Development Kit for AARCH64.
> 
> Some searching at [rpmfind.net](http://rpmfind.net) suggests there _are_ AARCH64 RPMs  
> available, but the versions need to match the installed version of  
> glibc-devel, and if they don’t, glibc-devel-static won’t install (I  
> tested this). The highest version I see on [rpmfind.net](http://rpmfind.net) is 2.19-22.1,  
> which requires the same version of plain glibc-devel. The glibc-devel  
> version installed on SLES is 2.22-49.16.
> 
> I really don’t want to mess around with downgrading glibc-devel to get  
> glibc-devel-static to install, as glibc is a dependency for many (all?)  
> system tools and that could be bad.
> 
> I suspect I’m out of luck at this point - by chance does anyone have a  
> glibc-devel-static AARCH64 RPM for version 2.22-49.16 ?
> 
> Thanks!

Hi  
AFAIK, the SDK is coming… (See  
[http://forums.suse.com/showthread.php?t=8794](http://forums.suse.com/showthread.php?t=8794)) may bump the thread I  
linked…

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE Leap 42.1|GNOME 3.16.2|4.1.36-44-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!

---

<div class="post-metadata">

**Author:** ![mabman](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@mabman](https://forums.suse.com/u/mabman)\
**Post date:** [January 22, 2017, 6:42pm UTC](https://forums.suse.com/t/no-glibc-devel-static/29267/3 "2017-01-22T18:42:39Z")

</div>

[QUOTE=malcolmlewis;36181]Hi  
AFAIK, the SDK is coming… (See  
[http://forums.suse.com/showthread.php?t=8794](http://forums.suse.com/showthread.php?t=8794)) may bump the thread I  
linked…

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE Leap 42.1|GNOME 3.16.2|4.1.36-44-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![/QUOTE]

Good news, thanks!
