Skip to content

Fixing Python not linked to mod_python.so issue#86

Closed
rohan-97 wants to merge 1 commit into
grisha:masterfrom
rohan-97:issue#85
Closed

Fixing Python not linked to mod_python.so issue#86
rohan-97 wants to merge 1 commit into
grisha:masterfrom
rohan-97:issue#85

Conversation

@rohan-97

Copy link
Copy Markdown

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

ewah commented Feb 11, 2020

Copy link
Copy Markdown

#81 (comment)

@ajarzyn ajarzyn left a comment

Copy link
Copy Markdown

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.

5 participants