OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

What does this python-config option mean? (installing python from a downloaded compressed .tgz folder)

  • Thread starter Thread starter Jacob
  • Start date Start date
J

Jacob

Guest
I am referencing this Medium article, https://medium.com/@lupiel/installing-python-from-a-tgz-file-a-step-by-step-guide-4cf5f4a17a86, and it recommends tagging on the following option to the ./configure script when installing python on linux.

Code:
LDFLAGS=-Wl,-rpath=/opt/python/${PYTHON_VERSION}/lib,--disable-new-dtags

I've looked at the man page for python-configure and it is relatively short. I didn't find anything in python3-config --help either. It tells me that LDFLAGS "print the flags that should be passed to the linker." I read that a linker is a symlink? Regardless, this is the extent of information I've been able to find. I don't understand what the rest does.
<p>I am referencing this Medium article, <a href="https://medium.com/@lupiel/installing-python-from-a-tgz-file-a-step-by-step-guide-4cf5f4a17a86" rel="nofollow noreferrer">https://medium.com/@lupiel/installing-python-from-a-tgz-file-a-step-by-step-guide-4cf5f4a17a86</a>, and it recommends tagging on the following option to the ./configure script when installing python on linux.</p>
<pre><code>LDFLAGS=-Wl,-rpath=/opt/python/${PYTHON_VERSION}/lib,--disable-new-dtags
</code></pre>
<p>I've looked at the man page for python-configure and it is relatively short. I didn't find anything in <code>python3-config --help</code> either. It tells me that <code>LDFLAGS</code> "print the flags that should be passed to the linker." I read that a linker is a symlink? Regardless, this is the extent of information I've been able to find. I don't understand what the rest does.</p>
 
Top