# Cannot find -luuid. - 'libuuid-devel' not found

**URL:** <https://forums.suse.com/t/cannot-find-luuid-libuuid-devel-not-found/23609>\
**Category:** SLES Configure-Administer\
**Created:** [February 10, 2013, 10:06pm UTC](https://forums.suse.com/t/cannot-find-luuid-libuuid-devel-not-found/23609 "2013-02-10T22:06:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddewaele](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@ddewaele](https://forums.suse.com/u/ddewaele)\
**Post date:** [February 10, 2013, 10:06pm UTC](https://forums.suse.com/t/cannot-find-luuid-libuuid-devel-not-found/23609/1 "2013-02-10T22:06:14Z")

</div>

I’m trying to build an app (from the intel AMT SDK) on Suse Enterprise Edition. (supported platform)

When I execute the make command I get the following error :

~/Projects/intelamt/LinuxAMT/Intel\_AMT/Samples/Redirection/RedirectionSample\> make  
g++ imrcli.cpp -I…/…/…/Include -L…/…/…/Lib -L/usr/local/ssl/lib64 -limrsdkSuSE11 -luuid -lpthread -lssl -lcrypto -Wno-write-strings -o imrcli  
/usr/lib/gcc/i586-suse-linux/4.3/…/…/…/…/i586-suse-linux/bin/ld: cannot find -luuid  
collect2: ld returned 1 exit status  
make: \*\*\* [imrcli] Error 1

I tried installing libuuid-devel (had the same issue on Ubuntu and Centos, and that package fixed it), however Suse doesn’t seem to find it.

~/Projects/intelamt/LinuxAMT/Intel\_AMT/Samples/Redirection/RedirectionSample\> sudo zypper install libuuid-devel  
Refreshing service ‘nu\_novell\_com’.  
Loading repository data…  
Reading installed packages…  
‘libuuid-devel’ not found in package names. Trying capabilities.  
No provider of ‘libuuid-devel’ found.  
Resolving package dependencies…

Any ideas why it doesn’t find it and who I can get it to install ?

---

<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:** [February 10, 2013, 11:13pm UTC](https://forums.suse.com/t/cannot-find-luuid-libuuid-devel-not-found/23609/2 "2013-02-10T23:13:07Z")

</div>

> [@](#):
>
> On Sun 10 Feb 2013 08:14:04 PM CST, ddewaele wrote:
> 
> I’m trying to build an app (from the intel AMT SDK) on Suse Enterprise  
> Edition. (supported platform)
> 
> When I execute the make command I get the following error :
> 
> ~/Projects/intelamt/LinuxAMT/Intel\_AMT/Samples/Redirection/RedirectionSample\>  
> make  
> g++ imrcli.cpp -I…/…/…/Include -L…/…/…/Lib -L/usr/local/ssl/lib64  
> -limrsdkSuSE11 -luuid -lpthread -lssl -lcrypto -Wno-write-strings -o  
> imrcli  
> /usr/lib/gcc/i586-suse-linux/4.3/…/…/…/…/i586-suse-linux/bin/ld:  
> cannot find -luuid  
> collect2: ld returned 1 exit status  
> make: \*\*\* [imrcli] Error 1
> 
> I tried installing libuuid-devel (had the same issue on Ubuntu and  
> Centos, and that package fixed it), however Suse doesn’t seem to find  
> it.
> 
> ~/Projects/intelamt/LinuxAMT/Intel\_AMT/Samples/Redirection/RedirectionSample\>  
> sudo zypper install libuuid-devel  
> Refreshing service ‘nu\_novell\_com’.  
> Loading repository data…  
> Reading installed packages…  
> ‘libuuid-devel’ not found in package names. Trying capabilities.  
> No provider of ‘libuuid-devel’ found.  
> Resolving package dependencies…
> 
> Any ideas why it doesn’t find it and who I can get it to install ?

Hi  
Probably a patch is required to add the -luuid linker flag…

Try running this command before configure and make…

```auto
export SUSE_ASNEEDED=0
```

Else you will need to add the linker in the relevant makefile  
(makefile.ac or in), then autoreconf -fi

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.2 (x86\_64) Kernel 3.4.11-2.16-desktop  
up 3 days 0:29, 4 users, load average: 0.10, 0.05, 0.05  
CPU IntelÂ® i5 CPU M520@2.40GHz | GPU IntelÂ® Ironlake Mobile

---

<div class="post-metadata">

**Author:** ![ddewaele](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@ddewaele](https://forums.suse.com/u/ddewaele)\
**Post date:** [February 10, 2013, 11:18pm UTC](https://forums.suse.com/t/cannot-find-luuid-libuuid-devel-not-found/23609/3 "2013-02-10T23:18:37Z")

</div>

Thx for the quick reply … Same error though …

I read somewhere that I need to add the SLE11-SDK-SP2-Core repository to yast as all the development tools are located in that repo, but I’m new to Suse so I have no idea how to do that.  
After adding the repo the sudo zypper install libuuid-devel should work.

I did found the following URL but it is password protected ( [https://nu.novell.com/repo/$RCE/SLE11-SDK-SP2-Core/sle-11-x86\_64?credentials=NCCcredentials](https://nu.novell.com/repo/%24RCE/SLE11-SDK-SP2-Core/sle-11-x86_64?credentials=NCCcredentials))  
Also found the following url but no idea how to install this package. [https://www.suse.com/LinuxPackages/packageRouter.jsp?product=desktop&version=11&service\_pack=&architecture=i386&package\_name=libuuid-devel](https://www.suse.com/LinuxPackages/packageRouter.jsp?product=desktop&version=11&service_pack=&architecture=i386&package_name=libuuid-devel)

---

<div class="post-metadata">

**Author:** ![ddewaele](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@ddewaele](https://forums.suse.com/u/ddewaele)\
**Post date:** [February 10, 2013, 11:45pm UTC](https://forums.suse.com/t/cannot-find-luuid-libuuid-devel-not-found/23609/4 "2013-02-10T23:45:07Z")

</div>

Found the following SDK download page that hopefully contains the repo that includes the devel packages : [http://download.novell.com/protected/Summary.jsp?buildid=NgW3ToaagDQ~](http://download.novell.com/protected/Summary.jsp?buildid=NgW3ToaagDQ~)  
Will update this thread if it worked or not.

---

<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:** [February 11, 2013, 3:05am UTC](https://forums.suse.com/t/cannot-find-luuid-libuuid-devel-not-found/23609/5 "2013-02-11T03:05:24Z")

</div>

> [@](#):
>
> On Sun 10 Feb 2013 09:54:02 PM CST, ddewaele wrote:
> 
> Found the following SDK download page that hopefully contains the repo  
> that includes the devel packages :  
> [http://download.novell.com/protected/Summary.jsp?buildid=NgW3ToaagDQ~](http://download.novell.com/protected/Summary.jsp?buildid=NgW3ToaagDQ~)  
> Will update this thread if it worked or not.

Hi  
Yes, that’s the SDK, just download DVD1 (unless you really want the src  
rpms on DVD2). Use YaST add on products to point at the downloaded iso  
image and it will add the iso image as a repository and also the online  
and update repositories.

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.2 (x86\_64) Kernel 3.4.11-2.16-desktop  
up 3 days 4:22, 4 users, load average: 0.03, 0.07, 0.05  
CPU IntelÂ® i5 CPU M520@2.40GHz | GPU IntelÂ® Ironlake Mobile

---

<div class="post-metadata">

**Author:** ![ddewaele](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@ddewaele](https://forums.suse.com/u/ddewaele)\
**Post date:** [February 12, 2013, 10:39am UTC](https://forums.suse.com/t/cannot-find-luuid-libuuid-devel-not-found/23609/6 "2013-02-12T10:39:52Z")

</div>

I copied the ISO to the system and mounted it.  
When attempting to add the SDK as an add on product in Yast I got the following error (tried it with the iso directly and also the mount point :

An error occurred during repository initialization.  
‘SDK\_repo’: [|] Valid metadata not found at specified URL(s)  
History:

- Can’t hardlink/copy  
/var/adm/mount/AP\_0xdbBs3G/media.1/media to /var/cache/zypp/raw/SDK\_repoy7b46P
- Can’t provide /media.1/media

I did manage to install the libraries by going into the mount point and installing the rpms manually using rpm.

---

<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:** [February 12, 2013, 2:18pm UTC](https://forums.suse.com/t/cannot-find-luuid-libuuid-devel-not-found/23609/7 "2013-02-12T14:18:51Z")

</div>

> [@](#):
>
> On Tue 12 Feb 2013 08:44:02 AM CST, ddewaele wrote:
> 
> I copied the ISO to the system and mounted it.  
> When attempting to add the SDK as an add on product in Yast I got the  
> following error (tried it with the iso directly and also the mount point  
> :
> 
> An error occurred during repository initialization.  
> ‘SDK\_repo’: [|] Valid metadata not found at specified URL(s)
> 
> History:
> 
> - Can’t hardlink/copy  
> /var/adm/mount/AP\_0xdbBs3G/media.1/media to  
> /var/cache/zypp/raw/SDK\_repoy7b46P
> - Can’t provide /media.1/media
> 
> I did manage to install the libraries by going into the mount point and  
> installing the rpms manually using rpm.

Hi  
No need to mount the iso image, just browse to it…

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.2 (x86\_64) Kernel 3.4.11-2.16-desktop  
up 4 days 15:36, 4 users, load average: 0.00, 0.03, 0.05  
CPU IntelÂ® i5 CPU M520@2.40GHz | GPU IntelÂ® Ironlake Mobile
