Ozaki Kiichi wrote:
> Hi.
>
> [Issue]
>
> On Ubuntu, vim isn't able to execute both ':py' and ':py3' at one process.
>
> [Cause]
>
> Configuration process fails checking unnecessity of RTLD_GLOBAL for python.
> ('./configure' with '--pythoninterp=dynamic' and '--python3interp=dynamic')
>
> It prepends '-ldl' to LDFLAGS variable, but Ubuntu's ld linker has
> '--as-needed' as default option,
> so eventually libdl isn't linked due to order of given linker options,
> thus fails to resolve dl* symbol (e.g. dlopen).
>
> [Environment]
>
> * Ubuntu
> * Vim with +python/dyn and +python3/dyn
> * Python2/3 with shared libraries (libpython*.so) installed;
> System default python packages are not applicable since their modules are
> not compatible with dynamic loading.
> Need our own-built python.
>
> [Solution]
>
> I propose prepending '-ldl' to LIBS variable.
> It seems appropriate semantically, too.
>
> https://gist.githubusercontent.com/ichizok/b0be31eaf20864326c3b/raw/781ff4b02d661ac4e74e992a07af4a0fdf315a05/configure.in.patch
I tried it but for me it doesn't make any difference. Still can only
use python 2 or python 3, not both.
--
Facepalm statement #4: "3000 year old graves? That's not possible, it's only
2014!"
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.