[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: assimp



* IOhannes zmölnig <zmoelnig@iem.at>, 2011-08-19, 11:30:
pyassimp.errors.AssimpError: assimp library not found

hmm, it worked for me...:-(
trying to find words to ask you how and what, i think i found the reason: pyassimp looks for /usr/lib/libassimp.so which is only provided by libassimp-dev (which i most likely had installed when testing) since the findmechanism in pyassimp for dlopen() is rather simplistic, i guess this is the reason why it fails.

thanks for pointing that out.

Yeah, the whole search_library() function could be replaced by a simple:

    return ctypes.cdll.LoadLibrary('libassimp.so.2')

(Well, modulo support for non-UNIX-y operating systems.)

Also, why did it print stuff on stdout? :/

ask upstream :-)

...

Q: as a packager, am i supposed to fix such things?

At least your are supposed to forward bug reports upstream. (Of course, your sponsor might choose not to upload the package until a bug that is particularly severe/annoying is fixed.)

--
Jakub Wilk


Reply to: