View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000320 | OpenFOAM | Bug | public | 2011-10-21 20:16 | 2011-10-24 21:19 |
Reporter | Assigned To | ||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | OpenSuse | OS Version | 11.1 |
Summary | 0000320: missing dlerror | ||||
Description | In OSspecific/POSIX.C, the dlOpen method invokes ::dlopen. It would be really helpful if it subsequently checked and echoed any error reported by ::dlerror(). Otherwise, OpenFOAM reported the library failed to load, but I was left wondering why. e.g., // find error (if any) Info << "Checking for error" << endl; char *error = ::dlerror(); if (error) { WarningIn("dlOpen(const fileName&)") << "dlopen error : " << error << endl; } | ||||
Steps To Reproduce | In my case, I added a library using libs( "mylib.so" ) in controlDict but really needed to add two libraries; e.g. libs ( "libRequired.so" "mylib.so"). | ||||
Additional Information | I'm running 2.0.x commit d2af2c500, but it doesn't look like this aspect has changed. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-10-21 20:16 |
|
New Issue | |
2011-10-24 21:19 |
|
Note Added: 0000748 | |
2011-10-24 21:19 |
|
Status | new => resolved |
2011-10-24 21:19 |
|
Fixed in Version | => 2.0.x |
2011-10-24 21:19 |
|
Resolution | open => fixed |
2011-10-24 21:19 |
|
Assigned To | => user4 |