Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Won't start on linux (Ubuntu) [solved!]  (Read 2226 times)

Urist

  • Ensign
  • *
  • Posts: 5
    • View Profile
Won't start on linux (Ubuntu) [solved!]
« on: January 02, 2017, 01:33:07 AM »

Hi,

So I recently purchased this game but I'm having difficulty getting it to start.

I try run the game through the terminal and get the below in quotes.

I'm not sure, but if I had to guess I am missing some sort of dependency?

Is there anyone familiar with the linux build who could help me out here, I'd be grateful.

Thanks.

Quote
:~/starsector/starsector$ ./starsector.sh
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/saul/starsector
/starsector/jre_linux/lib/i386/xawt/libmawt.so: libXrender.so.1: cannot open sha
red object file: No such file or directory
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary1(Unknown Source)
   at java.lang.ClassLoader.loadLibrary0(Unknown Source)
   at java.lang.ClassLoader.loadLibrary(Unknown Source)
   at java.lang.Runtime.load0(Unknown Source)
   at java.lang.System.load(Unknown Source)
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary1(Unknown Source)
   at java.lang.ClassLoader.loadLibrary0(Unknown Source)
   at java.lang.ClassLoader.loadLibrary(Unknown Source)
   at java.lang.Runtime.loadLibrary0(Unknown Source)
   at java.lang.System.loadLibrary(Unknown Source)
   at sun.security.action.LoadLibraryAction.run(Unknown Source)
   at sun.security.action.LoadLibraryAction.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.Toolkit.loadLibraries(Unknown Source)
   at java.awt.Toolkit.<clinit>(Unknown Source)
   at java.awt.Color.<clinit>(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher.main(Unknown Source)
« Last Edit: January 02, 2017, 11:27:28 AM by Urist »
Logged

Vind

  • Admiral
  • *****
  • Posts: 785
    • View Profile
Re: Won't start on linux (Ubuntu)
« Reply #1 on: January 02, 2017, 02:00:32 AM »

Use on 32-bit Debian or Ubuntu : apt-get install libxrender1 and on 64-bit Debian or Ubuntu : apt-get install libxrender1:i386
Maybe some other 32-bit libraries missing too post new error logs if any.
« Last Edit: January 02, 2017, 02:06:50 AM by Vind »
Logged

Urist

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: Won't start on linux (Ubuntu)
« Reply #2 on: January 02, 2017, 02:09:18 AM »

thanks so much!

I ran the apt-get and got a similar error message for a different file, followed your formatting and eventually got it all installed and now the game runs :).

Must be because I'm on a 64 bit install, didn't have the 32bit drivers installed.

Is there a way to mark this as solved or closed?
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24125
    • View Profile
Re: Won't start on linux (Ubuntu)
« Reply #3 on: January 02, 2017, 09:55:06 AM »

Thank you Vind! Glad this is sorted :)

Is there a way to mark this as solved or closed?

You could add a [SOLVED] to the thread title if you like.
Logged