python isk-daemon fails with ImportError: /root/isk-daemon/src/imgSeekLib/_imgdb.so: undefined symbol: SampleImage

5 views
Skip to first unread message

paul

unread,
Dec 16, 2008, 2:00:07 PM12/16/08
to imgseek_dev
Hi,

I've build imgdb and isk-daemon from source on linux and I'm getting
this error:-

[root@admin src]# python isk-daemon.py
root : ERROR Warning: Unable to load the C++ extension
"imgdb.so(pyd)" module.
Traceback (most recent call last):
File "/root/isk-daemon/src/imgSeekLib/ImageDB.py", line 38, in ?
import imgdb
File "/root/isk-daemon/src/imgSeekLib/imgdb.py", line 7, in ?
import _imgdb
ImportError: /root/isk-daemon/src/imgSeekLib/_imgdb.so: undefined
symbol: SampleImage

[root@admin src]# uname -a
Linux admin.ec2 2.6.18-xenU-ec2-v1.0 #2 SMP Mon Feb 18 14:28:43 UTC
2008 x86_64 x86_64 x86_64 GNU/Linux
[root@admin src]# python
Python 2.4.3 (#1, May 24 2008, 13:57:05)

(I've tried python2.5 as well). Do you have any ideas?

Thanks,

Paul.

Ricardo Niederberger Cabral

unread,
Dec 16, 2008, 7:00:13 PM12/16/08
to imgse...@googlegroups.com, paul
The error about the undefined symbol at runtime refers to an
ImageMagick function. One of the following may be the cause:

1) imagemagick shared libraries are not available at runtime: were
they installed correctly?
2) did the imgdb compile (specially the linking process) process
finish without errors?
3) you seem to be running on a 64bit processor. Make sure all
development libraries (python-dev, imagemagick-dev) are for this arch.

On a related note, I'm about to prepare an EC2 image bundled with isk-
daemon on it. I'll probably get done with it before 2008 is over.

Is there any specific reason why you chose a 64bit EC2 image?

--
Ricardo Niederberger Cabral
http://www.imgseek.net/
ricardo.cabral at imgseek.net
skype: rnc000
Reply all
Reply to author
Forward
0 new messages