:: [DNG] ..alsa+apulse and torbrowser.…
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Arnt Karlsen
Ημερομηνία:  
Προς: dng
Αντικείμενο: [DNG] ..alsa+apulse and torbrowser... rpath is /usr/lib/apulse and is too long???
Hi,


..we've heard of firefox dropping alsa etc for pulseaudio on behalf of
the Tor/torbrowser people or the systemd people and since pulseaudio
tried a "government shutdown", on _my_ iron, I did to pulseaudio what
you yanks should try on your own putinist regime, a Great Purge with
Stalinist Firmness. ;o)


..I have alsa up fine on chromium and firefox-esr, but not on the
torbrowser.


..my per-app RPATH recipe from https://github.com/i-rinat/apulse still
fails on torbrowser: cd \
~/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/ \
&&patchelf --debug --set-rpath /usr/lib/x86_64-linux-gnu/apulse \
libxul.so
patching ELF file `libxul.so'
Kernel page size is 4096 bytes
new rpath is `/usr/lib/x86_64-linux-gnu/apulse'
rpath is too long, resizing...
DT_NULL index is 68
replacing section `.dynamic' with size 1232
replacing section `.dynstr' with size 117094
this is a dynamic library
last page is 0x63bf000
needed space is 119056
rewriting section `.dynamic' from offset 0x5bbb2a0 (size 1216) to
offset 0x5bd92d8 (size 1232)
rewriting section `.dynstr' from offset0x5bbb760 (size 117061) to
offset 0x5bd97a8 (size 117094)
rewriting symbol table section 2


..next step was as root:~# ln -sv /usr/lib/x86_64-linux-gnu/apulse \
/usr/lib/apulse and ~# patchelf --debug --remove-rpath \
/home/arnt/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/libxul.so
patching ELF file
`/home/arnt/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/libxul.so'
Kernel page size is 4096 bytes
removing DT_RUNPATH entry

...and retry ~$ cd \
~/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/Browser/ \
&&patchelf --debug --set-rpath /usr/lib/apulse libxul.so
patching ELF file `libxul.so' Kernel page size is 4096 bytes
new rpath is `/usr/lib/apulse'
rpath is too long, resizing...
DT_NULL index is 68
replacing section `.dynamic' with size 1248
replacing section `.dynstr' with size 117110
this is a dynamic library
last page is 0x63dd000
needed space is 119144
rewriting section `.dynamic' from offset 0x5bd92d8 (size 1232) to
offset 0x5bf7310 (size 1248)
rewriting section `.dynstr' from offset 0x5bd97a8 (size 117094) to
offset 0x5bf77f0 (size 117110)
rewriting symbol table section 2



..next step was get apulse-dbgsym and try read up on how to do things
down /usr/share/doc/apulse-dbgsym/, which turned out rather empty...
How do I use apulse-dbgsym?

--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.