Home » jAlbum forums » General discussion


Permlink Replies: 14 - Pages: 1 - Last Post: 02-Jul-2006 18:04 Last Post By: trelony
rask

Posts: 5
Registered: 07/19/05
Installation problems
Posted: 19-Jul-2005 08:41
  Click to reply to this thread Reply
Hi,

I used an earlier version of JAlbum and it worked fine but now I'm trying to install the latest version. I'm using gentoo and I get the following errors, see below. What do I do wrong?

server1 patrik # sh ./JAlbuminstall.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/opt/blackdown-jdk-1.4.2.02/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
rask

Posts: 5
Registered: 07/19/05
Re: Installation problems
Posted: 19-Jul-2005 14:22   in response to: rask in response to: rask
  Click to reply to this thread Reply
Hi again,

I tried to just unzip Album but then I get the following error messages when I tried to run JAlbum.jar.
What do I do wrong?
Regards,
Patrik Rask
rask

Posts: 5
Registered: 07/19/05
Re: Installation problems
Posted: 19-Jul-2005 14:23   in response to: rask in response to: rask
  Click to reply to this thread Reply
Sorry I forgot the error messages.

JAlbum v5.2.2 startade i kommandoradsldge
se.datadosen.tags.ElementException: Exception caused by line 15: java.awt.HeadlessException

Details:
Sourced file: inline evaluation of: ``// Figure out if we can integrate with on-line printing service engine.processB . . . '' : Method Invocation JOptionPane.showMessageDialog

Stack trace:
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)
at java.awt.Window.<init>(Window.java:274)
at java.awt.Frame.<init>(Frame.java:401)
at java.awt.Frame.<init>(Frame.java:366)
at javax.swing.SwingUtilities$1.<init>(SwingUtilities.java:1641)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1637)
at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1529)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:833)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:642)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:613)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at bsh.Reflect.invokeOnMethod(Unknown Source)
at bsh.Reflect.invokeStaticMethod(Unknown Source)
at bsh.Name.invokeMethod(Unknown Source)
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHBlock.evalBlock(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BSHIfStatement.eval(Unknown Source)
at bsh.BSHBlock.evalBlock(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BshMethod.invokeImpl(Unknown Source)
at bsh.BshMethod.invoke(Unknown Source)
at bsh.BshMethod.invoke(Unknown Source)
at bsh.Name.invokeLocalMethod(Unknown Source)
at bsh.Name.invokeMethod(Unknown Source)
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at se.datadosen.jalbum.AlbumBean.doProcessExpression(AlbumBean.java:718)
at se.datadosen.jalbum.AlbumBean.processExpression(AlbumBean.java:712)
at se.datadosen.jalbum.AlbumBean.processBeanShellFile(AlbumBean.java:695)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:869)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:810)
at se.datadosen.jalbum.JAlbumConsole.<init>(JAlbumConsole.java:62)
at se.datadosen.jalbum.JAlbum.main(JAlbum.java:87)

at se.datadosen.jalbum.AlbumBean.doProcessExpression(AlbumBean.java:736)
at se.datadosen.jalbum.AlbumBean.processExpression(AlbumBean.java:712)
at se.datadosen.jalbum.AlbumBean.processBeanShellFile(AlbumBean.java:695)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:869)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:810)
at se.datadosen.jalbum.JAlbumConsole.<init>(JAlbumConsole.java:62)
at se.datadosen.jalbum.JAlbum.main(JAlbum.java:87)

Message was edited by: rask

pkerwien

Posts: 4
Registered: 07/19/05
Re: Installation problems
Posted: 19-Jul-2005 15:03   in response to: rask in response to: rask
  Click to reply to this thread Reply
I have the same problem on an AMD64 Gentoo machine when glibc-2.3.5 is compiled with USE flags nptl and nptlonly. I will now re-compile without these flags to see if the problem disappear again.
pkerwien

Posts: 4
Registered: 07/19/05
Re: Installation problems
Posted: 20-Jul-2005 07:40   in response to: pkerwien in response to: pkerwien
  Click to reply to this thread Reply
Yes, it seems related to if glibc is compiled with "USE=nptl nptlonly" or not. Why, I don't know. This is the first program that I have seen that have issues with NPTL.
pkerwien

Posts: 4
Registered: 07/19/05
Re: Installation problems
Posted: 20-Jul-2005 07:53   in response to: rask in response to: rask
  Click to reply to this thread Reply
