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

43 views
Skip to first unread message

Ricardo Niederberger Cabral

unread,
May 9, 2009, 8:02:37 AM5/9/09
to skwasha, paul, imgsee...@googlegroups.com
Are you sure you compiled the imgdb module according to the
instructions at http://server.imgseek.net/2007/12/09/build-instructions-for-the-netimgseekimgdb-module/
?

Such undefined symbols error messages should show up when you run
imgdb.so libraries compiled on a different machine (compiled against
different versions of imagemagick for example)

--
Ricardo Niederberger Cabral
http://www.imgseek.net/
ricardo.cabral at imgseek.net
skype: rnc000

On 08/05/2009, at 18:35, skwasha wrote:

> Did you ever get this worked out?
>
> I'm having the same issue. I've checked my libraries and they all
> appear to be 64 bit and properly installed (using yum on RHEL 5.3), I
> recompiled the imgdb.so making sure to use my 2.5 install of Python.
> Yet, I'm still getting the same error.
>
> Any tips would be appreciated.
>
> thanx,
> sascha =)
>
> On Dec 16 2008, 12:00 pm, paul <paul.chudle...@gmail.com> wrote:
>> 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.

skwasha

unread,
May 15, 2009, 11:26:43 AM5/15/09
to imgseek_users
I did. It turns out there just happen to be a bunch of other pre-reqs
not listed in the docs or checked for by the build :( Once they were
all there it started working.

Now I'm having a different problem though.... I have the daemon
running in debug mode. And it was fine for a day, but now this morning
when I run a query via the web interface, I get: "Unexpected error:
error null" But in the log I see what looks like a normal response.

Is there some unseen limit I'm hitting or something? Anyone else seen
anything like this?

thanx!

On May 9, 5:02 am, Ricardo Niederberger Cabral
<ricardo.cab...@imgseek.net> wrote:
> Are you sure you compiled the imgdb module according to the  
> instructions athttp://server.imgseek.net/2007/12/09/build-instructions-for-the-netim...
>   ?
>
> Such undefined symbols error messages should show up when you run  
> imgdb.so libraries compiled on a different machine (compiled against  
> different versions of imagemagick for example)
>
> --
> Ricardo Niederberger Cabralhttp://www.imgseek.net/

ghanakota gayatri

unread,
Oct 9, 2014, 6:49:41 PM10/9/14
to imgsee...@googlegroups.com

I am trying to install imgseek- the server version (http://www.imgseek.net/) to do image analysis.I am able to install all the dependencies successfully using:

sudo port install swig

sudo port install swig-python

sudo easy_install twisted

sudo port install imagemagick

sudo easy_install epydoc

Then I download isk-daemon from the downloads(isk-daemon-0.9.3.tar.gz) and build and install it. Everything runs succesfully.

But when I run iskdaemon.py from the command prompt, i get the following error:

sk-daemon : WARNING | no config file (isk-daemon.conf) found. Looked at local dir, home user dir and /etc/iskdaemon. Using defaults for everything. root : ERROR Unable to load the C++ extension "_imgdb.so(pyd)" module. root : ERROR See http://www.imgseek.net/isk-daemon/documents-1/compilingTraceback (most recent call last): File "/Users/gghanakota/anaconda/lib/python2.7/site-packages/isk_daemon-0.9.3-py2.7-macosx-10.5-x86_64.egg/imgSeekLib/ImageDB.py", line 35, in import imgdb File "/Users/gghanakota/anaconda/lib/python2.7/site-packages/isk_daemon-0.9.3-py2.7-macosx-10.5-x86_64.egg/imgSeekLib/imgdb.py", line 28, in _imgdb = swig_import_helper() File "/Users/gghanakota/anaconda/lib/python2.7/site-packages/isk_daemon-0.9.3-py2.7-macosx-10.5-x86_64.egg/imgSeekLib/imgdb.py", line 20, in swig_import_helper import _imgdb ImportError: dlopen(/Users/gghanakota/anaconda/lib/python2.7/site-packages/isk_daemon-0.9.3-py2.7-macosx-10.5-x86_64.egg/_imgdb.so, 2): Symbol not found: __ZNSs4_Rep20_S_empty_rep_storageE Referenced from: /Users/gghanakota/anaconda/lib/python2.7/site-packages/isk_daemon-0.9.3-py2.7-macosx-10.5-x86_64.egg/_imgdb.so Expected in: dynamic lookup

Please help!


Reply all
Reply to author
Forward
0 new messages