Stream: helpdesk (published)

Topic: Library reload


view this post on Zulip Daniel Menéndez (May 23 2021 at 16:54):

Can a dynamic library be reloaded without restarting Julia?

view this post on Zulip Jameson Nash (May 24 2021 at 01:32):

You can try dlclose , but C programs/libraries/compilers are often not good at it, so YMMV

view this post on Zulip Daniel Menéndez (May 24 2021 at 05:55):

In my case it does not work, dlopen -> dlclose -> dlopen returns the same pointer again and again. Thanks!

view this post on Zulip Daniel Menéndez (May 24 2021 at 09:28):

I forgot to mention that it is a C library compiled with rustc. I guess your argument applies as well.


Last updated: Nov 06 2024 at 04:40 UTC