mirror of
https://github.com/ollama/ollama.git
synced 2025-07-07 18:00:11 +02:00
Switch to local dlopen symbols
This commit is contained in:
@ -59,7 +59,7 @@ void dyn_init(const char *libPath, struct dynamic_llama_server *s,
|
|||||||
};
|
};
|
||||||
|
|
||||||
printf("loading library %s\n", libPath);
|
printf("loading library %s\n", libPath);
|
||||||
s->handle = LOAD_LIBRARY(libPath, RTLD_GLOBAL|RTLD_NOW);
|
s->handle = LOAD_LIBRARY(libPath, RTLD_LOCAL|RTLD_NOW);
|
||||||
if (!s->handle) {
|
if (!s->handle) {
|
||||||
err->id = -1;
|
err->id = -1;
|
||||||
char *msg = LOAD_ERR();
|
char *msg = LOAD_ERR();
|
||||||
|
Reference in New Issue
Block a user