Note that this is a RPM-based system, apt-get is not available, yum is.

yum install libX11
…
Package libX11-1.6.0-2.1.el7.x86_64 already installed and latest version

I get a similar message for the other dependencies.

Examining the .rpm file I can see that the bundled runtime contains a lib/amd64 
folder, so I’m pretty sure everything it did was 64-bit.

If I run:

yum install libX11.so.6

it wants to install the i686 architecture.  

So I went ahead an used yum to install the dependencies that way, but it failed 
on the last one (of course):
$ sudo yum install libasound.so.2
Resolving Dependencies
--> Running transaction check
---> Package alsa-lib.i686 0:1.0.28-2.el7 will be installed
--> Finished Dependency Resolution
Error:  Multilib version problems found.
…
       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

       Protected multilib versions: alsa-lib-1.0.28-2.el7.i686 != 
alsa-lib-1.0.27.2-3.el7.x86_64


It seems to be that javapackager has made a mistake and is claiming to depend 
on the 32-bit packages even though it really requires the 64-bit packages.

Scott 


> On Feb 2, 2016, at 7:03 PM, Chris Bensen <chris.ben...@oracle.com> wrote:
> 
> This list or the Deployment blog 
> (https://blogs.oracle.com/talkingjavadeployment/) are the best places to get 
> help with the javapackager.
> 
> Is your app built with the 64-bit or 32-bit packager? I noticed “x86_64” 
> appended to the name. If it’s 32-bit you could try running:
> 
> sudo apt-get install libx11-6:i386
> 
> Chris
> 
> 
>> On Feb 2, 2016, at 1:49 PM, Scott Palmer <swpal...@gmail.com> wrote:
>> 
>> What's the best place to go to get help with using the javapackager ?
>> 
>> I've read the docs, but things aren't working smoothly and it would be
>> helpful if there were some known working examples to base things on.  I'm
>> not finding any examples that use the -daemon or -BserviceHint=true
>> options, for example.
>> 
>> I attempted to make a .rpm that installs a service/daemon but when I try to
>> install it, it fails claiming the following dependencies cannot be met:
>> 
>>       libX11.so.6 is needed by myserver-1.0-1.x86_64
>>       libXext.so.6 is needed by myserver-1.0-1.x86_64
>>       libXi.so.6 is needed by myserver-1.0-1.x86_64
>>       libXrender.so.1 is needed by myserver-1.0-1.x86_64
>>       libXtst.so.6 is needed by myserver-1.0-1.x86_64
>>       libasound.so.2 is needed by myserver-1.0-1.x86_64
>> 
>> Considering the app already runs fine on this same system, I'm a bit
>> confused that it is complaining of missing dependencies.
>> 
>> Scott
> 

Reply via email to