Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Python not linked to mod_python.so issue #86

Closed
wants to merge 1 commit into from

Conversation

rohan-97
Copy link

With this fix, MakeFile in src directory is created with correct python linkers

before this fix,

# ldd ./src/mod_python.so
        linux-vdso.so.1 (0x00007fff9c7ad000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fddbd36b000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fddbd167000)
        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fddbcf64000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fddbcbc5000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fddbd7b0000)

after this fix

# ldd ./src/mod_python.so
        linux-vdso.so.1 (0x00007ffd85701000)
        libpython3.5m.so.1.0 => /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0 (0x00007f34ee23c000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f34ee01f000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f34ede1b000)
        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f34edc18000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f34ed879000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f34ed64f000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f34ed435000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f34ed131000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f34eeaf3000)

@ewah
Copy link

ewah commented Feb 11, 2020

#81 (comment)

Copy link

@ajarzyn ajarzyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirm fix works for me.

But I would like to revert this approve as I 've noticed comment from ewah.
I would like to present my own solution: #90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants