Use of 64-bit libraries

Just starting to get involved with GNU Radio, on Mandriva 2011_x64

  1. How do I tell cmake to use 64 bit libraries?
    cmake says:
  • checking for module ‘orc-0.4 > 0.4.11’
    – package ‘orc-0.4 > 0.4.11’ not found
    – orc files (missing: ORC_INCLUDE_DIR)
    but:
    [root@handel lib64]# ls -l|grep orc
    lrwxrwxrwx 1 root root 20 Aug 27 2011
    liborc-0.4.so.0 -> liborc-0.4.so.0.14.0*
    -rwxr-xr-x 1 root root 506192 Jun 16 2011
    liborc-0.4.so.0.14.0*
    lrwxrwxrwx 1 root root 25 Aug 27 2011
    liborc-test-0.4.so.0 -> liborc-test-0.4.so.0.14.0*
    -rwxr-xr-x 1 root root 31152 Jun 16 2011
    liborc-test-0.4.so.0.14.0*
  1. How to tell cmake that uhd is installed in /opt:
    cmake says:
    – checking for module ‘uhd’
    – package ‘uhd’ not found
    – Could NOT find UHD (missing: UHD_LIBRARIES UHD_INCLUDE_DIRS)
    But
    [root@handel lib64]# cd /opt
    [root@handel opt]# ls -l|grep uhd
    drwxr-xr-x 5 root root 4096 Feb 4 16:33 uhd/

Thanks

Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64

On Tue, Feb 5, 2013 at 10:12 AM, Graeme G. [email protected]
wrote:

-rwxr-xr-x 1 root root 506192 Jun 16 2011
liborc-0.4.so.0.14.0*
lrwxrwxrwx 1 root root 25 Aug 27 2011
liborc-test-0.4.so.0 → liborc-test-0.4.so.0.14.0*
-rwxr-xr-x 1 root root 31152 Jun 16 2011
liborc-test-0.4.so.0.14.0*

What does ‘pkg-config --modversion orc-0.4’ return? This is the string
that’s compared against the version number. It’s likely that you have
the
libraries installed but not the development version (e.g., the headers).

Thanks

Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64

Again, we use package config to find the installed versions of things
like
this. You’ll have to make sure ‘pkg-config --modversion uhd’ returns
something valid. Most likely, all you need to do is add
‘PKG_CONFIG_PATH=/opt/uhd/lib/pkgconfig’ (or where ever the uhd.pc file
is
located).

Tom