# Re: Installing Channel coding toolbox problem

**URL:** <https://www.ruby-forum.com/t/re-installing-channel-coding-toolbox-problem/229747>\
**Category:** GNU Radio\
**Created:** [January 23, 2013, 7:30pm UTC](https://www.ruby-forum.com/t/re-installing-channel-coding-toolbox-problem/229747 "2013-01-23T19:30:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ghulam\_Rasool\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/bc8723/32.png) [@Ghulam\_Rasool\_B](https://www.ruby-forum.com/u/Ghulam_Rasool_B)\
**Post date:** [January 23, 2013, 7:30pm UTC](https://www.ruby-forum.com/t/re-installing-channel-coding-toolbox-problem/229747/1 "2013-01-23T19:30:18Z")

</div>

Thanks fr help & support.  
I re run all commands and used export command you provided and was able  
to install channel coding toolbox. But when I simulated the .grc file  
(attached with mail) I got following run time error.  
Traceback (most recent call last): File “/home/ehsan/mygn/top\_block.py”,  
line 17, in import chancoding File  
“/usr/local/lib/python2.7/site-packages/chancoding/ **init**.py”, line  
40, in from chancoding\_swig import \* File  
“/usr/local/lib/python2.7/site-packages/chancoding/chancoding\_swig.py”,  
line 26, in \_chancoding\_swig = swig\_import\_helper() File  
“/usr/local/lib/python2.7/site-packages/chancoding/chancoding\_swig.py”,  
line 22, in swig\_import\_helper \_mod =  
imp.load\_module(‘\_chancoding\_swig’, fp, pathname,  
description)ImportError: libgnuradio-chancoding.so.0: cannot open shared  
object file: No such file or directory

> > > DoneWhat may be the prblem

Best RegardsGRB

— On Wed, 1/23/13, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

From: Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: [Discuss-gnuradio] Installing Channel coding toolbox  
problem  
To: “Ghulam Rasool B.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Date: Wednesday, January 23, 2013, 9:28 PM

I don’t like giving out contact info for people, but Martin B. is  
pretty easy to find. He contributes a lot to the mailing list, so you  
should be able to find his info there.  
Tom

On Wed, Jan 23, 2013 at 10:56 AM, Ghulam Rasool B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

Thanks for your help.

Is it somehow possible to get mail Id of contributors if you don mind  
please  
Best RegardsGRB

— On Wed, 1/23/13, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

From: Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: [Discuss-gnuradio] Installing Channel coding toolbox  
problem

To: “Ghulam Rasool B.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Cc: “Gnu Radio” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

Date: Wednesday, January 23, 2013, 9:21 PM

On Wed, Jan 23, 2013 at 10:45 AM, Ghulam Rasool B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

Thanks for reply.

yes the path exactly the same i.e/usr/local/lib/pkgconfig  
using the export command now, ./configure, make, make check worked but  
the make install command didnot It showed

make installmake: \*\*\* No rule to make target `install’. Stop.  
Please suggest what to do now.  
Regards

Sorry, I’m not hands-on familiar with that project. Perhaps Martin could  
weigh in here? Might not meant to be installed automatically, so you  
might have to do something by hand.

Tom

— On Wed, 1/23/13, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

From: Tom  
Rondeau [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: [Discuss-gnuradio] Installing Channel coding toolbox  
problem  
To: “Ghulam Rasool B.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

Cc: “Gnu Radio” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Date: Wednesday, January 23, 2013, 8:23 PM

On Wed, Jan 23, 2013 at 7:20 AM, Ghulam Rasool B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

Hi all,

To test grc simulations given at  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/Simulations](http://gnuradio.org/redmine/projects/gnuradio/wiki/Simulations)

I could not find Binary symmetric channel block in GRC. I then tried to  
install Channel Coding Toolbox by following instructions given at  
[https://www.cgran.org/wiki/chancoding](https://www.cgran.org/wiki/chancoding)

I used following commandssvn co  
[https://www.cgran.org/svn/projects/channel\_coding/trunk/gr-chancoding](https://www.cgran.org/svn/projects/channel_coding/trunk/gr-chancoding)

cd gr-chancoding  
./bootstrap

But after giving./configureit shows following at the end:No package  
‘gnuradio-core’ found

Consider adjusting the PKG\_CONFIG\_PATH environment variable if  
youinstalled software in a non-standard prefix.

Alternatively, you may set the environment  
variables GNURADIO\_CORE\_CFLAGSand GNURADIO\_CORE\_LIBS to avoid the need  
to call pkg-config.See the pkg-config man page for more details.

I dont know what to do now.  
You should adjust PKG\_CONFIG\_PATH.

Put it another way. Where is your GNU Radio installed to? If you  
compiled and installed by hand without adjusting anything, it should be  
in /usr/local. So then you will have a directory:

/usr/local/lib/pkgconfig  
This directory contains package config files like gnuradio-core.pc.  
Point pkg-config there and you’re configure scripts should be able to  
find it:

export PKG\_CONFIG\_PATH=/usr/local/lib/pkgconfig:$PKG\_CONFIG\_PATH

Is there some other way to do this simulation.

I have latest version of gnuradio installed i.e v3.6.3-6-gca407436.

Best Regards

GRB  
Tom

---

<div class="post-metadata">

**Author:** ![Ghulam\_Rasool\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/bc8723/32.png) [@Ghulam\_Rasool\_B](https://www.ruby-forum.com/u/Ghulam_Rasool_B)\
**Post date:** [January 24, 2013, 9:04am UTC](https://www.ruby-forum.com/t/re-installing-channel-coding-toolbox-problem/229747/2 "2013-01-24T09:04:48Z")

</div>

On Wed, Jan 23, 2013 at 10:28:56AM -0800, Ghulam Rasool B. wrote:

> ImportError: libgnuradio-chancoding.so.0: cannot open shared object file: No  
> such file or directory

Did you ‘sudo ldconfig’?

MB

–  
Karlsruhe Institute of Technology (KIT)  
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.  
Research Associate

Kaiserstraße 12  
Building 05.01  
76131 Karlsruhe

Phone: +49 721 608-43790  
Fax: +49 721 608-46071  
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and  
National Laboratory of the Helmholtz Association

---

<div class="post-metadata">

**Author:** ![Ghulam\_Rasool\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/bc8723/32.png) [@Ghulam\_Rasool\_B](https://www.ruby-forum.com/u/Ghulam_Rasool_B)\
**Post date:** [January 24, 2013, 10:05am UTC](https://www.ruby-forum.com/t/re-installing-channel-coding-toolbox-problem/229747/3 "2013-01-24T10:05:34Z")

</div>

Thanks it worked now.

— On Thu, 1/24/13, Martin B. (CEL) [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

From: Martin B. (CEL) [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: [Discuss-gnuradio] Installing Channel coding toolbox  
problem  
To: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Date: Thursday, January 24, 2013, 1:33 PM

On Wed, Jan 23, 2013 at 10:28:56AM -0800, Ghulam Rasool B. wrote:

> ImportError: libgnuradio-chancoding.so.0: cannot open shared object file: No  
> such file or directory

Did you ‘sudo ldconfig’?

MB

–  
Karlsruhe Institute of Technology (KIT)  
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.  
Research Associate

Kaiserstrae 12  
Building 05.01  
76131 Karlsruhe

Phone: +49 721 608-43790  
Fax: +49 721 608-46071  
www.cel.kit.edu

KIT – University of the State of Baden-Wrttemberg and  
National Laboratory of the Helmholtz Association

-----Inline Attachment Follows-----
