On Sat, Jan 24, 2009 at 04:29:23PM -0500, Trevor Harmon wrote:
> Hi,
> 
> I'm the maintainer of the ode package, which has had a history of  
> problems related to shlibs [1]. Luckily, ode now uses libtool, and it  
> also fixes a problem that was preventing successful builds on Leopard,  
> so I thought I'd hit two birds with one stone and upgrade Fink's  
> package for ode to the latest upstream.
> 
> I've now got a version that's mostly working, but it gives me  
> validation errors related to shlibs, and I'm not sure how to fix them.  
> Validating ode-shlibs gives:
> 
>   Error: Shlibs field specifies file '/sw/lib/libode.1.dylib', but it  
> does not exist!
> 
> And validating ode gives:
> 
>   Error: package contains the shared library
>           /sw/lib/libode.1.0.0.dylib
>        but the corresponding install_name and compatibility_version
>           %p/lib/libode.1.dylib 2.0.0
>        are not listed in the Shlibs field.  See the packaging manual.
> 
> On a manual installation of ode, running "otool -L" on the dylib gives:
> 
>   /opt/ode/lib/libode.dylib:
>       /opt/ode/lib/libode.1.dylib (compatibility version 2.0.0, current  
> version 2.0.0)
>       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current  
> version 111.1.3)
>       /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current  
> version 7.4.0)
>       /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current  
> version 1.0.0)
> 
> Everything looks right in my .info, so I don't know how to fix these  
> errors. I've attached the .info I've created, so maybe somebody can  
> spot my mistake. Thanks,

The validator messages and otool-L are all self-consistent: the
problem (and it *is* a problem) is that the lib is coded as if it
exists in /opt/ode instead of in %p. That means there is probably an
unstream bug in the -install_name flag being passed when the lib
itself is compiled. Maybe a Makefile hard-codes a path instead of
using $prefix, or somehow else over-rides libtool or auto* defaults.

dan

-- 
Daniel Macks
dma...@netspace.org
http://www.netspace.org/~dmacks


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to