blob: 6349844b448a8223260456961e6b1b747e3b42bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
From: Javier Viguera <javier.viguera@digi.com>
Date: Tue, 21 May 2013 16:52:52 +0200
Subject: [PATCH] Use library's SONAME in dlopen
The 'libmfwba.so' symbolic link is only installed with the development
package, and without that symlink some gstreamer pipelines (mostly using
mfw_isink) fail with:
Can not open dll, libmfwba.so: cannot open shared object file: No such file or directory.
Caught SIGSEGV accessing address (nil)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
---
libs/vss/vss_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/vss/vss_common.c b/libs/vss/vss_common.c
index 757c2fc..2044051 100755
--- a/libs/vss/vss_common.c
+++ b/libs/vss/vss_common.c
@@ -86,7 +86,7 @@ static void * g_dlhandle = NULL;
void open_allocator_dll()
{
char * errstr;
- g_dlhandle = dlopen("libmfwba.so", RTLD_LAZY);
+ g_dlhandle = dlopen("libmfwba.so.0", RTLD_LAZY);
if (!g_dlhandle) {
printf("Can not open dll, %s.\n", dlerror());
|