Re: qhull external symbols clash

"Sam Gillingham" <[email protected]>
Newsgroups gmane.comp.python.scientific.devel
Message-ID <[email protected]>
Ralf,

You are right about 1.10.0 - I was using the conda build which still uses distutils. I'm on Ubuntu 22.04.

I just created a little C project which exercises the local symbols functionality: https://github.com/gillins/symbols_check
For me (on Linux) it seemed to confirm whichever symbol gets loaded first is used - unless it marked 'local' in case it only seen by the library that uses it internally (whatever the order of loading). Can you confirm this is as you expect?

So it seems that OSX also supports this but it is not implemented in SciPy? Seems that -exported_symbols_list on OSX supports wildcards (https://www.unix.com/man-page/osx/1/ld/). Would this be a good solution for OSX as it will work for all vendored libs, plus make importing new versions of these vendored libs easier (no effort mangling names as in the GDAL link above etc)? Unfortunately, I no longer have access to an OSX machine, so probably not much help here in testing.

If anyone is reading this and has access to an OSX machine I'd appreciate hearing how https://github.com/gillins/symbols_check works (see OSX instructions in the README) to build and run the programs. Unfortunately this is untested so I've probably got something simple wrong...

Interested in your thoughts,
Sam.
_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.