Re: invalid ELF header
Henning Müller <[email protected]> Wed, 23 Jan 2008 17:15:12 +0100
| Newsgroups | gmane.comp.gnu.gift.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, it is a perl script so gift-add-collection.pl The --help command explains all the details about the use to use. If it is not in your path then you need to go to the bin directory in gift. Please also read the (little) documentation to make sure you use things correctly. Cheers, Henning [email protected] a écrit : > Hi, > when I try gift-add-collection in a folder with images in the shell display > > bash: gift-add-collection: command not found > > thanks for your answer and sorry for my ban english > Maurizio > > --------- Original Message -------- > Da: Henning Müller <[email protected]> > To: > Cc: [email protected] > Oggetto: Re: [help-GIFT] invalid ELF header > Data: 23/01/08 17:24 > > > >> >> Hi, >> >> did you index any collection using gift-add-collection? Without a config >> file with an indexed collection it does not make any sense to start up > gift. >> Cheers, Henning >> >> [email protected] a écrit : >>> Hello >>> For my studies I need to run GIFT 0.1.14 but I always find this error in > the >>> the of libraries after that I typed >>> >>> ./configure >>> make >>> make install >>> cd usr/bin/ >>> gift >>> >>> I read the other answer but I'm not able to run GIFT. Can you help me? >>> >>> >>> >>> MESSAGE IN THE SHELL >>> >>> GIFT:Starting Server >>> Random number generator has been seeded with 9544 >>> gift: CAlgorithmCollection: The following is the config file >>> located at "/home/maury/gift-config.mrml" as read by this program: >>> <?xml version="1.0" standalone="no"?> >>> <!DOCTYPE mrml SYSTEM "file:/usr/share/mrml.dtd"> >>> <!-- This file has become quite a free interpretation of MRML >>> the above !DOCTYPE is rather for the use of psgml than >>> a promise that the following is pure MRML. In fact the >>> parser does not validate. >>> >>> This is a configuration file for the server. It contains >>> information about collections, algorithms and >>> property sheets. >>> >>> >>> THIS FILE NEEDS CLEANING. ABOUT HALF OF THE LINES HERE ARE >>> LEGACY CODE. HOWEVER, IT IS NOT YET TESTED HOW THINGS BEHAVE >>> WHEN YOU REMOVE THE LEGACY CODE. SO, FOR A WHILE YOU HAVE >>> TO LIVE WITH QUITE A NUMBER OF OBSOLETE TAGS. >>> >>> --> >>> <mrml> >>> <cui-configuration> >>> <algorithm-list> >>> <!--COMMENT The new definiton of the default algorithm >>> The default algorithm performs in fact a meta >>> query of several inverted file queries. >>> Each sub-query of the meta query is >>> specialised on one of the feature groups >>> >>> Color histogram >>> Color block >>> Gabor histogram >>> Gabor block >>> >>> Each one of them is pruned in adifferent way. >>> (this is the goal of the operation) >>> --> >>> <algorithm algorithm-id="a-perl" algorithm-type="a-perl" >>> algorithm-name="Perl link" collection-id="__COLLECTION__" >>> cui-base-type="perl" >>> cui-perl-script-file="/home/buildd/gift-embed-perl-modules.pl" >>> cui-perl-package="CGIFTLink" > cui-perl-query-function="processGIFTQueryCall" >>> cui-perl-random-function="processGIFTRandomQueryCall" >>> cui-weighting-function="ClassicalIDF"> >>> <query-paradigm-list> >>> <query-paradigm type="inverted-file"/> >>> <query-paradigm type="perl-demo"/> >>> </query-paradigm-list> >>> <property-sheet property-sheet-id="cui-p-1" >>> property-sheet-type="subset" send-type="none" minsubsetsize="0" >>> maxsubsetsize="1"> >>> <property-sheet property-sheet-id="cui-p0" caption="Modify > default >>> configuration" property-sheet-type="set-element" send-type="none"/> >>> </property-sheet> >>> </algorithm> >>> <algorithm algorithm-id="a-cidf" algorithm-type="a-cidf" >>> algorithm-name="Classical IDF" collection-id="__COLLECTION__" >>> cui-block-color-histogram="no" cui-block-color-blocks="no" >>> cui-block-texture-histogram="no" cui-block-texture-blocks="no" >>> cui-pr-percentage-of-features="70" cui-base-type="inverted_file" >>> cui-weighting-function="ClassicalIDF"> >>> <query-paradigm-list> >>> <query-paradigm/><!-- match anything --> >>> </query-paradigm-list> >>> <property-sheet property-sheet-id="cui-p-1" >>> property-sheet-type="subset" send-type="none" minsubsetsize="0" >>> maxsubsetsize="1"> >>> <property-sheet property-sheet-id="cui-p0" caption="Modify > default >>> configuration" property-sheet-type="set-element" send-type="none"> >>> <property-sheet property-sheet-id="cui-p15" caption="Prune at > % of >>> features" property-sheet-type="numeric" send-type="attribute" >>> send-name="cui-pr-percentage-of-features" from="20" to="100" step="5" >>> send-value="70"/> >>> <property-sheet property-sheet-id="cui-p1" >>> property-sheet-type="subset" send-type="none" minsubsetsize="1" >>> maxsubsetsize="4"> >>> <property-sheet property-sheet-id="cui-p12" >>> send-boolean-inverted="yes" caption="Colour blocks" >>> property-sheet-type="set-element" send-type="attribute" >>> send-name="cui-block-color-blocks" send-value="yes"/> >>> <property-sheet property-sheet-id="cui-p14" >>> send-boolean-inverted="yes" caption="Gabor blocks" >>> property-sheet-type="set-element" send-type="attribute" >>> send-name="cui-block-texture-blocks" send-value="yes"/> >>> <property-sheet property-sheet-id="cui-p13" >>> send-boolean-inverted="yes" caption="Gabor histogram" >>> property-sheet-type="set-element" send-type="attribute" >>> send-name="cui-block-texture-histogram" send-value="yes"/> >>> <property-sheet property-sheet-id="cui-p11" >>> send-boolean-inverted="yes" caption="Colour histogram" >>> property-sheet-type="set-element" send-type="attribute" >>> send-name="cui-block-color-histogram" send-value="yes"/> >>> </property-sheet> >>> </property-sheet> >>> </property-sheet> >>> </algorithm><!-- a-cidf --> >>> <algorithm algorithm-id="adefault" algorithm-type="adefault" >>> algorithm-name="Separate Normalisation" collection-id="__COLLECTION__" >>> cui-block-color-histogram="no" cui-block-color-blocks="no" >>> cui-block-texture-histogram="no" cui-block-texture-blocks="no" >>> cui-pr-percentage-of-features="70" cui-base-type="multiple" >>> cui-weighting-function="ClassicalIDF"> >>> <algorithm algorithm-id="sub1" algorithm-type="sub1" >>> algorithm-name="sub1" cui-block-color-blocks="yes" >>> cui-block-texture-histogram="yes" cui-block-texture-blocks="yes" >>> cui-pr-percentage-of-features="100" cui-base-type="inverted_file"/> >>> <algorithm algorithm-id="sub2" algorithm-type="sub2" >>> algorithm-name="sub2" cui-block-color-histogram="yes" >>> cui-block-texture-histogram="yes" cui-block-texture-blocks="yes" >>> cui-base-type="inverted_file"/> >>> <algorithm algorithm-id="sub3" algorithm-type="sub3" >>> algorithm-name="sub3" cui-block-color-histogram="yes" >>> cui-block-color-blocks="yes" cui-block-texture-blocks="yes" >>> cui-pr-percentage-of-features="100" cui-base-type="inverted_file"/> >>> <algorithm algorithm-id="sub4" algorithm-type="sub4" >>> algorithm-name="sub4" cui-block-color-histogram="yes" >>> cui-block-color-blocks="yes" cui-block-texture-histogram="yes" >>> cui-base-type="inverted_file"/> >>> <query-paradigm-list> >>> <query-paradigm/><!-- match anything --> >>> </query-paradigm-list> >>> <property-sheet property-sheet-id="cui-p-1" >>> property-sheet-type="subset" send-type="none" minsubsetsize="0" >>> maxsubsetsize="1"> >>> <property-sheet property-sheet-id="cui-p0" caption="Modify > default >>> configuration" property-sheet-type="set-element" send-type="none"> >>> <property-sheet property-sheet-id="cui-p15" caption="Prune at > % of >>> features" property-sheet-type="numeric" send-type="attribute" >>> send-name="cui-pr-percentage-of-features" from="20" to="100" step="5" >>> send-value="70"/> >>> <property-sheet property-sheet-id="cui-p1" >>> property-sheet-type="subset" send-type="none" minsubsetsize="1" >>> maxsubsetsize="4"> >>> <property-sheet property-sheet-id="cui-p12" >>> send-boolean-inverted="yes" caption="Colour blocks" >>> property-sheet-type="set-element" send-type="attribute" >>> send-name="cui-block-color-blocks" send-value="yes"/> >>> <property-sheet property-sheet-id="cui-p14" >>> send-boolean-inverted="yes" caption="Gabor blocks" >>> property-sheet-type="set-element" send-type="attribute" >>> send-name="cui-block-texture-blocks" send-value="yes"/> >>> <property-sheet property-sheet-id="cui-p13" >>> send-boolean-inverted="yes" caption="Gabor histogram" >>> property-sheet-type="set-element" send-type="attribute" >>> send-name="cui-block-texture-histogram" send-value="yes"/> >>> <property-sheet property-sheet-id="cui-p11" >>> send-boolean-inverted="yes" caption="Colour histogram" >>> property-sheet-type="set-element" send-type="attribute" >>> send-name="cui-block-color-histogram" send-value="yes"/> >>> </property-sheet> >>> </property-sheet> >>> </property-sheet> >>> </algorithm><!-- a-cidf --> >>> </algorithm-list> >>> <cui-algorithm-id-list-list> >>> <cui-algorithm-id-list > cui-algorithm-id-list-id="ail-inverted-file"> >>> <cui-algorithm-id cui-algorithm-id="a-cidf"/> >>> </cui-algorithm-id-list> >>> </cui-algorithm-id-list-list> >>> <collection-list listid="1"> >>> >>> <!-- xxyx gift-add-collection xyxx DEPENDS ON THIS LINE --> >>> >>> </collection-list> >>> </cui-configuration> >>> </mrml> >>> <!-- this is for xemacs to make it start up in the right mode. >>> it does the right thing, but complains >>> --> >>> <!-- ;;; Local Variables: *** --> >>> <!-- ;;; mode: sgml *** --> >>> This config file content will now be parsed by an XML parser >>> If error messages occur, these are related to the content shown above. >>> ++/+//++//++//+++/++/+/+/+////+/+/+/+/++//+++/++/+/+/+////gift: >>> CAlgorithmCollection: The config file has >>> been parsed successfully by CAlgorithmCollection >>> maybe other parts of the program will also parse >>> the same config file. >>> ----- >>> Configuring CAccessorAdminCollection >>> ../usr/local/lib....-- >>> Configuring the CAccessorFactoryContainer: >>> I am going to scan the following directorys for plugins >>> /usr/local/lib >>> Could not link to symbol >>> libGIFTAcPerl_getClassName:/usr/local/lib/libGIFTAcPerl.so.0: undefined >>> symbol: libGIFTAcPerl_getClassName >>> libGIFTAcPerl.so tested. Test FAILED. >>> Could not open library: >>> /usr/local/lib/libGIFTAcInvertedFile.a: invalid ELF header >>> libGIFTAcInvertedFile.a tested. Test FAILED. >>> Not testing file:libGIFTQuHierarchy.so (File name does not match plugin >>> name) >>> Could not open library: >>> /usr/local/lib/libGIFTAcURL2FTS.a: invalid ELF header >>> libGIFTAcURL2FTS.a tested. Test FAILED. >>> Could not open library: >>> /usr/local/lib/libGIFTAcHierarchy.a: invalid ELF header >>> libGIFTAcHierarchy.a tested. Test FAILED. >>> libGIFTAcURL2FTS.so contains a sane GIFT Accessor plugin: url2fts >>> Could not link to symbol >>> libGIFTAcPerl_getClassName:/usr/local/lib/libGIFTAcPerl.so.0: undefined >>> symbol: libGIFTAcPerl_getClassName >>> libGIFTAcPerl.so.0 tested. Test FAILED. >>> libGIFTAcDistanceMatrix.so.0 contains a sane GIFT Accessor plugin: >>> distance_matrix >>> libGIFTAcHierarchy.so contains a sane GIFT Accessor plugin: hierarchy >>> Not testing file:libGIFTQuPerl.a (File name does not match plugin name) >>> libGIFTAcInvertedFile.so.0.0.0 contains a sane GIFT Accessor plugin: >>> inverted_file >>> Not testing file:libGIFTQuHierarchy.la (File name does not match plugin >>> name) >>> Lib:libGIFTAcDistanceMatrix, to be linked from > libGIFTAcDistanceMatrix.la >>> already registered! >>> Lib:libGIFTAcDistanceMatrix, to be linked from >>> libGIFTAcDistanceMatrix.so.0.0.0 already registered! >>> Not testing file:libGIFTQuHierarchy.so.0 (File name does not match > plugin >>> name) >>> Not testing file:libGIFTQuHierarchy.a (File name does not match plugin > name) >>> Not testing file:libGIFTQuInvertedFile.so.0 (File name does not match > plugin >>> name) >>> Lib:libGIFTAcHierarchy, to be linked from libGIFTAcHierarchy.so.0 > already >>> registered! >>> Lib:libGIFTAcURL2FTS, to be linked from libGIFTAcURL2FTS.la already >>> registered! >>> Lib:libGIFTAcHierarchy, to be linked from libGIFTAcHierarchy.so.0.0.0 >>> already registered! >>> Not testing file:libMRML.so.1 (File name does not match plugin name) >>> Not testing file:eclipse (File name does not match plugin name) >>> Lib:libGIFTAcHierarchy, to be linked from libGIFTAcHierarchy.la already >>> registered! >>> Could not link to symbol >>> libGIFTAcPerl_getClassName:/usr/local/lib/libGIFTAcPerl.so.0: undefined >>> symbol: libGIFTAcPerl_getClassName >>> libGIFTAcPerl.so.0.0.0 tested. Test FAILED. >>> Not testing file:libGIFTQuInvertedFile.so.0.0.0 (File name does not > match >>> plugin name) >>> Could not open library: >>> /usr/local/lib/libGIFTAcPerl.la: invalid ELF header >>> libGIFTAcPerl.la tested. Test FAILED. >>> Lib:libGIFTAcURL2FTS, to be linked from libGIFTAcURL2FTS.so.0.0.0 > already >>> registered! >>> Not testing file:libMRML.la (File name does not match plugin name) >>> Not testing file:libGIFTQuInvertedFile.la (File name does not match > plugin >>> name) >>> Not testing file:libGIFTQuPerl.so (File name does not match plugin name) > >>> Lib:libGIFTAcInvertedFile, to be linked from libGIFTAcInvertedFile.so.0 >>> already registered! >>> Lib:libGIFTAcInvertedFile, to be linked from libGIFTAcInvertedFile.so >>> already registered! >>> Not testing file:libGIFTQuPerl.so.0 (File name does not match plugin > name) >>> Lib:libGIFTAcInvertedFile, to be linked from libGIFTAcInvertedFile.la >>> already registered! >>> Lib:libGIFTAcURL2FTS, to be linked from libGIFTAcURL2FTS.so.0 already >>> registered! >>> Not testing file:libMRML.so (File name does not match plugin name) >>> Not testing file:libGIFTQuPerl.so.0.0.0 (File name does not match plugin >>> name) >>> Not testing file:python2.5 (File name does not match plugin name) >>> Not testing file:libMRML.so.1.3.0 (File name does not match plugin name) > >>> Not testing file:libGIFTQuHierarchy.so.0.0.0 (File name does not match >>> plugin name) >>> Not testing file:libGIFTQuInvertedFile.a (File name does not match > plugin >>> name) >>> Not testing file:libGIFTQuInvertedFile.so (File name does not match > plugin >>> name) >>> Not testing file:libGIFTQuPerl.la (File name does not match plugin name) > >>> Lib:libGIFTAcDistanceMatrix, to be linked from > libGIFTAcDistanceMatrix.so >>> already registered! >>> Not testing file:. (File name does not match plugin name) >>> Lib:libGIFTAcDistanceMatrix, to be linked from libGIFTAcDistanceMatrix.a >>> already registered! >>> Could not open library: >>> /usr/local/lib/libGIFTAcPerl.a: invalid ELF header >>> libGIFTAcPerl.a tested. Test FAILED. >>> Not testing file:libMRML.a (File name does not match plugin name) >>> Not testing file:.. (File name does not match plugin name) >>> FINISHED configuring the CAccessorFactoryContainer. >>> .--gift::CAccessorAdminCollection : I read the config file >>> /home/maury/gift-config.mrml >>> Now we will parse the contents of this file using an XML parser >>> The config file has been parsed >>> successfully maybe other parts >>> of the program will also parse >>> the same config file. >>> FINISHED configuring CAccessorAdminCollection. >>> FileSize:-1 characters >>> CI18nTranslator.cc:75: File unreadable. >>> Internationalization will be disabled in this run of the GIFT >>> -- >>> Configuring CDynamicQueryFactory >>> Looking for libGIFTQu*.so in directory >>> /usr/local/lib >>> Not testing file:libGIFTAcPerl.so (File name does not match plugin name) > >>> Not testing file:libGIFTAcInvertedFile.a (File name does not match > plugin >>> name) >>> libGIFTQuHierarchy.so contains a sane GIFT Query plugin: hierarchy >>> Not testing file:libGIFTAcURL2FTS.a (File name does not match plugin > name) >>> Not testing file:libGIFTAcHierarchy.a (File name does not match plugin > name) >>> Not testing file:libGIFTAcURL2FTS.so (File name does not match plugin > name) >>> Not testing file:libGIFTAcPerl.so.0 (File name does not match plugin > name) >>> Not testing file:libGIFTAcDistanceMatrix.so.0 (File name does not match >>> plugin name) >>> Not testing file:libGIFTAcHierarchy.so (File name does not match plugin >>> name) >>> ..Could not open library: >>> /usr/local/lib/libGIFTQuPerl.a: invalid ELF header >>> Not testing file:libGIFTAcInvertedFile.so.0.0.0 (File name does not > match >>> plugin name) >>> Lib:libGIFTQuHierarchy, to be linked from libGIFTQuHierarchy.la already >>> registered! >>> Not testing file:libGIFTAcDistanceMatrix.la (File name does not match > plugin >>> name) >>> Not testing file:libGIFTAcDistanceMatrix.so.0.0.0 (File name does not > match >>> plugin name) >>> Lib:libGIFTQuHierarchy, to be linked from libGIFTQuHierarchy.so.0 > already >>> registered! >>> Lib:libGIFTQuHierarchy, to be linked from libGIFTQuHierarchy.a already >>> registered! >>> libGIFTQuInvertedFile.so.0 contains a sane GIFT Query plugin: > inverted_file >>> Not testing file:libGIFTAcHierarchy.so.0 (File name does not match > plugin >>> name) >>> Not testing file:libGIFTAcURL2FTS.la (File name does not match plugin > name) >>> Not testing file:libGIFTAcHierarchy.so.0.0.0 (File name does not match >>> plugin name) >>> Not testing file:libMRML.so.1 (File name does not match plugin name) >>> Not testing file:eclipse (File name does not match plugin name) >>> Not testing file:libGIFTAcHierarchy.la (File name does not match plugin >>> name) >>> Not testing file:libGIFTAcPerl.so.0.0.0 (File name does not match plugin >>> name) >>> Lib:libGIFTQuInvertedFile, to be linked from > libGIFTQuInvertedFile.so.0.0.0 >>> already registered! >>> Not testing file:libGIFTAcPerl.la (File name does not match plugin name) > >>> Not testing file:libGIFTAcURL2FTS.so.0.0.0 (File name does not match > plugin >>> name) >>> Not testing file:libMRML.la (File name does not match plugin name) >>> Lib:libGIFTQuInvertedFile, to be linked from libGIFTQuInvertedFile.la >>> already registered! >>> /usr/local/lib/libGIFTQuPerl.so.0: undefined symbol: >>> libGIFTQuPerl_getClassName >>> Not testing file:libGIFTAcInvertedFile.so.0 (File name does not match > plugin >>> name) >>> Not testing file:libGIFTAcInvertedFile.so (File name does not match > plugin >>> name) >>> /usr/local/lib/libGIFTQuPerl.so.0: undefined symbol: >>> libGIFTQuPerl_getClassName >>> Not testing file:libGIFTAcInvertedFile.la (File name does not match > plugin >>> name) >>> Not testing file:libGIFTAcURL2FTS.so.0 (File name does not match plugin >>> name) >>> Not testing file:libMRML.so (File name does not match plugin name) >>> /usr/local/lib/libGIFTQuPerl.so.0: undefined symbol: >>> libGIFTQuPerl_getClassName >>> Not testing file:python2.5 (File name does not match plugin name) >>> Not testing file:libMRML.so.1.3.0 (File name does not match plugin name) > >>> Lib:libGIFTQuHierarchy, to be linked from libGIFTQuHierarchy.so.0.0.0 >>> already registered! >>> Lib:libGIFTQuInvertedFile, to be linked from libGIFTQuInvertedFile.a > already >>> registered! >>> Lib:libGIFTQuInvertedFile, to be linked from libGIFTQuInvertedFile.so >>> already registered! >>> ..Could not open library: >>> /usr/local/lib/libGIFTQuPerl.la: invalid ELF header >>> Not testing file:libGIFTAcDistanceMatrix.so (File name does not match > plugin >>> name) >>> Not testing file:. (File name does not match plugin name) >>> Not testing file:libGIFTAcDistanceMatrix.a (File name does not match > plugin >>> name) >>> Not testing file:libGIFTAcPerl.a (File name does not match plugin name) >>> Not testing file:libMRML.a (File name does not match plugin name) >>> Not testing file:.. (File name does not match plugin name) >>> FINISHED Configuring CDynamicQueryFactory >>> ---------------------------------------- >>> The current configuration directory is: /home/maury >>> ---------------------------------------- >>> Opening port 12789 >>> ---------------------------------------- >>> TCP socket successfully initialized:7 >>> TCP socket successfully initialized:8 >>> Waiting for connection... >>> >>> >>> -- >>> Email.it, the professional e-mail, gratis per te: http://www.email.it/f >>> >>> Sponsor: >>> Raggiungi i tuoi potenziali clienti in tutto il mondo! Affidati ad >>> icecube.it: professionalità ed esperienza per farti conoscere su > Internet >>> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7350&d=20080123 >>> >>> >>> >>> >>> _______________________________________________ >>> help-GIFT mailing list >>> [email protected] >>> http://lists.gnu.org/mailman/listinfo/help-gift >>> >> >> >> > -- > Email.it, the professional e-mail, gratis per te: http://www.email.it/f > > Sponsor: > In REGALO 'All the Good Thing' di NELLY FURTADO > Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6616&d=20080123 > > >