[fedora-java] packaging questions

Vadim Nasardinov vadimn at redhat.com
Wed May 25 14:02:33 UTC 2005


On Tuesday 24 May 2005 21:11, Anthony Green wrote:
> $ ls -l /usr/lib/libjogl.jar.so
> lrwxrwxrwx  1 root root 21 May 24 17:12 /usr/lib/libjogl.jar.so -> libjogl-1.1b11.jar.so
> 
> I've placed the Gears SRPM here: http://spindazzle.org/yum/FC4/SRPMS
> 
> If you build it and try to install, you'll get:
> 
> error: Failed dependencies:
>         libjogl.jar.so is needed by jogl-demos-Gears-1.5-1fc.i386
> 
> I don't understand why I'm getting this, since the symlink and
> underlying library do exist.

The "jogl" RPM doesn't provide libjogl.jar.so.

 | $ wget http://spindazzle.org/yum/FC4/i386/jogl-1.1b11-3fc.i386.rpm
 | $ rpm -qp --provides jogl-1.1b11-3fc.i386.rpm
 | warning: jogl-1.1b11-3fc.i386.rpm: V3 DSA signature: NOKEY, key ID 207e4a1a
 | libjogl-1.1b11.jar.so  
 | libjogl.so  
 | jogl = 0:1.1b11-3fc

I haven't looked at the spec file.  You may have to add this
"Provides" header manually.  Or you may want to look at the script
that auto-generates Provides headers, and try and figure out why it's
failing to pick up libjogl.jar.so.

 | $ rpm --eval '%{__find_provides}'
 | /usr/lib/rpm/redhat/find-provides
 | $ file /usr/lib/rpm/redhat/find-provides
 | /usr/lib/rpm/redhat/find-provides: Bourne-Again shell script text executable




More information about the fedora-devel-java-list mailing list