PDA

View Full Version : Problems with Vampyre Imaging Library on Mageia 2



Cybermonkey
22-10-2012, 02:00 PM
I hope this is the correct forum to post... You know, I recently bought a new computer and installed Mageia 2 64-bit as my Linux operating system. Now I wanted to compile my programs from my old computer and got the following error:

/usr/bin/ld: libopenjpeglinx86_64.a(tcd.o): undefined reference to symbol 'ceilf@@GLIBC_2.2.5'
/usr/bin/ld: note: 'ceilf@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation

I am using Freepascal 2.6.0 64 bit. It seems to be a problem with the libm and libopenjpeg (which ships with the library) but I don't know how to solve this issue.
Any ideas?

Andru
23-10-2012, 05:32 AM
Add {$LINKLIB m} to unit where you use Vampyre.

Cybermonkey
23-10-2012, 12:39 PM
Thanks Andru, that's it!

Galfar
05-11-2012, 11:57 PM
Do you use JPEG2000 images in your programs? If not, you can just disable support for them and get rid of dependency on libopenjpeg.