Questions tagged [software-collections]
For questions using or packaging software collections (SCLs).
47
questions
-1
votes
1
answer
337
views
Yum Installation fails - "Could not resolve host: elgis.argeo.org; Unknown error"
Receiving following error when attempting to install :
yum install centos-release-scl
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
*nux-dextop: mirror.li.nux.ro
...
0
votes
1
answer
88
views
multiple instances of httpd24 RHSCL
I need to create a second apache instance (same version) on Redhat 7.9. The reason for this is that I want to create a second development environment where apache restart will not affect the other ...
1
vote
1
answer
2k
views
pyexpat.cpython-35m-x86_64-linux-gnu.so: undefined symbol: XML_SetHashSalt
I am seeing same following error when I try to run the following:
pip
virtualenv
Looks like Python3.5 is installed using softwarecollections. I dont have root access and using service account.
bash-4....
0
votes
2
answers
756
views
How to disable a php module without phpdismod?
I am using Nginx 1.16.1 with rh-php73/rh-php73-php-fpm-7.3 on Centos 7.8.
I can't find how to disable a PHP module, can someone help me?
0
votes
2
answers
513
views
Running dotnet through cron on RedHat fails
We have a dotnet core script we use to index some files. We leverage RedHat Software Collection so items like dotnet can tie into our RHEL setup.
To run the script, we do the following:
source ...
1
vote
3
answers
5k
views
How to use scl command as a script shebang?
If I want to run a specific command (with arguments) under Software Collections, I can use this command:
scl enable python27 "ls /tmp"
However, if I try to make a shell script that has a similar ...
0
votes
1
answer
663
views
How do I automatically start a node/express app (with pm2), having node installed using software collections (scl), on CentOS7
1. Summarize the problem
I would like for a node/express app.js to listen on a port 3000, on container startup.
I created a CentOS 7 Docker container, installed the software collections (SCL) repo, ...
0
votes
1
answer
4k
views
How to replace a standard httpd package with httpd24-httpd from Software Collections?
I am setting up a CentOS 7 server as the migration target of my old CentOS 6 server.
With the state of system updates being so slow, I was thinking of using a more reactive or up-to-date repository ...
1
vote
1
answer
1k
views
boost log library missing in CentOS 7 Base Repo
I'm learning to use boost log and i'm using centOs7 environment.
I installed boost-devel package on CentOS7 and yum downloaded it from CentOS7 Base Repo. After installation i inspected and found ...
1
vote
0
answers
92
views
PHP 7.2 not being updated from vulnerable 7.2.10?
The version of PHP 7.2 in the current Software Collection (version 3.2) is 7.2.10, which has a number of security vulnerabilities. From the release notes for upcoming version 3.3, it appears that SCL ...
2
votes
2
answers
3k
views
How can I make Python3.6, Red Hat Software Collection, persist after a reboot/logout/login?
I am trying to enable rh-python36 software collection after reboot So I can avoid calling "scl enable" all the time.
After unzipping and installing the package:
yum install -y tmp/rpms/*
I created ...
1
vote
0
answers
177
views
SCL Centos nodejs10 - still "secure/up-to-date"
I need to install nodejs10 on a CentOS 7 box - so I tried using SCL to achieve this goal:
#yum install centos-release-scl-rh
#yum install rh-nodejs10
#scl enable rh-nodejs10 bash
#node -v
v10.10.0
...
19
votes
3
answers
50k
views
How to install GCC/G++ 8 on CentOS
I'm used to install packages on Debian/Ubuntu distributions, but now I need to install gcc and g++ version 8.*. There is only version 4.* in CentOS repositories. What's the correct way to install them ...
1
vote
0
answers
51
views
software collections building a perl526 program
I'm looking to see if there is a best practice for building a perl526 program using scl perl526.
I'll be using git clone to pull the source code in, and then building it with scl rh-perl526 enable ...
1
vote
1
answer
116
views
how to build scl, example are old and rpmlint contradict the documentation?
I read the official documentation, some examples on github and on atomicorp . But I am still confused!
Should have to make 2 specs? One to build the tools and another one for a metapackage?
If yes ...
0
votes
1
answer
266
views
using SCL in the command call for Ruby script
My employer has Ruby 1.8.7 in the /usr/bin/ruby, and allows the usage of Ruby 2.4 only via SCL (sofoware collections).
Which means that when I run ruby, I need to use (from the RH6 shell) scl enablde ...
0
votes
1
answer
198
views
SSH2 for PHP from Software Collections
I've installed PHP 7.1 from Software Collections and running on rh-php71-php-fpm.
Now i need to use ssh2 to connect to my SFTP, it doesn't come with the Software Collection one. How do i go about ...
2
votes
3
answers
4k
views
Install Obsolete Devtoolset Collection for CentOS
At present time Devtoolset-5 (and earlier) cannot be istalled from Software Collection Repository (centos-release-scl) using yum (only Devtoolset-6 and 7 are available). Nevertheless, this collection ...
1
vote
0
answers
299
views
Centos 6: Software Collections don't install correctly
On centos 6 (using Docker's centos:6), I've installed centos-release-scl and scl-utils-build via yum, but trying to run scl gives
bash: scl: command not found
find / -name scl returns nothing, so ...
0
votes
1
answer
1k
views
How to get celery to work with SCL python and systemd?
I am having a Python application that uses celery for background tasks. I use Python interpreter provided by SCL.
I was able to create a systemd unit file for teh app: How to use user's pipenv ...
2
votes
1
answer
4k
views
How to use user's pipenv via systemd? Python is installed via SCL
On a CentOS 7 server, I have installed Python 3.6 via SCL. ( https://www.softwarecollections.org/en/scls/rhscl/rh-python36/)
I have this line in .bashrc to enable SCL's Python 3.6
source scl_source ...
4
votes
1
answer
4k
views
scl enable rh-mariadb102 bash doesn't work with Ansible playbook
I'm new to stackoverflow... It seems to be a pretty good place to share knowledge and to find solution with a very interesting community.
I've a problem with Ansble and the "scl" "mysql_install_dir" ...
8
votes
1
answer
5k
views
devtoolset-6 is using system libstdc++ and can't link
I have a 3rd party library compiled with gcc6 that I need to link against. So I've un-installed the standard GCC packages and installed the Software Collections devtoolset-6 package (Centos 7.4)
$ g+...
1
vote
1
answer
269
views
Are the SCL repos of PHP kept up to date?
I noticed that the SCL version of PHP is still at 7.1.8 while the latest PHP 7.1 version is 7.1.15.
This is the collection's site: https://www.softwarecollections.org/en/scls/rhscl/rh-php71/
And ...
12
votes
1
answer
5k
views
(How) Can I use the new C++ 11 ABI with devtoolset-7 on Centos/RHEL?
My goal is to use gcc 7.2 (and clang 6) on Centos 7 to build executables compatible with Centos 7 targets without devtoolset installed but * using the newer C++ ABI *.
The newer ABI fixed a couple of ...
1
vote
1
answer
246
views
How can I replace a given -Ldir1 by -Ldir2, in a linking command line generated by cmake
I have a CMakeLists.txt.
I use it for generating a makefile with ccmake.
Then upon make, my sources are compiled ok.
At link time, the command line produced is essentially
/opt/rh/devtoolset-6/root/...
1
vote
1
answer
232
views
How can I install SCL on Oracle Linux 6?
I would like to use the SCLs, but cannot find a way to install the release file. Is it possible to install SCL on Oracle Linux 6 and, if so, how?
0
votes
1
answer
193
views
Configure openldap CentOS 6.5 PHP --with-ldap failing
I am using and trying to configure the below things:
CentOS 6.5
Apache 2.4
PHP 5.6 --with-ldap
Found an error ldap not found.
yum list installed | grep openldap
shows openldap installed:
openldap....
0
votes
1
answer
1k
views
Configuring apache 2.4 with php 5.6.32 configuring with source in linux
I have installed httpd 2.4, downloaded .tar.gz and configured as:
./configure --with-apr=/tmp/apr-1.6.3 --with-apr-util=/tmp/apr-util-1.6.1 --enable-so && make && make install (my apr ...
0
votes
1
answer
2k
views
Apache installation with mod_fcgi for httpd24 centos 6.9
I have installed php and apache in my centos 6.9 for apache version 2.4 and php version 5.6 as below:
yum install epel-release
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum ...
0
votes
1
answer
78
views
Missing yarn in software-collections
Yarn is currently the newest package management system for JavaScript, and also the default for Rails 5.1.
Has it been considered to be included in software collections?
1
vote
1
answer
2k
views
Sourcing Software Collections (SCL ) on Jenkins
My intention is to source devtoolset-4 on Jenkins and for all users. So, if I login to the VM which hosts Jenkins and do source /opt/rh/devtoolset-4/enable from the command line, all works fine.
So, ...
1
vote
0
answers
494
views
RHEL 6 SCL script not sourcing for normal user
I'm using devtoolset-2 on a rhel 6.9 installation so I can use the gcc 4.8 version that devtoolset-2 offers. On a previous rhel 6.2 installation (on a VM) I was able to enable devtoolset-2's gcc by ...
-1
votes
1
answer
6k
views
'scl enable' not setting PATH with bash
I'm trying to use software collections on CentOS 6.8 server, but it won't set the environment variable PATH corectly if the command passed is "bash", but "tcsh" works... (however we don't use tcsh on ...
1
vote
1
answer
756
views
Eclipse CDT installed via devtoolset-4 on CentOS 7 is using the wrong version of gcc/g++
I installed the devtoolset-4 software collection on a CentOS 7 machine that I'm using for development. This software collection includes the compiler I want to use, g++ 5.2.1, as well as Eclipse CDT ...
0
votes
1
answer
175
views
Seeding sclorg/mariadb container
I'm using the SoftwareCollections MariaDB container and I can't seem to find a way to initialize the database with some users and data.
The official mariadb container provides the very handy /docker-...
1
vote
1
answer
2k
views
Package Verification Keys for CentOS SCL RPMs
This is probably a silly question, but...
Our security folks prefer that we enable GPG-checking for all RPMs to be installed. We've recently started using packages from the CentOS.Org packaging of ...
5
votes
2
answers
6k
views
How do I enable python35 from Software Collections at login?
I followed the Software Collections Quick Start and I now have Python 3.5 installed. How can I make it always enabled in my ~/.bashrc, so that I do not have to enable it manually with scl enable rh-...
1
vote
0
answers
707
views
Upgrading Python package in Redhat Software Collections (RHSCL)
I'm using SCL to manage different versions of Python on a machine, but I'm having trouble updating and installing packages at the SCL level.
I am trying to upgrade pip. First I tried
scl enable ...
0
votes
1
answer
454
views
How to build apache module for httpd24-httpd from Software collections in RH/Fedora
I am trying to build an apache module for SCL apache version
(httpd24-httpd) . I have located documentation on how to proceed with
building SCL package from scratch, however I didn't come across any
...
0
votes
1
answer
93
views
Is it allowed to sync and distribute specific Software Collections repositories?
I have several contiguous questions regarding the possibility of Software Collections repositories distribution:
Is it allowed to sync, sign with a PGP key and distribute specific Software ...
10
votes
3
answers
18k
views
How to force httpd to use rh-php56 from red hat software collections
Anyone have any luck with making httpd use rh-php56 from the Red Hat Software Collections?
I see documentation on how to enable the newer version of php at the CLI...but not for making Apache use ...
1
vote
2
answers
3k
views
How to control ruby-devel presence in a Software Collections environment
I'm currently trying to build a Ruby app on a Centos 6.6 machine. There are different Ruby stacks installed through Software Collections. Please not that I do not have root on the machine, and my ...
1
vote
0
answers
296
views
Issues creating a Dependent Software Collection with a Differing Provider
OK, so in the interests of full disclosure, building RPMs, including Software Collections isn't really my day job, so apologies if I'm missing an obvious trick.
My goal is to create a Software ...
-2
votes
2
answers
237
views
The release cycle of Software Collections?
I'm looking for information regarding Software Collections 2
Is there a release date for version 2?
Will httpd24 also be part of version 2?
22
votes
3
answers
15k
views
Permanently enable RHEL scl
Is there a way to permanently enable custom Software Collections for RedHat?
I have installed an scl to provide python27 in RHEL6 and don't want to have to enable the custom scl every time.
29
votes
6
answers
36k
views
scl enable python27 bash
I've hit a snag with a shell script intended to run every 30 minutes in cron on a Redhat 6 server. The shell script is basically just a command to run a python script.
The native version python on ...