View Issue Details

IDProjectCategoryView StatusLast Update
0000320OpenFOAMBugpublic2011-10-24 21:19
Reporteruser233Assigned Touser4 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSOpenSuseOS Version11.1
Summary0000320: missing dlerror
DescriptionIn 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 ReproduceIn 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 InformationI'm running 2.0.x commit d2af2c500, but it doesn't look like this aspect has changed.
TagsNo tags attached.

Activities

user4

2011-10-24 21:19

  ~0000748

fixed in commit 0751ac3493413df71369f61a8ec608c00808822e.

Thanks for fix.

Issue History

Date Modified Username Field Change
2011-10-21 20:16 user233 New Issue
2011-10-24 21:19 user4 Note Added: 0000748
2011-10-24 21:19 user4 Status new => resolved
2011-10-24 21:19 user4 Fixed in Version => 2.0.x
2011-10-24 21:19 user4 Resolution open => fixed
2011-10-24 21:19 user4 Assigned To => user4