n");
lt_dlclose (handle);
}
else
{
printf (lt_dlerror ());
printf ("\n");
}
return 0;
}
This program fails with error message: file not found. What am I doing
wrong? The command line is:
$ gcc -l ltdl -o dlopen dlopen.c
$ LD_LIBRARY_PATH=/opt/gneura
ig at
/etc/ld.so.conf.d/gneuralnetwork.conf (I'm on Parabola):
/opt/gneural/lib
But I'm out of luck. Do you have any other hints?
On 01.05.2016 16:05, Robert Boehne wrote:
The string you pass to Lt_dlopen should not contain the "lib" prefix.
On May 1, 2016 7:12 AM, &q
On 01.05.2016 21:00, Mike Frysinger wrote:
On 01 May 2016 09:18, Robert Boehne wrote:
Run it under gdb and see why it doesn't find the library.
or use strace -- that'll show quickly all the files/paths that the
program is trying to use
-mike
thanks, I underestimated strace until now. I execute
On 02.05.2016 01:23, Robert Boehne wrote:
I'd guess that the 2nd file not found error is a library that gneural
depends on.
Also, you may want to build your library with -module, as that seems
consistent with your use case.
Hth,
Robert
Hi,
sifting through the massive output of LD_DEBUG