askwar

Posts: 3
Registered: 06/03/05
Re: Installation problems
Posted: 11-Sep-2005 15:30   in response to: pkerwien in response to: pkerwien
  Click to reply to this thread Reply
FWIW: I also do get this error. I don't think, that the answer at "gamma.zerog.com" is the correct answer, as I use the

alexander@blatt ~ $ /opt/sun-jre-bin-1.5.0.04/bin/java -version
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)

Other programs (like JBidwatcher from http://jbidwatcher.sf.net/) work fine.

Further, the error message indictates, that awk, dirname and others can't find system libraries like libc, librt and such. Those libraries DO exist. And awk, dirname and others work just fine.
Neco

Posts: 2
Registered: 02/07/06
Re: Installation problems
Posted: 07-Feb-2006 01:39   in response to: rask in response to: rask
  Click to reply to this thread Reply
Are Patricão? That lived in Brazil many years ago?
If yes, please send your e-mail address to neco.pinto@uol.com.br or skype to neco.neco

If not, sorry, forget it.

With kind regards
Neco
Neco

Posts: 2
Registered: 02/07/06
Re: Installation problems
Posted: 07-Feb-2006 01:39   in response to: rask in response to: rask
  Click to reply to this thread Reply
Are you Patricão? That lived in Brazil many years ago?
If yes, please send your e-mail address to neco.pinto@uol.com.br or skype to neco.neco

If not, sorry, forget it.

With kind regards
Neco
DaleEMoore

Posts: 4
Registered: 12/03/05
Re: Installation problems
Posted: 28-May-2006 16:36   in response to: askwar in response to: askwar
  Click to reply to this thread Reply
I wonder if anyone has resolved this issue? I'm experiencing it with the latest JAlbum on Fedora Core 5. I get the failure with the execution of an old version that worked on Fedora Core 4:

[dalem@BrainIac JAlbum]$ ./JAlbum
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/opt/ibm/java2-i386-50/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

And I get the failure installing the latest version of JAlbum running on Fedora Core 5:

[dalem@BrainIac ~]$ sh Desktop/JAlbuminstall.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/usr/java/java-1.4.2/bin/java: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

Any help or suggestions will be greatly appreciated!
Dale E. Moore
DaleEMoore

Posts: 4
Registered: 12/03/05
Re: Installation problems
Posted: 28-May-2006 16:46   in response to: DaleEMoore in response to: DaleEMoore
  Click to reply to this thread Reply
Thanks to http://www.linuxquestions.org/questions/showthread.php?t=370056 I found that if I edit JAlbum and comment out

export LD_ASSUME_KERNEL=2.2.5

it works fine on FC5. I guess something similar will work with the installer JAlbuminstall.bin.

Good luck,
Dale
davidekholm

Posts: 16,981
Registered: 10/18/02
Re: Installation problems
Posted: 28-May-2006 20:10   in response to: DaleEMoore in response to: DaleEMoore
  Click to reply to this thread Reply
I'll pass this info on to the makers of the installer.
YF62

Posts: 1
Registered: 06/06/06
Re: Installation problems
Posted: 06-Jun-2006 20:03   in response to: DaleEMoore in response to: DaleEMoore
  Click to reply to this thread Reply
if I edit JAlbum and comment out

export LD_ASSUME_KERNEL=2.2.5

it works fine on FC5.


I had the same problem on SuSE 10.1 and by applying this I got it working again as well.

Thanks. Good tip!
vwgtiturbo

Posts: 28
Registered: 05/27/06
Re: Installation problems
Posted: 09-Jun-2006 05:46   in response to: YF62 in response to: YF62
  Click to reply to this thread Reply
I had this problem, did the above 'fix' and it DID let the installer work (although it did give a minor error, it completed and all looked fine). However, when I tried to run JAlbum, I received the same error. Looking through the binary, no other LD_KERNEL entry was present, so I couldn't try the trick again. Something is NOT right... Oh yeah, also running Suse 10.1 here.
trelony

Posts: 9
Registered: 07/02/06
Re: Installation problems
Posted: 02-Jul-2006 18:04   in response to: vwgtiturbo in response to: vwgtiturbo
  Click to reply to this thread Reply
Installing "other" (.jar) system installer worked fine and to launch JAlbum you need to run "java -jar JAlbum.jar". InstallAnywhere scripts are too smart to become unuseful.

- Alexey.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums