OK; great. 1 step forward.

Since you're using Linux, you also need to add the library path such
that "ldconfig" can find it, generally by editing the file
"/etc/ld.so.conf" to add the new path ("/home/mostafa/prefix/lib") &
then executing "sudo ldconfig". You can then verify that the libraries
in /prefix are being found via reviewing the output from "ldconfig -p".
- MLD

On Mon, May 22, 2017, at 09:38 AM, Mostafa Shabani wrote:
> yes, literally "/prefix' ! :)
> {{{
> python2.7 -c "import sys; print sys.path" 
> }}}
> 
> returns:
> 
> ['', '/home/mostafa/prefix/lib/python2.7/dist-packages',
> '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-
> gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
> '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-
> packages', '/usr/lib/python2.7/dist-packages', 
> '/usr/lib/python2.7/dist-packages/gtk-
> 2.0', '/usr/lib/python2.7/dist-packages/wx-3.0-gtk2']> by 
> {{{
> export PYTHONPATH=/home/mostafa/prefix/lib/python2.7/dist-packages
> }}}
> 
> I get this new error: 
> 
> 2: Test command: /bin/sh "/home/mostafa/Dropbox/GnuRadioandUSRP/MyModules/gr-
>    howto/build/python/qa_square_ff_test.sh"> 2: Test timeout computed to be: 
> 9.99988e+06
> 2: Traceback (most recent call last):
> 2:   File "/home/mostafa/Dropbox/GnuRadioandUSRP/MyModules/gr-
>      howto/python/qa_square_ff.py", line 22, in <module>> 2:     from 
> gnuradio import gr, gr_unittest
> 2:   File "/home/mostafa/prefix/lib/python2.7/dist-
>      packages/gnuradio/gr/__init__.py", line 41, in <module>> 2:     from 
> runtime_swig import *
> 2:   File "/home/mostafa/prefix/lib/python2.7/dist-
>      packages/gnuradio/gr/runtime_swig.py", line 28, in <module>> 2:     
> _runtime_swig = swig_import_helper()
> 2:   File "/home/mostafa/prefix/lib/python2.7/dist-
>      packages/gnuradio/gr/runtime_swig.py", line 24, in
>      swig_import_helper> 2:     _mod = imp.load_module('_runtime_swig', fp, 
> pathname,
>        description)> 2: ImportError: libgnuradio-runtime-3.7.12git.so.0.0.0: 
> cannot open
>    shared object file: No such file or directory> 1/1 Test #2: qa_square_ff 
> .....................***Failed    0.01 sec

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to