Hi Guillaume, you're right; the library is found multiple times on my system. I was fine with giving path to my compiled OTB version explicitly ... until yesterday night while trying to build Monteverdi2, too (curious to try out). It was an long night ... first didn't find ICE, then messed with glfw, ice itself, and other stuff. Finally couldn't build ICE and was then trying to get otb-ice from PPA ... an old old old ice, I guess with a lot of other stuff around.
Since then I'm having a hard time: Despite ICE compiling Monteverdi didn't work (stopping at 99% with undefined reference to GDAL_1.8), so I opened a new thread here ... but noticed afterwards that OTB wasn't working anymore as well. So I removed my thread (this thread), because obviously I did something wrong and it's not related to Monteverdi as I stated in the thread title. But the thread survived, probably because you just got message and replied. Now I get, how some topics double in the group and the second one starts in the middle! :D Well, I freshly recompiled OTB this night and OTB is runnung again. Unfortunately I missed cleaning before ... I'm missing experience here, I guess ... btw. didn't know about ldd, thx! Will either try to only use OTB without Monteverdi or remove the libs in /usr/ and try again. I'm uncertain what is the cleanest and safest way to remove unneeded libraries ... I think I'm trying to get rid of non-compiled ppa-versions, distro-versions, etc. through Synaptic. But locate libOTBIO.so gives: /home/riru/workspace/OTB42RC/OTB4RC_bin/bin/libOTBIO.so /home/riru/workspace/OTB42RC/OTB4RC_bin/bin/libOTBIO.so.4.2 /home/riru/workspace/OTB42RC/OTB4RC_bin/bin/libOTBIO.so.4.2.0 /opt/OTB/OTB-32/bin/bin/libOTBIO.so /opt/OTB/OTB-32/bin/bin/libOTBIO.so.3.20 /opt/OTB/OTB-32/bin/bin/libOTBIO.so.3.20.0 /opt/OTB/OTB_BINARY_DIR/bin/libOTBIO.so /opt/OTB/OTB_BINARY_DIR/bin/libOTBIO.so.4.1 /opt/OTB/OTB_BINARY_DIR/bin/libOTBIO.so.4.1.0 /usr/lib/otb/libOTBIO.so /usr/lib/otb/libOTBIO.so.4.0 /usr/lib/otb/libOTBIO.so.4.0.0 /usr/local/lib/otb/libOTBIO.so /usr/local/lib/otb/libOTBIO.so.3.20 /usr/local/lib/otb/libOTBIO.so.3.20.0 /usr/local/lib/otb/libOTBIO.so.4.1 /usr/local/lib/otb/libOTBIO.so.4.1.0 /usr/local/lib/otb/libOTBIO.so.4.2 /usr/local/lib/otb/libOTBIO.so.4.2.0 This surely is funny to you? :D But I tried quite a while. I wanted to use OTB-Applications and found out, I'll need OTB 3.2 too ... and so on. I wonder why the version number is postfixed at some file names. What version is the one without postfix? I only need 4.2 and 3.2 ... so it may be safe to remove all the "wrong" numbered libs? Sorry for noobiism and many thx for your help so far! ^^ Kind regards, Robin Am Freitag, 5. September 2014 10:24:42 UTC+2 schrieb Guillaume Pasero: > > Hi Robin, > > It seems that you are using the wrong OTB binaries. You should check the > following things : > - In your Monteverdi2 CMake configuration, what OTB_DIR is used > - On your system, do you have several versions of OTB installed > - On your system, do you have several versions of GDAL installed > > If you want to check what libraries are used by libOTBIO.so, you can use > the command ldd : > > ldd libOTBIO.so > > If you want to use different versions of OTB or GDAL at the same time, you > should carefully install them, in separate directories. Using the default > system location (/usr) is maybe not the best choice. > > Regards, > Guillaume > > Le 05/09/2014 03:12, Robin Holler a écrit : > > Hi, > > I tried compiling monteverdi2 but it stopped - at 99%! :'( > > libOTBIO.so: Nicht definierter Verweis auf `OGRFeature::IsFieldSet(int) > co...@GDAL_1.8 <javascript:>' > collect2: error: ld returned 1 exit status > make[2]: *** [bin/monteverdi2] Fehler 1 > make[1]: *** [Code/Application/Monteverdi2/CMakeFiles/monteverdi2.dir/all] > Fehler 2 > make: *** [all] Fehler 2 > > I'm using Trusty Tahr and GDAL 1.11, OTB 4.2 ... any ideas? > > Thx in advance, > > Robin > -- > -- > Check the OTB FAQ at > http://www.orfeo-toolbox.org/FAQ.html > > You received this message because you are subscribed to the Google > Groups "otb-users" group. > To post to this group, send email to [email protected] > <javascript:> > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/otb-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "otb-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > > -- > <http://www.c-s.fr> *Guillaume PASERO* > Ingénieur d'études et développement > *Business Unit E-SPACE & Geo Information* > <https://thor.si.c-s.fr/blogs/cs-blogs-business/>* - Département > APPLICATIONS* > > *CS Systèmes d'Information* > Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 > 31506 Toulouse Cedex 05 - FRANCE > +33 561 17 64 21 - [email protected] <javascript:> > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
