Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
6a042438
Commit
6a042438
authored
Jan 19, 2024
by
Daniel Hiltgen
Browse files
Switch to local dlopen symbols
parent
dc88cc39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llm/dyn_ext_server.c
llm/dyn_ext_server.c
+1
-1
No files found.
llm/dyn_ext_server.c
View file @
6a042438
...
@@ -59,7 +59,7 @@ void dyn_init(const char *libPath, struct dynamic_llama_server *s,
...
@@ -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_
G
LO
B
AL
|
RTLD_NOW
);
s
->
handle
=
LOAD_LIBRARY
(
libPath
,
RTLD_LO
C
AL
|
RTLD_NOW
);
if
(
!
s
->
handle
)
{
if
(
!
s
->
handle
)
{
err
->
id
=
-
1
;
err
->
id
=
-
1
;
char
*
msg
=
LOAD_ERR
();
char
*
msg
=
LOAD_ERR
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment