zigg Aug 20, 2003 at 12:17:33 |
Debian unstable and EMusic DLM users, READ THIS |
Reply |
(EMusic people: it would be helpful if you posted this information to the site news section; I'm sure some people could use the info...)
Debian unstable users have been able to use the EMusic DLM
until now by using emusicdlm-bin, but as Debian unstable just went to
glibc 2.3.2, this no longer works. The emusicdlm script loads libraries
that just plain don't work; you'll get endless download retries if you use this.
The
solution to this is to put glibc 2.3.1's libc into your
/usr/lib/emusicdlm, removing everything else, and using the emusicdlm
script.
Do this:
1. Grab libc6_2.3.1-16_i386.deb from ftp://ftp.deb ian.org/debian/pool/main/g/glibc/libc6_2.3.1-16_i386.deb, put it in /tmp or some such. Go where you put it and become root.
2. # mkdir libc6
3. # dpkg -x libc6_2.3.1-16_i386.deb libc6
4. # mkdir /usr/lib/emusicdlm/disabled
5. # mv /usr/lib/emusicdlm/l* /usr/lib/emusicdlm/disabled/
6. # mv libc6/lib/libc-2.3.1.so libc6/lib/libc.so.6 libc6/lib/libnss_compat* /usr/lib/emusicdlm/
Now you should be able to use the emusicdlm script.
If non-Debian users want to try this solution, you can do this instead of step 3:
3a. # ar x libc6_2.3.1-16_i386.deb data.tar.gz
3b. # cd libc6 && tar zxvf ../data.tar.gz
I can't guarantee it will make your DLM work though.
|
|
View |
|
Default
Flat
Outline
|
Newest First
Oldest First
Score
|
Images On
Images Off
|
|
|
Help |
|
hrath
Aug 17, 2003 at 13:25:55 |
Re: Debian unstable and EMusic DLM users, READ THIS
|
Reply |
Hi zigg,
I tried this but unfortunately it didn't seem to be enough. When trying to start emusicdlm an error message
"emusicdlm-bin:
relocation error: /lib/libnss_compat.so.2: symbol
__nss_lookup_function, version GLIBC_PRIVATE not defined in file
libc.so.6 with link time reference"
came up. I tried to download
a libnss replacement from the same Debian repository and install as
well but it didn't make a difference. Oh well good thing that there are
other alternatives besides the crappy EmusicDLM... ;-)
BTW, for
all 3rd party software installations on a RedHat/Debian machine the
excellent tool called "checkinstall" is wonderful. It will track the
installation and create a standard Debian package that can be cleanly
uninstalled with "dpkg -r". Highly recommended.
regards,
Heiko
|
zigg
Aug 19, 2003 at 15:57:40 |
Re: Re: Debian unstable and EMusic DLM users, READ THIS
|
Reply |
I tried this but unfortunately it didn't seem to be enough. When trying to start emusicdlm an error message
"emusicdlm-bin:
relocation error: /lib/libnss_compat.so.2: symbol
__nss_lookup_function, version GLIBC_PRIVATE not defined in file
libc.so.6 with link time reference"
came up. I tried to download
a libnss replacement from the same Debian repository and install as
well but it didn't make a difference. Oh well good thing that there are
other alternatives besides the crappy EmusicDLM... ;-)
Yeah,
libc6 2.3.2-3 broke my earlier solution, I see... putting
libnss_compat* from the same libc6 into /usr/lib/emusicdlm fixes this.
BTW,
for all 3rd party software installations on a RedHat/Debian machine the
excellent tool called "checkinstall" is wonderful. It will track the
installation and create a standard Debian package that can be cleanly
uninstalled with "dpkg -r". Highly recommended.
Wasn't aware of that. Thanks for the pointer.
|
original2342
Aug 20, 2003 at 14:45:43 |
Re: Debian unstable and EMusic DLM users, READ THIS
|
Reply |
Another workaround that's still working for me (I use Debian unstable, and I just updated to make sure it's still working) is to use an http proxy. (It's the DNS lookups that are causing trouble, and using an http proxy moves the DNS lookups from the broken DLM to the non-broken http proxy.)
The following instructions should work for Debian unstable users (do steps 1, 2, 3 as root):
1. I installed the "tinyproxy" package: # apt-get install tinyproxy (This is in Debian stable, as well. I chose tinyproxy because it's lightweight. If you prefer something else, go for it.)
2. I edited /etc/tinyproxy/tinyproxy.conf, adding the line Listen 127.0.0.1 This
makes sure that the proxy only allows connections on the loopback
device. This is just for security reasons. (If you don't have a
loopback device, then skip this step. Frankly, though, only housewives
and schoolgirls don't have a loopback device in their kernel, and
housewives and schoolgirls shouldn't be running Debian unstable.)
3. I ran "/etc/init.d/tinyproxy restart" to put the change from step 2 into effect.
4. In the Emusic DLM,
under Network Preferences, I put 127.0.0.1 as the http proxy, and 8888
as the port number. (Look at /etc/tinyproxy/tinyproxy.conf to figure
out the port number; chances are it's 8888 on your machine too. If you
don't have a loopback device, then put your IP address in place of
127.0.0.1.)
5. I became a total junkie.
I found this
simpler than the library switch trick. If you're patient enough for the
library switch trick, that's probably a more robust solution, because
further changes to glibc could cause further shittage in the DLM.
Chris
|
birdsong
Aug 20, 2003 at 17:06:16 |
Re: Debian unstable and EMusic DLM users, READ THIS
|
Reply |
I *knew* it. I remember seeing libc upgrade during
one my last apt-gets, and then emusicdlm broke (well, I noticed a few
days later). emusicdlm-bin used to run on its own fine... now it
segfaults, go figure. This would not be a problem if emusic would open
source the client. That would solve several problems: library
inconsistancies, the fact that I can't
run the client on my laptop because I run Linux PPC on it, and it would
facilitate porting emusicdlm to GTK+ 2.0. Thanks for the heads up
though, I'm going to attempt to use your fix.
|
zigg
Aug 21, 2003 at 04:53:02 |
Re: Re: Debian unstable and EMusic DLM users, READ THIS
|
Reply |
The only problem with this solution (I had a proxy
myself when 2.0.0 came out and the servers were dying) is that it's not
going to solve the library issue. I've seen the libraries fail in two
ways:
1. The DLM would entirely refuse to start.
2. The DLM
would start but claim connection failures repeatedly without actually
generating any network traffic (sniffed it just to be sure).
While I don't debate the usefulness of a proxy in times of network instability, since the DLM's
robustness in face of that leaves something to be desired, it doesn't
help here. Unless, of course, I'm just talking out of my ass again...
:-)
|
zigg
Aug 21, 2003 at 05:05:36 |
Re: Re: Debian unstable and EMusic DLM users, READ THIS
|
Reply |
Yeah, giving source out would be ideal, but it
ain't gonna happen. Realistically, I suspect EMusic had to do something
to keep payouts to artists/labels high enough to keep them from bolting
and to attract new, and I have little doubt the mass downloaders were
part of the problem there. I know for every pure server-side solution I
can think of, there are a bunch of little problems, both technical and
contractual, that make that solution unworkable or at least extremely
difficult. I believe at the end of the day, someone had to weigh all
the options, and the DLM
with the 45-track limit turned out to be the solution that kept them
able to keep us all on at $9.95 a month and getting cool music.
I
am certainly the kind of person who thinks that software that comes
without source is devalued greatly; and software that comes with source
that cannot be shared is devalued less, but devalued nonetheless. But
then again, Linux has since day one had to work with proprietary,
closed hardware and software, and probably always will. This isn't much
different, in my view.
|
the baumer
Aug 22, 2003 at 15:15:02 |
Re: Debian unstable and EMusic DLM users, READ THIS
|
Reply |
thank you! that has got emusicdlm working again .
good luck getting this posted on the news page, that would look pretty
bad for emusic, i am sure they don't want that. is there anyway to
rename this thread? having "linux" in the title would really help. i
just searched for "debian" as a last ditch effort. again, thanks for
the fix, you saved me from going the "evil" wget route .
|
zigg
Sep 07, 2003 at 06:02:17 |
Re: Re: Debian unstable and EMusic DLM users, READ THIS
|
Reply |
No way that I know of to do that. I named the
thread "Debian" because, well, every time I made a suggestion for other
distros' users back when I started using the DLM, it never worked for anyone ;-) Ah, well.
Glad I could help out.
|
Back to Top |