Changes between Version 12 and Version 13 of Internal/BuildingGNURadioImage


Ignore:
Timestamp:
Jan 28, 2009, 7:45:55 PM (15 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/BuildingGNURadioImage

    v12 v13  
    152152----
    153153
     154We added PYTHONPATH=/usr/local/lib/python2.5/site-packages/gnuradio/
     155{{{
     156export PYTHONPATH=/usr/local/lib/python2.5/site-packages/gnuradio/
     157}}}
    154158
     159We're trying to import one of the gnuraido libraries into a running python shell, it's complaining about
     160{{{
     161ImportError: libgnuradio-core.so.0: cannot open shared object file: No such file or directory
     162}}}
    155163
    156 ----
     164Bob seems to think this is caused by the '''Broken libtool on Debian and Ubuntu''' documented in the Ubuntu install docs.
    157165
     166To fix it we modified the ld.so.conf and ran ldconfig.
     167
     168{{{
     169cp /etc/ld.so.conf /tmp/ld.so.conf
     170echo /usr/local/lib >> /tmp/ld.so.conf
     171mv /tmp/ld.so.conf /etc/ld.so.conf
     172ldconfig
     173}}}
     174
     175ldconfig ran with out complaint. the ld.so.conf contains this:
     176
     177{{{
     178node1-1:~# more /etc/ld.so.conf
     179include /etc/ld.so.conf.d/*.conf
     180
     181/usr/local/lib/
     182node1-1:~#
     183}}}
     184
     185after this step in a python shell ''from gnuradio import gr'' ran with out complaint.