You are not logged in.

#1 2012-08-15 23:39:19

harsha
Member
Registered: 2012-08-04
Posts: 14

error while loading shared libraries: libglut.so.3: cannot open shared

Hi, I bought the new Humble Bundle today and downloaded the tar.gz file for Fieldrunners (which is supposed to work under linux)

"error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory" is the message I get when I put ./Fieldrunners into konsole after copying the fieldrunners folder into /opt
I have freeglut-2.8.0-1 installed

This is the README:

This is Fieldrunners for Linux.

It was built under Ubuntu 12.04 but is known to work in other distros.

The only external dependancy is the freeglut3 library.

To install:
  copy the fieldrunners directory (executable and game assets) to /opt
  copy the .fieldrunners directory (user options, achievements and saves) to your home directory.

If you don't want to copy the fieldrunners directory to /opt, you can likely start fieldrunners from any folder and it will attempt to find the assets in the same folder as the executable.

The executable /opt/fieldrunners/Fieldrunners will create the .fieldrunners directory in the home directory if not found.

EDIT: Forgot to mention, there is no PKGBUILD file in the tar.gz

Last edited by harsha (2012-08-15 23:43:19)

Offline

#2 2012-08-16 00:37:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: error while loading shared libraries: libglut.so.3: cannot open shared

Two checks:

pacman -Ql freeglut | grep libglut.so.3
LD_LIBRARY_PATH=/usr/lib/libglut.so.3 /opt/fieldrunnners/Fieldrunners

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2012-08-16 08:12:37

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: error while loading shared libraries: libglut.so.3: cannot open shared

Maybe you’re running Arch 64 bit and Fieldrunners is 32 bit?

Offline

#4 2012-08-16 12:04:06

fbt
Member
From: Montevideo, Uruguay
Registered: 2010-05-15
Posts: 10
Website

Re: error while loading shared libraries: libglut.so.3: cannot open shared

Hi, I have a 64 bit system too. I checked and freeglut was installed, but I could run Fieldrunners only after installing lib32-freeglut from AUR. The sound is pretty sloppy but visually it works flawlessly. I sent a message to humble support to give a heads up, they'll probably get it fixed in a future version.

Last edited by fbt (2012-08-16 12:57:43)

Offline

#5 2012-08-16 12:41:45

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: error while loading shared libraries: libglut.so.3: cannot open shared

fbt wrote:

The sound is pretty sloppy but visaully it works flawlessly.

Thanks, it’s the only game I’m interested in in this bundle, so I’d like to know if it works before buying it (for some reason they still aren’t providing any demo on the bundles page…)
Do you use ALSA? What do you mean by “sloppy”?

Edit: I’m actually also interested by Uplink and Spirits… but I can’t say no to a new tower defense game tongue.

Last edited by stqn (2012-08-16 12:49:12)

Offline

#6 2012-08-16 13:35:30

fbt
Member
From: Montevideo, Uruguay
Registered: 2010-05-15
Posts: 10
Website

Re: error while loading shared libraries: libglut.so.3: cannot open shared

I'm using ALSA yes, the sound gets cut all the time so I played it with no sound.

Offline

#7 2012-08-16 19:27:59

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: error while loading shared libraries: libglut.so.3: cannot open shared

My Fieldrunners says:

cannot open audio device (Device or resource busy)
Fieldrunners: pcm.c:928: snd_pcm_state: Assertion `pcm' failed.

... so I have to kill pulseaudio first (or use padsp). After that (with alsa), it has choppy sound. 1 second sound, one pause...

Spacechem is windows binary + a wine'ish blob (that just freezes on my machine), comes only as rpm/deb and seems to insist to be installed in /opt (AND some files in /usr/share). The included .exe doesn't work with native wine either (without further adjustments at least).

Doesn't really look good at all so far, this bundle.


edit:
Also: Uplink seems to be unplayable on a big resolution Display without workarounds due to its small font...?

Spirits says:

(Spirits-64:14143): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Fatal error reading PNG image file: Incompatible libpng version in application and library

... but seems to work fine at a first glance (safe for a missing picture in the launcher which isn't really tragic).
edit:
( Aaaand, now I notice I'm in the wrong thread and/or forum. Where did that generic "is the bundle working?"-thread go? Stupid multi-tabbing xD )

Last edited by whoops (2012-08-16 20:47:17)

Offline

#8 2012-08-17 07:11:07

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: error while loading shared libraries: libglut.so.3: cannot open shared

Offline

#9 2012-08-18 02:38:35

decimalman
Member
Registered: 2012-08-17
Posts: 6

Re: error while loading shared libraries: libglut.so.3: cannot open shared

whoops wrote:

My Fieldrunners says:
... so I have to kill pulseaudio first (or use padsp). After that (with alsa), it has choppy sound. 1 second sound, one pause...

Spacechem is windows binary + a wine'ish blob (that just freezes on my machine), comes only as rpm/deb and seems to insist to be installed in /opt (AND some files in /usr/share). The included .exe doesn't work with native wine either (without further adjustments at least).

I posted a possible (but ugly) fix for Fieldrunners' sound (both having to kill Pulse and the choppiness)  at https://bbs.archlinux.org/viewtopic.php … 6#p1147936.

To extract the /opt data (which is all that's needed to run SC) from the .deb into the current directory:

ar p spacechem_1.0.12-2_noarch.deb data.tar.gz | tar xz --strip-components=2 ./opt

The paths aren't hardcoded, so there's no need to install in /opt.  You just have to cd to whatever directory it's installed into and run 'mono SpaceChem.exe'.  Ignore the launcher script, it does the same thing with hardcoded paths.

Offline

Board footer

Powered by FluxBB