[Gdal-dev] linking problems with MrSID library
Bill Binko
bill at binko.net
Tue Oct 4 01:56:14 EDT 2005
Alright, after much banter, and a few curses, Frank and I seem to have
found a way to make MrSID work cleanly without having to change between
GCC 3.x compilers. I have not tested this with 4.x, but it just might
work.
Only two things need to change:
1) You can't use libtool. (If a libtool person wants to get with me
offline we can workout what's needed.) When you run configure add
--without-libtool.
2) After configure, edit GDALmake.opt and add the full path to the
appropriate c++ library for your version of MrSID's SDW (for my version 5,
it's /usr/lib/libstdc++.so.5) to the end of your LIBS variable.
Build and install, all should be right with the world.
However, Frank is not 100% sure that this hack will really work reliably,
so if it doesn't, please yell at me, not him. (He's got this filthy mouth
that I'd rather not deal with again tonight :-)
Bill
More information about the Gdal-dev
mailing list