What Disk Station model are you using?
Maybe you have a different architecture than I have (ARM) and the segfault is due some types having a different size on your platform.


SynologyDS209> ./downloadstation.sh
Traceback (most recent call last):
File "./downloadstation.sh", line 17, in ?
import pyPgSQL.PgSQL as db
File "/opt/lib/python2.4/site-packages/pyPgSQL/PgSQL.py", line 449, in ?
from libpq import *
File "/opt/lib/python2.4/site-packages/pyPgSQL/libpq/__init__.py", line 23, in ?
from libpq import *
ImportError: /opt/lib/libgcc_s.so.1: ELF file data encoding not little-endian



Wawe wrote:How did you install libgcc in the first place? (ipkg?)
At what point did you chose the wrong architecture? When installing ipkg from one of the bootstraps? Or did you manually install the library in question?

markhm wrote:If I have a list of files that have been installed with the incorrect proc arch and I could perhaps remove them by hand. Your thoughts are much appreciated.

#!/bin/sh
# Optware setup
mkdir -p /opt
[ -e /volume1/opt ] && mount -o bind /volume1/opt /opt
[ -x /opt/etc/rc.optware ] && /opt/etc/rc.optware
[ -e /bin/killall ] || ln -s /bin/busybox /bin/killallIn that case you can cleanup the whole thing simply by removing the line in /etc/rc.local
and all files in /opt. Reboot to clear the situation.



caseee wrote:Will work with DSM 3.1?





Return to Torrent Engines/Download Station Mods
Users browsing this forum: rossini and 1 guest