Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-08 Thread Daniel Johnson
On Apr 8, 2008, at 12:03 AM, Daniel Macks wrote: On Mon, Apr 07, 2008 at 08:15:35PM -0400, Daniel Johnson wrote: On Apr 7, 2008, at 7:16 PM, Trevor Harmon wrote: I'm testing a new version of the lpsolve-java package, but it's not validating because it includes a private library without a Shli

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Daniel Macks
On Mon, Apr 07, 2008 at 08:15:35PM -0400, Daniel Johnson wrote: > > On Apr 7, 2008, at 7:16 PM, Trevor Harmon wrote: > >I'm testing a new version of the lpsolve-java package, but it's not > >validating because it includes a private library without a Shlibs > >declaration. Obviously, the fix is

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Jean-François Mertens
On 08 Apr 2008, at 02:59, Peter O'Gorman wrote: > Benjamin Reed wrote: > >> >> Actually, I just looked; according to >> http://developer.apple.com/documentation/Java/Conceptual/ >> Java14Development/05-CoreJavaAPIs/CoreJavaAPIs.html >> they allow jnilibs to be dylibs or bundles. > > Yes, but it w

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Trevor Harmon wrote: | $ otool -hv /sw/lib/liblpsolve55j.jnilib | /sw/lib/liblpsolve55j.jnilib: | Mach header |magic cputype cpusubtype capsfiletype ncmds | sizeofcmds flags | MH_MAGICI386ALL 0x00 DYLIB12

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Trevor Harmon
On Apr 7, 2008, at 5:46 PM, Benjamin Reed wrote: > Trevor Harmon wrote: > | On Apr 7, 2008, at 5:29 PM, Benjamin Reed wrote: > |> out of curiosity, what does "otool -hv /sw/lib/ > liblpsolve55j.jnilib" > |> print? > | > | $ otool -L /sw/lib/liblpsolve55j.jnilib > > not otool -L, otool -hv. =) O

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Peter O'Gorman
Benjamin Reed wrote: > > Actually, I just looked; according to > http://developer.apple.com/documentation/Java/Conceptual/Java14Development/05-CoreJavaAPIs/CoreJavaAPIs.html > they allow jnilibs to be dylibs or bundles. Yes, but it will break if the jnilib is a flat namespace dylib, so if it i

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin Reed wrote: | out of curiosity, what does "otool -hv /sw/lib/liblpsolve55j.jnilib" | print? It should say it's of filetype BUNDLE instead of filetype DYLIB, | in which case I don't think it could have a pathless otool line. | | If that is th

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Trevor Harmon wrote: | On Apr 7, 2008, at 5:29 PM, Benjamin Reed wrote: |> out of curiosity, what does "otool -hv /sw/lib/liblpsolve55j.jnilib" |> print? | | $ otool -L /sw/lib/liblpsolve55j.jnilib not otool -L, otool -hv. =) - -- Benjamin Reed a.k.

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Trevor Harmon
On Apr 7, 2008, at 5:29 PM, Benjamin Reed wrote: out of curiosity, what does "otool -hv /sw/lib/liblpsolve55j.jnilib" print? $ otool -L /sw/lib/liblpsolve55j.jnilib /sw/lib/liblpsolve55j.jnilib: liblpsolve55j.jnilib (compatibility version 5.5.0, current version 5.5.0) /sw/lib/liblpsolve.5.

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Benjamin Reed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Trevor Harmon wrote: | That fixed it. I had to change the Shlibs line from this: | | !%p/lib/liblpsolve55j.jnilib | | to this: | | !liblpsolve55j.jnilib out of curiosity, what does "otool -hv /sw/lib/liblpsolve55j.jnilib" print? It should say it's o

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Trevor Harmon
On Apr 7, 2008, at 5:15 PM, Daniel Johnson wrote: > It is indeed a bug, which I've previously reported. The problem is > that the validator is checking the library's install_name but > telling you to use the actual pathname in the error message. These > are not necessarily the same thing. So

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Trevor Harmon
On Apr 7, 2008, at 4:56 PM, David Reiser wrote: > Was there any other warning in the build log just prior to the > complaint about the private shlib? I don't see any warnings at all. The only error is this: Validating .deb dir /sw/src/fink.build/root-lpsolve-java-5.5.0.11-1... Error: package c

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Daniel Johnson
On Apr 7, 2008, at 7:16 PM, Trevor Harmon wrote: I'm testing a new version of the lpsolve-java package, but it's not validating because it includes a private library without a Shlibs declaration. Obviously, the fix is to add the Shlib declaration, but for some reason it's not working. What

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Jean-François Mertens
On 08 Apr 2008, at 01:48, Trevor Harmon wrote: > On Apr 7, 2008, at 4:27 PM, Jean-François Mertens wrote: > >> Try variations.. >> I remember that originally at least this was extremely sensitive to >> spacing.. >> (conceivably removing the space after the colon, or replacing the >> thing by >> >>

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread David Reiser
On Apr 7, 2008, at 7:48 PM, Trevor Harmon wrote: > On Apr 7, 2008, at 4:27 PM, Jean-François Mertens wrote: > >> Try variations.. >> I remember that originally at least this was extremely sensitive to >> spacing.. >> (conceivably removing the space after the colon, or replacing the >> thing by >>

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Trevor Harmon
On Apr 7, 2008, at 4:27 PM, Jean-François Mertens wrote: > Try variations.. > I remember that originally at least this was extremely sensitive to > spacing.. > (conceivably removing the space after the colon, or replacing the > thing by > > Shlibs: << > !%p/lib/liblpsolve55j.jnilib > << > > wi

Re: [Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Jean-François Mertens
On 08 Apr 2008, at 01:16, Trevor Harmon wrote: > I'm testing a new version of the lpsolve-java package, but it's not > validating because it includes a private library without a Shlibs > declaration. Obviously, the fix is to add the Shlib declaration, > but for some reason it's not working.

[Fink-devel] Fink not understanding private Shlib declaration

2008-04-07 Thread Trevor Harmon
I'm testing a new version of the lpsolve-java package, but it's not validating because it includes a private library without a Shlibs declaration. Obviously, the fix is to add the Shlib declaration, but for some reason it's not working. What I've added looks like this: Shlibs: !%p/lib/liblp