No, this is a simple test program that only invoke a printf-like in my lib. No things run, here the sample snippet:
#include <stdio.h>
#include <stdlib.h>
#include <dlfcn.h>
void* FunctionLib;
void (*FUNCTION)(void);
const char *dlError;
int main(int argc, char* arcgv[]) {
int rc...
Note. I run gdb, here the output:
$ gdb test core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the...
I am writing a program to dynamic call a shared lib routine. I got core dump when dlopen is executed. I am running on Solaris 2.8 SUN-Fire-480R. Any help would be appreciated.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.