Re: Error: package contains the shared library

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
On Sep 29, 2014, at 12:42 PM, David Lowe <[email protected]> wrote:

> 	I'm attempting to package 'regina', which is an interpreter for the 'rexx' programming language.  It's also my first info file from scratch.  After solving a few build issues, the validator now complains about things i couldn't readily find fixes for in a web search:
> 
>> Validating .deb dir /sw/src/fink.build/root-regina-3.8.2-1...
>> Error: Headers installed (files in an include/ directory), as well as a .dylib file, but package does not declare BuildDependsOnly to be true (or false)
>> Error: package contains the shared library
>>          /sw/lib/libregina.dylib
>>       but the corresponding install_name
>>          libregina.dylib
>>       is not an absolute pathname.
>> Error: package contains the shared library
>>          /sw/share/Regina-REXX/addons/libregutil.dylib
>>       but the corresponding install_name
>>          libregutil.dylib
>>       is not an absolute pathname.
>> Error: package contains the shared library
>>          /sw/share/Regina-REXX/addons/librxtest1.dylib
>>       but the corresponding install_name
>>          librxtest1.dylib
>>       is not an absolute pathname.
>> Error: package contains the shared library
>>          /sw/share/Regina-REXX/addons/librxtest2.dylib
>>       but the corresponding install_name
>>          librxtest2.dylib
>>       is not an absolute pathname.
> 
> 
> 	How do i satisfy the validator?
> 
> <regina.info>
> sent from Mountain Lion
> 
> Edison Carter: What happened to the old religions?
> Murray: I don't know. Television killed it. We have better miracles.------------------------------------------------------------------------------
> Slashdot TV.  Videos for Nerds.  Stuff that Matters.
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk_______________________________________________
> Fink-devel mailing list
> [email protected]
> List archive:
> http://news.gmane.org/gmane.os.apple.fink.devel
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-devel

It looks like you might have been reinventing the wheel:

http://pdb.finkproject.org/pdb/package.php/regina

In the existing packaging for 10.6- , it appears that the library install names are fixed manually, so you might go with that option. 

Alex
------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.