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.
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!