Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2022-07-21 00:48:38

Registered: 2022-02-11
Posts: 3

The Code_Aster automatic installer cannot find the glibc files


I am trying to install Code_Aster on Fedora 36. I have all the prerequisites installed, however the automatic install cannot locate the libpthread.so, libpthread.a, libz.so, and libdl.a files even though I manually set the directories in the setup.cfg file

Below is the script I see when executing the code aster setup.py

How do I make it so that the automatic installer can see the files it's looking for ?

Thank you for any help received.

[agnelo@fedora aster-full-src-14.6.0]$ python setup.py install --prefix=$HOME/aster

Command line :
  /usr/bin/python setup.py install --prefix=/home/agnelo/aster

Reading config file '/home/agnelo/Documents/code-aster/aster-full-src-14.6.0/setup.cfg'...
      ASTER_ROOT (from cfg) : '/opt/aster'
PREFER_COMPILER (from cfg) : 'GNU'
        MAXDEPTH (from cfg) : 10
      USE_LOCATE (from cfg) : False
              CC (from cfg) : '/usr/bin/gcc'
             CXX (from cfg) : '/usr/bin/g++'
             F90 (from cfg) : '/usr/bin/gfortran'
          BINDIR (from cfg) : ['/usr/bin']
          LIBDIR (from cfg) : ['/usr/lib', '/usr/lib64']
      INCLUDEDIR (from cfg) : ['/usr/include']
PREFER_SHARED_LIBS (from cfg) : False

      ASTER_ROOT (from arguments) : /home/agnelo/aster

Installation on :

Kernel  on an  ()

Linux fedora 5.18.11-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 12 22:52:35 UTC 2022 x86_64

Checking for max command length...   32768.0
Checking for file... /usr/bin/file
Checking for ar... /usr/bin/ar
Checking for architecture... Linux / posix / x86_64
Checking for number of processors (core)... 12 (will use: make -j 8)
Checking for Code_Aster platform type... LINUX64
Checking for bash... /usr/bin/bash
Checking for Python version... 3.10.5
Checking for python3.10... no
Checking for libpython3.10.so... /usr/lib64/libpython3.10.so
Checking for Python.h... /usr/include/python3.10/Python.h
Checking for numpy... yes
Checking if /usr/bin/gcc is GCC... yes   GCC version 12.1.1
Checking for /usr/bin/gcc... /usr/bin/gcc
Checking for /usr/bin/gcc configured installation directory... /usr/lib/gcc/x86_64-redhat-linux/12, /usr/bin
Checking for libpthread.so... no
Checking for libpthread.a... no
Checking for libz.so... /usr/lib64/libz.so
Checking for libdl.so... no
Checking for libdl.a... no

Exception raised. See 'setup.log' file for details.
[agnelo@fedora aster-full-src-14.6.0]$