Re: [Rd] xrealloc namespace conflict

2017-05-12 Thread Patrick Perry
Thanks for the response. It looks like there is a dlopen flag that will fix the issue on Linux (RTLD_DEEPBIND); on Mac OS, symbols get resolved by searching in the library first, so the flag isn't needed. I don't know what the default behavior is on other platforms. See, e.g. https://software.i

Re: [Rd] xrealloc namespace conflict

2017-05-11 Thread Dirk Eddelbuettel
On 11 May 2017 at 12:16, Patrick Perry wrote: | I've done a bit more investigation into this issue. Here is my current | understanding of the situation: | | 1. I have a package on CRAN (corpus-0.3.1) that passes tests on all | platforms except for Linux. | 2. My package defines a C function, "x

Re: [Rd] xrealloc namespace conflict

2017-05-11 Thread Patrick Perry
I've done a bit more investigation into this issue. Here is my current understanding of the situation: 1. I have a package on CRAN (corpus-0.3.1) that passes tests on all platforms except for Linux. 2. My package defines a C function, "xrealloc", for internal use. 3. The libreadline library that