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