I am a Ph. D. student in Billinge group. Recently, we received report about the reallocation error when users are installing the xpdfsuite. The symptom is like:
``Python27/bin/python: relocation error: /home/<user>/xPDFsuite/Python27/bin/../lib/libm.so.6: symbol __get_cpu_features version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference``
It is because that the libm in Python27/lib need libc in linux systme lib and the system lib has a newer version of libc and this caused the the symbol not found error.
Deleting the libm in the Python27/lib and making xPDFsuite use the libm in the system will solve the problem. The steps are shown below:
1. Open a termianl and change the directory to xPDFsuite.
In this example, the path is ``/home/<user>/xPDFsuite``. Please change the path according to where the xPDFsuite folder is on your system.
2. Delete libm.so.6 in the Python27/lib.
3. Run the python installation.
4. Add the alias for xpdfsuite. Use your favorite text editor to open the ``~/.bashrc`` file on your system and add the following line in that file and save the file and reopen the terminal.
Please change the ``/home/<user>/xPDFsuite`` to the path to xPDFsuite on your system.. In this case, we create an alias named "xpdfsuite" and you can run ``xpdfsuite`` in the terminal to open the software. You may also change the name to your favorite name.