From: Koen v. d. D. <koe...@gm...> - 2009-02-23 14:59:49
|
>> Error: package contains the shared library >> /sw/lib/libopenbabel.3.0.0.dylib >> but the corresponding install_name and compatibility_version >> libopenbabel.3.dylib 3.0.0 >> are not listed in the Shlibs field. See the packaging manual. > > >The latter filname data is taken from 'otool -L' on the former >filename, which is set by the -install_name flag used when compiling >the lib. Notice that the data does not contain the full path, just a >simple filename (fink-supplied public libs need to declare themselves >as the complete path). I bet upstream didn't pass -install_name at >all, or tried to hack it manually and didn't pass the libdir. Thanks, Dan. How can I find out if -install_name was set correctly? Is there a way to fix this with a patch or do I need to contact the upstream developers? The package did switch from using make to cmake, could that be related to it? >openbabel-WHATEVER_%v.info? Openbabel (at least the existing package) >includes several different libraries, each in -shlibs/-dev splitoffs >named for that lib's libversioning. Ok, I'll go for openbabel-2.2.0.info. - Koen. |