SpecEst toolbox install issue

Hi!

I have a small issue with the SpecEst toolbox install from cgran:
https://www.cgran.org/wiki/SpecEst#HowToInstall

I followed that Howto and the Readme. It compiled just fine on my
Ubuntu 11.04, x64, v3.4.0-101-g7e2b45b8

sudo specest_gui.py
linux; GNU C++ version 4.5.2; Boost_104200; UHD_003.002.001-fc349d3

Traceback (most recent call last):
File “/usr/local/bin/specest_gui.py”, line 14, in
import specest
File “/usr/local/lib/python2.7/dist-packages/specest/init.py”,
line 40, in
from specest_swig import *
File “/usr/local/lib/python2.7/dist-packages/specest/specest_swig.py”,
line 24, in
_specest_swig = swig_import_helper()
File “/usr/local/lib/python2.7/dist-packages/specest/specest_swig.py”,
line 20, in swig_import_helper
_mod = imp.load_module(‘_specest_swig’, fp, pathname, description)
ImportError: libgnuradio-specest.so: cannot open shared object file:
No such file or directory

Normally these variables are not set, but I configured them…
sometimes this worked:

% echo $PYTHONPATH
:/usr/local/lib64/pkgconfig:/usr/local/lib64/

% echo $PKG_CONFIG_PATH
:/usr/local/lib64/pkgconfig

No effect. I performaed ldconfig after install and there are no
errors. The lib is in /usr/local/lib64/

Thanks for answers :wink:
Best,
Marius

Hi Marius,

On 12/16/2011 10:56 AM, Marius wrote:

I have a small issue with the SpecEst toolbox install from cgran:
https://www.cgran.org/wiki/SpecEst#HowToInstall

I followed that Howto and the Readme. It compiled just fine on my
Ubuntu 11.04, x64, v3.4.0-101-g7e2b45b8

Good starting point :wink:

:/usr/local/lib64/pkgconfig

No effect. I performaed ldconfig after install and there are no
errors. The lib is in /usr/local/lib64/

Can you check /usr/local/lib64 is in your library path?

Do you get the same error if you do a:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64

before launching the command?

If yes, you might want to add /usr/local/lib64 to a file in your
/etc/ld.so.conf.d

Cheers,

Moritz