Hi!
Мне тут в comp.lang.python предложили ответ, да только я не нашел в
опциях ld такого ключа...
On Wed, 5 May 1999, Victor B Wagner wrote:
> Насколько я понимаю, проблема в том, что при загрузке библиотека не
> может увидеть некоторые символы, определенные в екзешнике, к которому
> она линкуется. Почему это происходит в ELF-системе - понять не могу.
> > When you link apache, you need to add a command-line switch to export
> > all of it's symbols to be available to loaded shared objects (so the
> > .so's can see python symbols). I think it's -rdynamic or -Bshareable
> > (or something like that, I've been in FreeBSD land for a while. The ld
> > man page will say which it is).
>
> Do you think Solaris does not need it?
Solaris's ld links things this way by default (and as such, gnu ld does
too for compatibility reasons), so it shouldn't need it (although it
might).
Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.
=============================================================================
= Apache-Talk@lists.lexa.ru mailing list =
Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =