Coder Social home page Coder Social logo

ssl.so build incorrectly about linkchecker HOT 6 CLOSED

wummel avatar wummel commented on August 24, 2024
ssl.so build incorrectly

from linkchecker.

Comments (6)

wummel avatar wummel commented on August 24, 2024

Submitted by calvin

Did you try the newest CVS snapshot of the Distutils?
The snapshot has several bugs fixed.

from linkchecker.

wummel avatar wummel commented on August 24, 2024

Submitted by stinnux

Just tried it. Doesn't make a change.

from linkchecker.

wummel avatar wummel commented on August 24, 2024

Submitted by calvin

You do not need libcrypt or libssl when building the
shared library. You only need header files.
Here is the I get when running build_ext:
>./setup.py build_ext
gcc -c -I/usr/include/openssl -I/usr/include/python1.5 -g -O2 -fPIC ssl.c -o build/temp.linux2-i686/ssl.o
gcc -shared -lc build/temp.linux2-i686/ssl.o -o build/lib.linux2-i686/ssl.so

If your SSL header files are somewhere else than in /usr/include/openssl, for example in /usr/local/include/openssl, you have to run
./setup.py build_ext -I/usr/local/include/openssl

If you still have problems running the build_ext command, please provide the output of the command.

from linkchecker.

wummel avatar wummel commented on August 24, 2024

Submitted by stinnux

I tried the following:

./setup.py build_ext -I /usr/local/ssl/include/openssl/ running build_ext building 'ssl' extension gcc -c -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include/openssl/ -I/usr/local/include/python1.5 -g -O2 -fpic ssl.c -o build/temp.linux2-i686/ssl.o gcc -shared build/temp.linux2-i686/ssl.o -o build/lib.linux2-i686/ssl.so

I get an ssl.so build, but when i try to use it i get:

>>> import ssl
Traceback (innermost last):
File "<stdin>", line 1, in ?
ImportError: ./ssl.so: undefined symbol: SSL_set_fd

ldd ssl.so gives:
libc.so.6 => /lib/libc.so.6 (0x4000b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

Shouldn't that include the shared libs ?

from linkchecker.

wummel avatar wummel commented on August 24, 2024

Submitted by calvin

You can write bugs with setup.py to the Distutils
mailing list [email protected].

from linkchecker.

wummel avatar wummel commented on August 24, 2024

Submitted by calvin

You can write bugs with setup.py to the Distutils
mailing list [email protected].

from linkchecker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.