What a coincidence, I just spent 3 hours tracking down the cause of a "No such file or directory", too. Needless to say, the problem wasn't that there was no such file (nor that the search path was wrong). Although I did bark up that tree for while :(
hehe, 3 hours is better than my half day.
Basically any library load problem results in that message. To track down the problem, I usually fall back to using the OS-level loader to get descriptive error messages.
I inserted printf() and dlerror() everywhere to know the clue. Maybe it is better to do file existing test before dlopen(), and then report dlerror() if something wrong at _object___import_(). Cheers, - Takashi _______________________________________________ fonc mailing list [email protected] http://vpri.org/mailman/listinfo/fonc
