Create Statically linked python library

2023-05-21 Thread Guenther Sohler
Right now my application links python dynamically. That means ldd will show something like libpython3.11.so.1.0 => /lib64/libpython3.11.so.1.0 (0x7fd63c60) but i dont like this dependency. ii want to link in python statically. I'd like to get a file like libpython3.11.a or similar. For t

Re: Building a statically linked Python, and pip

2019-05-08 Thread Skip Montanaro
> > I need to build a statically linked Python that has pip. > > What a curious thing to need. In the old days that was the only way to build Python. I guess we were just more curious back then. :-) To the OP, as Thomas pointed out, you're going to have to identify all the exte

Re: Building a statically linked Python, and pip

2019-05-08 Thread Thomas Jollans
On 08/05/2019 03:18, Simon Michnowicz via Python-list wrote: > Dear Group, > I need to build a statically linked Python that has pip. What a curious thing to need. > I built a version following the instructions at > https://wiki.python.org/moin/BuildStatically > but pip was not

Building a statically linked Python, and pip

2019-05-07 Thread Simon Michnowicz via Python-list
Dear Group, I need to build a statically linked Python that has pip. I built a version following the instructions at https://wiki.python.org/moin/BuildStatically but pip was not present in the binary directory afterwards. I downloaded get-pip.py but when I tried to install it I get an error

Re: statically linked python

2006-06-19 Thread Serge Orlov
Ralph Butler wrote: > Serge Orlov wrote: > > Ralph Butler wrote: > >> Hi: > >> > >> I have searched the docs and google but have not totally figured > >> out how to accomplish my task: On a linux box, I want to compile > >> and link python so that it uses no shared libraries, but does support > >>

Re: statically linked python

2006-06-17 Thread Ralph Butler
Serge Orlov wrote: > Ralph Butler wrote: >> Hi: >> >> I have searched the docs and google but have not totally figured >> out how to accomplish my task: On a linux box, I want to compile >> and link python so that it uses no shared libraries, but does support >> import of some "extra" modules. I

Re: statically linked python

2006-06-17 Thread Serge Orlov
Ralph Butler wrote: > Hi: > > I have searched the docs and google but have not totally figured > out how to accomplish my task: On a linux box, I want to compile > and link python so that it uses no shared libraries, but does support > import of some "extra" modules. I have made a few attempts bu

statically linked python

2006-06-17 Thread Ralph Butler
Hi: I have searched the docs and google but have not totally figured out how to accomplish my task: On a linux box, I want to compile and link python so that it uses no shared libraries, but does support import of some "extra" modules. I have made a few attempts but with limited success. In par