Re: Static executable with shared modules

2005-01-17 Thread "Martin v. Löwis"
Rickard Lind wrote: I'll be more specific: when I build python 2.3.4 on FreeBSD 4.9, the interpreter binary is linked against three shared libraries: libutil.so.3, libm.so.2 and libc_r.so.4. Now, these libraries are not present on the TARGET system (which is distinct from the build system, but bas

Re: Static executable with shared modules

2005-01-17 Thread Rickard Lind
Martin v. Löwis wrote: > I'm not what "build statically" means; if you talking about > building a statically linked interpreter binary - then no, > this is not possible. At a minimum, you need to link with -ldl, > or else you cannot perform dlopen(3). I'll be more specific: when I build python 2.3.

Re: Static executable with shared modules

2005-01-14 Thread "Martin v. Löwis"
Rickard Lind wrote: Is there any way to build the python executable statically and still be able to load modules built as shared libraries? I'm not what "build statically" means; if you talking about building a statically linked interpreter binary - then no, this is not possible. At a minimum, you

Static executable with shared modules

2005-01-14 Thread Rickard Lind
Is there any way to build the python executable statically and still be able to load modules built as shared libraries? I'm trying to run python scripts on a stripped down FreeBSD (4.9) machine which has no shared system libraries so I want to link it statically against libc et al, but it would be