Use BBB library on BB Classic

Hello,

I got a library from a company compiled for the BBB using the Angström cross-compiler.
I use the classic BB and at the moment running Ubuntu.
My problem is that compiling and linking a simple test program using that library works well, but when I want to run it, the program crashes immediately without any information.
I tried using gdb, but it only tells me that the program exited (never gets into the main function). If I run ldd on the binary, it also only returns with code 1 and does not print any information.
So my question is, if there is a chance to run a library compiled for the BBB on the BB classic (what I thought should be possible) and if, how different are the Angström and Ubuntu platform?

While writing this I just tested one more thing:

“file” of the library prints out:

libapb.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, not stripped

and ldd:

not a dynamic executable (which is wrong compared to the x86-version of that library)

Any help would be greatly appreciated.

Best regards,

Jan

Ok.
I just flashed the current Anström image to a sd-card and run ldd on the library-file there.
The shared dependencies are then printed correctly. So it seems that it’s not the difference between BBB and BB classic causing problems (which would have suprised me), but the difference between the Ubuntu and Anstrom distribution.
Is there any chance to get the library working on Ubuntu as well without the need to recompile?