Hi All,

I'm working with the fink folks to get simage/coin/soqt into fink.  It all
runs, but we are working on getting everything up to their specs.  I'm
starting with simage and have run into some trouble with simage.  The library
needs to have the same compatability and file version numbers.  simage is
calling the library simage 20, yet otool is reporting compatability version
27.  The need these numbers to match up.  I don't know how to get libtool and
the config files to get these to line up.  The version-info passed to lib
tool is 26:0:6.  How does this get translated into a dylib filename of 20 and
a compat version of 27?  Could someone please help me getting these lined up?

THANKS!!!!
-kurt

There is what I'm seeing:

otool -L  /sw/src/root-simage27-1.6.0-2/sw/lib/libsimage.dylib 
/sw/src/root-simage27-1.6.0-2/sw/lib/libsimage.dylib:
        /sw/lib/libsimage.20.dylib (compatibility version 27.0.0, current
version 27.0.0)
        /sw/lib/libsndfile.1.dylib (compatibility version 2.0.0, current
version 2.5.0)
        ....


/bin/sh ../libtool --mode=link g++  -g -O2  -L/sw/lib -o libsimage.la -rpath
/us
r/local/lib -no-undefined -version-info 26:0:6 simage.lo simage_write.lo
resize.
lo simage12.lo simage13.lo movie.lo stream.lo params.lo      simage_rgb.lo
simag
e_pic.lo simage_xwd.lo simage_eps.lo  simage_quicktime.lo simage_avi.lo
avi_enco
de.lo simage_oggvorbis_reader.lo simage_libsndfile.lo  -lsndfile -logg
-lvorbis 
-lvorbisfile -Wl,-framework,QuickTime -Wl,-framework,CoreServices
-Wl,-framework
,ApplicationServices

rm -fr  .libs/libsimage.20.6.0.dylib .libs/libsimage.20.dylib
.libs/libsimage.dy
lib .libs/libsimage.la .libs/libsimage.lai

g++ -dynamiclib -single_module  -o .libs/libsimage.20.6.0.dylib
 .libs/simage.o 
.libs/simage_write.o .libs/resize.o .libs/simage12.o .libs/simage13.o
.libs/movi
e.o .libs/stream.o .libs/params.o .libs/simage_rgb.o .libs/simage_pic.o
.libs/si
mage_xwd.o .libs/simage_eps.o .libs/simage_quicktime.o .libs/simage_avi.o
.libs/
avi_encode.o .libs/simage_oggvorbis_reader.o .libs/simage_libsndfile.o
 -L/sw/li
b /sw/lib/libsndfile.dylib /sw/lib/libogg.dylib /sw/lib/libvorbis.dylib
/sw/lib/
libvorbisfile.dylib  -Wl,-framework -Wl,QuickTime -Wl,-framework
-Wl,CoreService
s -Wl,-framework -Wl,ApplicationServices -install_name
 /usr/local/lib/libsimage
.20.dylib -compatibility_version 27 -current_version 27.0
(cd .libs && rm -f libsimage.20.dylib && ln -s libsimage.20.6.0.dylib
libsimage.
20.dylib)
(cd .libs && rm -f libsimage.dylib && ln -s libsimage.20.6.0.dylib
libsimage.dyl
ib)
creating libsimage.la
(cd .libs && rm -f libsimage.la && ln -s ../libsimage.la libsimage.la)


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to