Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-02 Thread Volodymyr Kostyrko

01.10.2013 19:09, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able to
determine that its looking for the library under /usr/local/lib/amd64,
the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able to
work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the amd64
sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from my
environment, that's causing this.  Or is the port install not doing
something that it should be doing?


Never faced this, itweb-javaws works for me without library shuffling 
but with one tiny fix to startup script: `exec ${COMMAND[@]}`.


--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-02 Thread Volodymyr Kostyrko

01.10.2013 21:12, dweimer wrote:

On 10/01/2013 11:09 am, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able to
determine that its looking for the library under /usr/local/lib/amd64,
the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able
to work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the amd64
sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from
my environment, that's causing this.  Or is the port install not doing
something that it should be doing?

System is a new build of 9.2-RELEASE, compiled from source, source and
ports all built with clang where possible.


Just an update, this only worked the first time I executed it, now all I
get is:

java.lang.UnsatisfiedLinkError:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol
jpeg_resync_to_restart


Try `-headless`. You wont see the shiny logo though...

--
Sphinx of black quartz, judge my vow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-02 Thread dweimer

On 10/02/2013 6:35 am, Volodymyr Kostyrko wrote:

01.10.2013 21:12, dweimer wrote:

On 10/01/2013 11:09 am, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able 
to
determine that its looking for the library under 
/usr/local/lib/amd64,

the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able
to work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the 
amd64

sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from
my environment, that's causing this.  Or is the port install not 
doing

something that it should be doing?

System is a new build of 9.2-RELEASE, compiled from source, source 
and

ports all built with clang where possible.


Just an update, this only worked the first time I executed it, now all 
I

get is:

java.lang.UnsatisfiedLinkError:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so:
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol
jpeg_resync_to_restart


Try `-headless`. You wont see the shiny logo though...


Thank you, this fixed that part, silly me, I was searching the help for 
things like -nosplash, and disable splash screen.


Didn't realize that this was the same thing:
  -headless Disables download window, other UIs.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-01 Thread dweimer
I was struggling to get itweb-javaws to execute, due to it not being 
able to find libjava.so, after running it through truss, I was able to 
determine that its looking for the library under /usr/local/lib/amd64, 
the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able to 
work around the problem by creating a symbolic link to point 
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the amd64 
sub-directory didn't exist in /usr/local/lib.


This does make me wonder though, if I am just missing something from my 
environment, that's causing this.  Or is the port install not doing 
something that it should be doing?


System is a new build of 9.2-RELEASE, compiled from source, source and 
ports all built with clang where possible.


--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Port of icedtea-web-1.4_1, on 64 bit system might have a problem in the install process.

2013-10-01 Thread dweimer

On 10/01/2013 11:09 am, dweimer wrote:

I was struggling to get itweb-javaws to execute, due to it not being
able to find libjava.so, after running it through truss, I was able to
determine that its looking for the library under /usr/local/lib/amd64,
the file is located in /usr/local/openjdk7/jre/lib/amd64, I was able
to work around the problem by creating a symbolic link to point
/usr/local/lib/amd64 to /usr/local/openjdk/jre/lib/amd64, as the amd64
sub-directory didn't exist in /usr/local/lib.

This does make me wonder though, if I am just missing something from
my environment, that's causing this.  Or is the port install not doing
something that it should be doing?

System is a new build of 9.2-RELEASE, compiled from source, source and
ports all built with clang where possible.


Just an update, this only worked the first time I executed it, now all I 
get is:


java.lang.UnsatisfiedLinkError: 
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: 
/usr/local/openjdk7/jre/lib/amd64/libsplashscreen.so: Undefined symbol 
jpeg_resync_to_restart


I somewhat worked around it by installing the linux_sun_jre 7.40, and 
pointing icedtea webstart at it, searching online shows this to be most 
likely be a bug in the port of openjdk.


http://www.freebsd.org/cgi/query-pr.cgi?pr=119654

--
Thanks,
   Dean E. Weimer
   http://www.dweimer.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org