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@xxxxxxxxxxxxx mailing list =
Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.