Reply To: NSLU2 plugin link/build problem


@Mitch wrote:

I am having a problem with mt-daapd not being able to load plugins when it starts up.

I have built the 1236 codebase on my unslung slug, and mt-daapd works just fine – except that the plugins don’t load.

Looking at the log output I get the error :
“Error loading plugin /public/src/mt-daapd-svn-1236/src/plugins/ /public/src/mt-daapd-svn-1236/src/plugins/ ELF file version does not match current

I’m thinking the plugins and mt-daapd are linked differently but I can’t see what the problem could be. The plugins seemed to compile ok (the .la files are there). Anyone got any ideas what this could be?

I think I have all my slug’s packages up-to-date (ipkg update) but maybe I’m not doing something right?

Please help!!! Thanks.

Hm… You should be looking for the .so files, not the .la files. If you are trying to run it directly from the build tree, they should be in src/plugins/.libs, a hidden directory. Don’t ask me why, that’s just what libtool does. 🙂

— Ron