| 136 |
// precious verbose debugging, sadly we can't use our |
// precious verbose debugging, sadly we can't use our |
| 137 |
// 'llinfos' stream etc. this early in the initialisation seq. |
// 'llinfos' stream etc. this early in the initialisation seq. |
| 138 |
char errbuf[256]; |
char errbuf[256]; |
| 139 |
fprintf(stderr, "failed to load syms from DSO %s (%s)\n", |
FILE *f = fopen("loadkdu.log", "w"); |
| 140 |
|
if (f) { |
| 141 |
|
fprintf(f, "failed to load syms from DSO %s (%s)\n", |
| 142 |
dso_name.c_str(), dso_path.c_str()); |
dso_name.c_str(), dso_path.c_str()); |
| 143 |
apr_strerror(rv, errbuf, sizeof(errbuf)); |
apr_strerror(rv, errbuf, sizeof(errbuf)); |
| 144 |
fprintf(stderr, "error: %d, %s\n", rv, errbuf); |
fprintf(f, "error: %d, %s\n", rv, errbuf); |
| 145 |
apr_dso_error(j2cimpl_dso_handle, errbuf, sizeof(errbuf)); |
apr_dso_error(j2cimpl_dso_handle, errbuf, sizeof(errbuf)); |
| 146 |
fprintf(stderr, "dso-error: %d, %s\n", rv, errbuf); |
fprintf(f, "dso-error: %d, %s\n", rv, errbuf); |
| 147 |
|
fclose(f); |
| 148 |
|
} |
| 149 |
|
exit(55); |
| 150 |
#endif |
#endif |
| 151 |
|
|
| 152 |
if ( j2cimpl_dso_handle ) |
if ( j2cimpl_dso_handle ) |