NSLU2-Linux
view · edit · print · history

DS101-Linux For some the ipkg installation dont go to smoothly. If you get lines like the following you should try this guide.

 ipkg install openssl.ipk
 ipkg: /lib/ld-linux.so.2: version `GLIBC_2.1.1' not found 
 (required by /opt/lib/libc.so.6)
 ipkg: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found 
 (required by /opt/lib/libc.so.6)
 ipkg: /lib/ld-linux.so.2: version `GLIBC_2.2' not found 
 (required by /opt/lib/libc.so.6)

Issuing bootstrap.sh will fail at some point because of conflicting /opt/libc* files. Anyway, start the script and remove the libraries after the script has failed:

 sh bootstrap.sh
 rm /opt/lib/libc*

Then install the other ipkg-files:

 ipkg install openssl.ipkg
 ipkg install wget-ssl.ipkg

Finally create the file /opt/etc/ipkg/cross-feed.conf with the following contents (one line):

 src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

To verify that all now is well do a ipkg update. If this also ends in errors like this:

 Downloading http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable/Packages.gz
 wget: relocation error: /opt/lib/libpthread.so.0: symbol __libc_sigaction, 
 version GLIBC_2.2 not defined in file libc.so.6 with link time reference
 An error ocurred, return value: 1.
 Collected errors:
 ipkg_download: ERROR: Command failed with return value 127: `wget --passive-ftp -q -P 
 /tmp/ipkg-cTs3V9  http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable/Packages.gz'

Try removing these files

 rm /opt/lib/libpthread*
 rm /opt/lib/libnss_files*

Retry the ipkg update command

 ipkg update
 Downloading http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable/Packages.gz
 Inflating http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable/Packages.gz
 Updated list of available packages in /opt/var/lib/ipkg/cross
 Successfully terminated.

If you get the Successfully terminated statement above your in the game. If not try and figure out what is wrong and update this guide if you do find out.

view · edit · print · history · Last edited by erikja.
Originally by eriktar.
Page last modified on January 04, 2008, at 08:18 PM