Hi,
Following yesterday's talk in IRC, I understand:
If otool -L libfoo.dylib returns 0.0.0, contact the developer to set
compatibility and current versions.
If the developer did not answer or refused to so do, set versions by
making a patch or .info file.
In some circumstances, you set 0.0.0 in Shlibs (what circumstance?).
Now I modified libogdi3 after the developer told me to set the
versions at my side. See below. (The files are in the Tracker)
libogdi3.info:
Shlibs:<<
%p/lib/libadrg.dylib 3.1.0 %n (>=3.1.5-2)
%p/lib/libdtcanada.dylib 3.1.0 %n (>=3.1.5-2)
%p/lib/libdted.dylib 3.1.0 %n (>=3.1.5-2)
%p/lib/libdtusa.dylib 3.1.0 %n (>=3.1.5-2)
%p/lib/libogdi31.dylib 3.1.0 %n (>=3.1.5-2)
%p/lib/libremote.dylib 3.1.0 %n (>=3.1.5-2)
%p/lib/librpf.dylib 3.1.0 %n (>=3.1.5-2)
%p/lib/libskeleton.dylib 3.1.0 %n (>=3.1.5-2)
%p/lib/libvrf.dylib 3.1.0 %n (>=3.1.5-2)
libogdi3.patch:
--- ogdi-3.1.4-orig/config/darwin.mak 2003-12-16
03:08:00.000000000 +0900
+++ ogdi-3.1.4/config/darwin.mak 2005-08-15 08:04:20.000000000 +0900
@@ -33,7 +33,7 @@
SHLIB_CFLAGS = -fno-common
COMMON_CFLAGS = $(OPTIMIZATION) -fno-common
-SHLIB_LDFLAGS = -dynamiclib
+SHLIB_LDFLAGS = -dynamiclib -compatibility_version 3.1.0 -
current_version 3.1.5
COMMON_LDFLAGS = $(OPTIMIZATION)
Is this the right way to go?
--
BABA Yoshihiko
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel