root@debian:~/devel/snoopy/snoopy-1.7.9# make enable
[: 14: x/usr/local/lib: unexpected operator
[: 41: 0: unexpected operator
Snoopy already enabled in /etc/ld.so.preload. Check syslog messages for output.
It doesn't work :(
This looks like an installer problem. Which shell is your default?
Quick fix: try adding "/usr/local/lib/snoopy.so" to /etc/ld.so.preload manually.
apparently debian squeeze doesn't have ld.so anymore
the package "snoopy" used to be in lenny, but in squeeze it has been removed
it is also gone from ubuntu
damn. i loved snoopy. please make it come back.
That's not my call actually :/
Is there anything other than ld which can be used? Something that's still in there?
LD is most certainly there, I believe. Just create the /etc/ld.so.preload file manually.
I ran into the same problem. Any update?
Not update yet, I don't have any installed debian squeeze at my disposal ATM. Can someone provide an access to a working (test!) install of debian squeeze for me?
There are two errors in your enable.sh script in snoopy 1.8.0, lines 14 and 41.
You are using == to compare values in your tests, ie:
"==", if I recall sh scripting, assigns values. According to the debian dash documentation, you would want:
No, == compares and = is an assignment. Just like in C :)
Sorry I didn't see this sooner btw. I'll stuff an install of Debian Squeeze on a VM this weekend.
Please do report back success or failure. Thanks,
Just so anyone looking here knows, a new package of Snoopy is available in the Debian Unstable tree (should hit Wheezy in the coming week). It was built on a Squeeze system, however, and will work just fine there (I'm the new Debian maintainer).
That is great news indeed!
BTW: Can you explain these "rumors" about debian not using ld any longer? If this is true, what is used instead for dynamic loading?
Debian still uses ld. /etc/ld.so.conf and /etc/ld.so.preload still work as expected. What disappeared was the ld.so.preload-manager package that was being used to manage /etc/ld.so.preload, so now packages have to do their own work in the preinst/postrm scripts.
Minor update: although I built the amd64 binary on a Squeeze system myself, the i386 version was autobuilt on a machine with the libc6 from Wheezy. Other architectures may have a similar issue. You can build your own version by pulling down the source package and doing a "debian/rules binary", however.