[mythtv-users] Compile from source fails with configure: error: cannot link with -luuid, install uuid-dev]

jedi jedi at mishnet.org
Sun Jul 1 15:44:14 UTC 2012


On Tue, Jun 19, 2012 at 03:17:48PM -0500, Richard Shaw wrote:
> On Tue, Jun 19, 2012 at 2:50 PM,  <jnissley at nissley.org> wrote:
> > I download the latest source from github this morning and tried to compile
> > on my fedora 15 and fedora 16 servers and the following fatal error was
> > given.
> >
> > checking for uuid_generate in -luuid... no
> > configure: error: cannot link with -luuid, install uuid-dev.
> > make[1]: *** [zeromq/Makefile] Error 1
> > make[1]: Leaving directory `/mythtv/mythtv/mythtv/external'
> > make: *** [external] Error 2
> >
> > I looked for a package called uuid-dev and could not find one but I did
> > install all of the uuid packages I could find.

    Alternatively, you can probably use a search key when using your package
installation tool. Something like "apt-get install .*uuid.*dev".

    It's also helpful to know that -l<foo> implies something named lib<foo>.

    If there are *.dev packages then install those too.

> 
> It's not intuitive but you have to prepend "lib" to the linker "-l"
> option so you should search for "libuuid.so"
> 
> $ repoquery --whatprovides /usr/lib64/libuuid.so
> libuuid-devel-0:2.20.1-2.fc16.x86_64
> libuuid-devel-0:2.20.1-2.3.fc16.x86_64


More information about the mythtv-users mailing list