[Fixed] gcc now has package isl as a dependency
[Fixed] gcc now has package isl as a dependency
In a recent gcc update on Slackware-Current,libisl.so.23 became necessary to compile any program with gcc. For full Slackel installations, this is irrelevant, but if you are using a "basic" Slackel installation where you added only the additional packages you need, you have to install isl now. Therefore, I guess the package isl should be added as a dependency for gcc.
By the way, the older libisl.so.22 remains installed, I am not sure if it is still needed or if it's safe to remove it.
By the way, the older libisl.so.22 remains installed, I am not sure if it is still needed or if it's safe to remove it.
Last edited by Papasot on 17 Nov 2020 18:57, edited 2 times in total.
Re: gcc now has package isl as a dependency
Yes. And also all gcc-* packages have isl as a dep. I have created all new deps and upload them on repos.
It is safe to remove the old one.
Thanks.
It is safe to remove the old one.
Thanks.
Re: [Fixed] gcc now has package isl as a dependency
Thank you Dimitri. I wonder where the old libisl.so.22 did come from though, since in my systems isl was not installed before. I am guessing it was part of the old gcc and it somehow remained after upgrading to the new gcc version. I deleted it manually, together with its symbolic link.
Re: [Fixed] gcc now has package isl as a dependency
It is part of aaa_elflibs. If you had deleted it is no harm but since it is part of aaa_elflibs can reinstall aaa_elflibs again to have it. It is included there for backward compatibility.
Re: [Fixed] gcc now has package isl as a dependency
I reinstalled aaa_elflibs but now something weird happens. Sound is always muted on boot. First time I see this and started happening right after reinstalling aaa_elflibs. I tried several ways to restore sound on boot but nothing works. I guess I could set sound volume in ~/.config/openbox/autostart.sh but that would be a patch covering the reason such a problem occurs.
Re: [Fixed] gcc now has package isl as a dependency
I made an upgrade to a HP laptop i also have to the latest slackware current upgrades.
I also reinstalled aaa_elflibs package. Sound is working fine. Then i did a reboot and also sound has no problem.
Run volume control and unmute everything.
Sound is always goes to 46% if this is what you mean.
So if you want to put sound on whatever level on boot do this.
Add these lines in /etc/rc.d/rc.local if they are not exist. Make sure it is executable (755)
Slackel has no tool to mute or umute sound on boot. This has to do with alsa default setting or pulseaudio default setting.
What is the output of these commands in your system
I also reinstalled aaa_elflibs package. Sound is working fine. Then i did a reboot and also sound has no problem.
Run volume control and unmute everything.
Sound is always goes to 46% if this is what you mean.
So if you want to put sound on whatever level on boot do this.
Add these lines in /etc/rc.d/rc.local if they are not exist. Make sure it is executable (755)
Code: Select all
rfkill unblock all
amixer set Master 75% unmute
amixer set Headphone 100% unmute
amixer set Speaker 100% unmute
amixer set PCM 100% unmute
What is the output of these commands in your system
Code: Select all
cat /etc/rc.d/rc.local
Code: Select all
cat /etc/asound.conf
Re: [Fixed] gcc now has package isl as a dependency
It is weird indeed. And happened right after reinstalling aaa_elflibs. I can unmute the sound with Volume Control (and it works as usual), but after reboot or cold turn on, it is muted again. I tried alsamixer too, same result.
Code: Select all
pap[~]$ cat /etc/rc.d/rc.local
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
rfkill unblock all
#amixer set Master 75% unmute
#amixer set Headphone 100% unmute
#amixer set Speaker 100% unmute
#amixer set PCM 100% unmute
#nm-applet
#rfkill unblock all
#[ -x /etc/rc.d/rc.espeakup ] && /etc/rc.d/rc.espeakup start
#su --login djemos -c '/bin/bash -l -c startx &> /dev/null' &
Code: Select all
pap[~]$ cat /etc/asound.conf
# ALSA system-wide config file
# By default, redirect to PulseAudio:
pcm.default pulse
ctl.default pulse
Re: [Fixed] gcc now has package isl as a dependency
So uncomment these lines in /et/rc.d/rc.local
And can set master from 75% to 100%
Then
Then on every boot sound level always be 100% or 75% or whatever you put there.
Code: Select all
amixer set Master 75% unmute
amixer set Headphone 100% unmute
amixer set Speaker 100% unmute
amixer set PCM 100% unmute
Then
Code: Select all
sudo service restart local
Re: [Fixed] gcc now has package isl as a dependency
By the moment I saw those lines in /etc/rc.d/rc.local I thought this might be the solution (although I don't see how reinstalling aaa_elfibs commented them). However, uncommenting those lines doesn't solve the issue. With service restart the sound is unmuted temporarily. But every time I reboot the sound is muted again. In addition, I see this on startup:djemos wrote:So uncomment these lines in /et/rc.d/rc.localAnd can set master from 75% to 100%Code: Select all
amixer set Master 75% unmute amixer set Headphone 100% unmute amixer set Speaker 100% unmute amixer set PCM 100% unmute
ThenThen on every boot sound level always be 100% or 75% or whatever you put there.Code: Select all
sudo service restart local
Code: Select all
amixer: Unable to find simple control 'Headphone',0
amixer: Unable to find simple control 'Speaker',0
amixer: Unable to find simple control 'PCM',0
I keep mentioning aaa_elflibs because once I reinstalled this package, I rebooted the system immediately - and then the problem started to appear.
Re: [Fixed] gcc now has package isl as a dependency
I looked at alsa config and i have remembered why i have commented the lines in /etc/rc.d/rc.local because that not default to all sound cards. So comment these lines again and save the file.
Run alsamixerin a terminal and set your volume for all devices as you like can do the same with volume control but using alsamixer will see what are the names for your sound system.
then type in the terminal to be sure this file deleted if it exists.
This last command will save the sound settings in /var/lib/alsa/asound.state
Then reboot
And check if sound has your previous settings.
This worked for me.
If this is not working for your system then look at the names in alsamixer and replace the others in /erc/rc.d/rc.local with yours. But i am positive that it will work with the sudo alsactl store will restore settings e.g. if you low the level of speakers in volume control and then run sudo alsactl restore will see the bar to go to where you have it first.
Run alsamixerin a terminal and set your volume for all devices as you like can do the same with volume control but using alsamixer will see what are the names for your sound system.
then type in the terminal
Code: Select all
sudo rm /etc/asound.state
Code: Select all
sudo alsactl store
Then reboot
And check if sound has your previous settings.
This worked for me.
If this is not working for your system then look at the names in alsamixer and replace the others in /erc/rc.d/rc.local with yours. But i am positive that it will work with the sudo alsactl store
Code: Select all
sudo alsactl restore