Fedora-Fr - Communauté francophone Fedora - Linux

Communauté francophone des utilisateurs de la distribution Linux Fedora.

  

Dernière news : Fedora 31 c'est fini

#1 27/02/2020 14:54:07

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

[Résolu] Problème pour lancer le jeu Dwarf Fortress.

Salut!

J'ai téléchargé ce jeu ici sur son site officiel et malgré l'avoir extraie et tapé sa ligne de commande je n'arrive à le lancer.

Voici le détail de la console:

[bombastic@localhost ~]$ cd df_linux
[bombastic@localhost df_linux]$ ls
'command line.txt'  'file changes.txt'   raw           'release notes.txt'
 data                g_src               README.linux   sdl
 df                  libs                readme.txt
[bombastic@localhost df_linux]$ ./df
./libs/Dwarf_Fortress: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory
[bombastic@localhost df_linux]$ dnf provides libSDL_image-1.2.so.0
SDL_image-1.2.12-20.fc29.i686 : Image loading library for SDL
Dépôt               : @System
Correspondances trouvées dans  :
Provide    : libSDL_image-1.2.so.0

SDL_image-1.2.12-20.fc29.i686 : Image loading library for SDL
Dépôt               : fedora
Correspondances trouvées dans  :
Provide    : libSDL_image-1.2.so.0

[bombastic@localhost df_linux]$ sudo dnf install SDL_image-1.2.12-20.fc29.i686
[sudo] Mot de passe de bombastic : 
Dernière vérification de l’expiration des métadonnées effectuée il y a 0:25:44 le jeu. 27 févr. 2020 13:24:15 CET.
Le paquet SDL_image-1.2.12-20.fc29.i686 est déjà installé.
Dépendances résolues.
Rien à faire.
Terminé !

Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#2 27/02/2020 15:15:21

madko
Contributeur Fedora et Linuxé depuis 1994
Modérateur
Lieu : Noisy the Great (9³)
Inscription : 22/12/2006
Messages : 8 472
Site Web

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Bonjour,

/sbin/ldconfig -v |grep libSDL

tu vois bien le fichier indiqué libSDL_image-1.2.so.0 ?

que donne

ldd ./df

Linux, ya moins bien, mais c'est plus chèr!!!
Fedora 32 WorkStation sur HP 850 G5
Fedora 32 SilverBlue sur Lenovo Thinkpad Yoga 12

Hors ligne

#3 27/02/2020 15:25:12

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Voilà:

[bombastic@localhost ~]$ cd df_linux
[bombastic@localhost df_linux]$ /sbin/ldconfig -v |grep libSDL
/sbin/ldconfig: Can't stat /libx32: No such file or directory
/sbin/ldconfig: Path `/usr/lib' given more than once
/sbin/ldconfig: Path `/usr/lib64' given more than once
/sbin/ldconfig: Can't stat /usr/libx32: No such file or directory
	libSDL_image-1.2.so.0 -> libSDL_image-1.2.so.0.8.4
	libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.4
	libSDL2-2.0.so.0 -> libSDL2-2.0.so.0.10.0
	libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.4
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
[bombastic@localhost df_linux]$ ldd ./df
	not a dynamic executable

Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#4 02/03/2020 13:31:52

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Pas d'infos par rapport à mon message?...


Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#5 02/03/2020 14:15:41

Refuznik
Membre
Inscription : 31/01/2007
Messages : 7 783

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Question bête as tu pris la version 64 bits ou la version 32 bits ?
Pour la version 64 bits voici les packages demandés :

dnf install SDL SDL_image SDL_ttf gtk2-devel openal-soft alsa-lib alsa-plugins-pulseaudio mesa-dri-drivers

Hors ligne

#6 02/03/2020 17:34:43

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Certainement pas une question bête. J'avais cliqué sur le premier lien linux de la première page du site.
Mais apparemment c'est bien la version 64 bits sur la première page également.

Hélas malgré ta commande j'ai toujours le même message...

sudo dnf install SDL SDL_image SDL_ttf gtk2-devel openal-soft alsa-lib alsa-plugins-pulseaudio mesa-dri-drivers
[sudo] Mot de passe de bombastic : 
Dernière vérification de l’expiration des métadonnées effectuée il y a 0:21:38 le lun. 02 mars 2020 16:12:20 CET.
Le paquet SDL-1.2.15-40.fc29.x86_64 est déjà installé.
Le paquet SDL-1.2.15-40.fc29.i686 est déjà installé.
Le paquet SDL_image-1.2.12-20.fc29.i686 est déjà installé.
Le paquet SDL_ttf-2.0.11-13.fc29.x86_64 est déjà installé.
Le paquet gtk2-devel-2.24.32-4.fc29.x86_64 est déjà installé.
Le paquet openal-soft-1.18.2-6.fc29.x86_64 est déjà installé.
Le paquet alsa-lib-1.1.9-1.fc29.x86_64 est déjà installé.
Le paquet alsa-plugins-pulseaudio-1.1.9-1.fc29.x86_64 est déjà installé.
Le paquet mesa-dri-drivers-18.3.6-3.fc29.x86_64 est déjà installé.
Dépendances résolues.
Rien à faire.
Terminé !
[bombastic@localhost df_linux]$ ./df
./libs/Dwarf_Fortress: error while loading shared libraries: libSDL_image-1.2.so.0: cannot open shared object file: No such file or directory

Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#7 02/03/2020 18:24:30

nouvo09
Accro à Fedo !
Lieu : Paris
Inscription : 22/09/2005
Messages : 22 701

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Le paquet SDL_image-1.2.12-20.fc29.i686 est déjà installé.

Il t a une raison pour que ce paquet soit installé en i686 ?


C'est pas parce que c'est difficile qu'on n'ose pas,
c'est parce qu'on ose pas que c'est difficile !

Hors ligne

#8 03/03/2020 09:48:42

madko
Contributeur Fedora et Linuxé depuis 1994
Modérateur
Lieu : Noisy the Great (9³)
Inscription : 22/12/2006
Messages : 8 472
Site Web

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

file ./df

pour vérifier si c'est du 32 ou 64bits. Si c'est du 64 essaye de bien tout installer en 64bits pour SDL

Tente aussi un

ldd ./libs/Dwarf_Fortress

Linux, ya moins bien, mais c'est plus chèr!!!
Fedora 32 WorkStation sur HP 850 G5
Fedora 32 SilverBlue sur Lenovo Thinkpad Yoga 12

Hors ligne

#9 03/03/2020 13:38:06

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

nouvo09 a écrit :
Le paquet SDL_image-1.2.12-20.fc29.i686 est déjà installé.

Il t a une raison pour que ce paquet soit installé en i686 ?

Franchement je ne sais pas.

madko a écrit :
file ./df

pour vérifier si c'est du 32 ou 64bits. Si c'est du 64 essaye de bien tout installer en 64bits pour SDL

Tente aussi un

ldd ./libs/Dwarf_Fortress
file ./df
./df: POSIX shell script, ASCII text executable

Sinon, j'ai recherché le vrai exécutable sur lequel pointe ce script, dans le dossier libs. Voici le résultat:

file Dwarf_Fortress
Dwarf_Fortress: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=af474654f7b3e7818c31718690ed2e8a524c8a6b, stripped
ldd ./libs/Dwarf_Fortress
./libs/Dwarf_Fortress: /home/bombastic/df_linux/./libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib64/libGLU.so.1)
./libs/Dwarf_Fortress: /home/bombastic/df_linux/./libs/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib64/libGLU.so.1)
	linux-vdso.so.1 (0x00007ffecc56c000)
	libSDL-1.2.so.0 => /lib64/libSDL-1.2.so.0 (0x00007f671e7d0000)
	libgraphics.so => /home/bombastic/df_linux/./libs/libgraphics.so (0x00007f671e18c000)
	libstdc++.so.6 => /home/bombastic/df_linux/./libs/libstdc++.so.6 (0x00007f671de88000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f671dd04000)
	libgcc_s.so.1 => /home/bombastic/df_linux/./libs/libgcc_s.so.1 (0x00007f671daee000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f671d928000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f671d920000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f671d8ff000)
	libgtk-x11-2.0.so.0 => /lib64/libgtk-x11-2.0.so.0 (0x00007f671d465000)
	libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f671d40f000)
	libSDL_image-1.2.so.0 => not found
	libGLU.so.1 => /lib64/libGLU.so.1 (0x00007f671d39d000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f671d381000)
	libSDL_ttf-2.0.so.0 => /lib64/libSDL_ttf-2.0.so.0 (0x00007f671d378000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f671e895000)
	libgdk-x11-2.0.so.0 => /lib64/libgdk-x11-2.0.so.0 (0x00007f671d2b0000)
	libgmodule-2.0.so.0 => /lib64/libgmodule-2.0.so.0 (0x00007f671d2aa000)
	libpangocairo-1.0.so.0 => /lib64/libpangocairo-1.0.so.0 (0x00007f671d299000)
	libX11.so.6 => /lib64/libX11.so.6 (0x00007f671d154000)
	libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f671d149000)
	libatk-1.0.so.0 => /lib64/libatk-1.0.so.0 (0x00007f671d120000)
	libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f671cffc000)
	libgdk_pixbuf-2.0.so.0 => /lib64/libgdk_pixbuf-2.0.so.0 (0x00007f671cfd0000)
	libgio-2.0.so.0 => /lib64/libgio-2.0.so.0 (0x00007f671ce24000)
	libpangoft2-1.0.so.0 => /lib64/libpangoft2-1.0.so.0 (0x00007f671ce0a000)
	libpango-1.0.so.0 => /lib64/libpango-1.0.so.0 (0x00007f671cdbe000)
	libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f671cc9e000)
	libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007f671cc57000)
	libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f671cbe4000)
	libffi.so.6 => /lib64/libffi.so.6 (0x00007f671cbd9000)
	libGL.so.1 => /lib64/libGL.so.1 (0x00007f671cb45000)
	libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f671ca85000)
	libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f671ca78000)
	libXinerama.so.1 => /lib64/libXinerama.so.1 (0x00007f671ca73000)
	libXi.so.6 => /lib64/libXi.so.6 (0x00007f671ca61000)
	libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f671ca54000)
	libXcursor.so.1 => /lib64/libXcursor.so.1 (0x00007f671ca47000)
	libXcomposite.so.1 => /lib64/libXcomposite.so.1 (0x00007f671ca40000)
	libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007f671ca3b000)
	libXext.so.6 => /lib64/libXext.so.6 (0x00007f671ca26000)
	libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f671c9fb000)
	libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f671c954000)
	libpng16.so.16 => /lib64/libpng16.so.16 (0x00007f671c91c000)
	libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f671c917000)
	libxcb-render.so.0 => /lib64/libxcb-render.so.0 (0x00007f671c907000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f671c8fd000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f671c8d0000)
	libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f671c8b6000)
	libmount.so.1 => /lib64/libmount.so.1 (0x00007f671c857000)
	libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f671c7a2000)
	libthai.so.0 => /lib64/libthai.so.0 (0x00007f671c796000)
	libfribidi.so.0 => /lib64/libfribidi.so.0 (0x00007f671c778000)
	libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f671c73b000)
	libGLX.so.0 => /lib64/libGLX.so.0 (0x00007f671c705000)
	libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f671c648000)
	libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f671c635000)
	libXau.so.6 => /lib64/libXau.so.6 (0x00007f671c630000)
	libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007f671c5a1000)
	libblkid.so.1 => /lib64/libblkid.so.1 (0x00007f671c54c000)
	libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f671c543000)
	libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f671c51e000)
	libdatrie.so.1 => /lib64/libdatrie.so.1 (0x00007f671c514000)

Dernière modification par Bombastic (03/03/2020 13:41:35)


Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#10 03/03/2020 13:58:57

Refuznik
Membre
Inscription : 31/01/2007
Messages : 7 783

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

C'est bien ce que je disais dans précedent post si tu es en x64 installe la lib correspondante :

dnf install SDL_image-1.2.12-20.fc29.x86_64

Hors ligne

#11 03/03/2020 14:48:47

madko
Contributeur Fedora et Linuxé depuis 1994
Modérateur
Lieu : Noisy the Great (9³)
Inscription : 22/12/2006
Messages : 8 472
Site Web

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

C'est la seule qui reste introuvable d'après le ldd donc ça va le faire


Linux, ya moins bien, mais c'est plus chèr!!!
Fedora 32 WorkStation sur HP 850 G5
Fedora 32 SilverBlue sur Lenovo Thinkpad Yoga 12

Hors ligne

#12 03/03/2020 15:20:23

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Bien joué les gars mais maintenant j'ai un nouveau message (espérons que c'est bientôt fini).

./df
./libs/Dwarf_Fortress: /home/bombastic/df_linux/libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib64/libGLU.so.1)
./libs/Dwarf_Fortress: /home/bombastic/df_linux/libs/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib64/libGLU.so.1)

Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#13 03/03/2020 15:55:24

Refuznik
Membre
Inscription : 31/01/2007
Messages : 7 783

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

mesa-libGLU est il installé et dans la bonne version ?

Hors ligne

#14 04/03/2020 13:06:19

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Refuznik a écrit :

mesa-libGLU est il installé et dans la bonne version ?

Comment je peux voir ça?


Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#15 04/03/2020 20:08:35

madko
Contributeur Fedora et Linuxé depuis 1994
Modérateur
Lieu : Noisy the Great (9³)
Inscription : 22/12/2006
Messages : 8 472
Site Web

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Avec la commande rpm par ex:

rpm -qa|grep GLU

Linux, ya moins bien, mais c'est plus chèr!!!
Fedora 32 WorkStation sur HP 850 G5
Fedora 32 SilverBlue sur Lenovo Thinkpad Yoga 12

Hors ligne

#16 05/03/2020 13:37:54

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Voilà:

rpm -qa|grep GLU
mesa-libGLU-devel-9.0.0-16.fc29.x86_64
mesa-libGLU-9.0.0-16.fc29.x86_64

Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#17 14/03/2020 14:42:11

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Toujours pas d'idées pour résoudre le problème?


Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#18 14/03/2020 17:02:55

Nicosss
Rédacteur Wiki
Rédacteur Wiki
Lieu : Isère
Inscription : 05/03/2007
Messages : 6 015
Site Web

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Que contiennent les fichiers README.linux, readme.txt et command line.txt ?


F33_64 Gnome-Shell - GA-990FXA-UD3 - Phenom II X6 1100T - NH-D14 - Ati HD 5750 Fanless - 16Go RAM /&/ F33_64 Gnome-Shell - Toshiba Satellite C660D-19X - 8Go RAM
F32_64 - ASRock 960GC-GS FX - AMD FX(tm)-8300 - 16Go RAM

Hors ligne

#19 16/03/2020 12:42:40

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

readme.txt

Slaves to Armok: God of Blood
Chapter II: Dwarf Fortress


*** COPYRIGHT INFORMATION ****************************

Copyright (c) 2002-2020.  All rights are retained by Tarn Adams, save the following:  you may redistribute the unmodified binary and accompanying files, provided you do so free of charge.  You may distribute modified text files from the data and raw folders (see the readme.txt in those folders for more information).  We'd appreciate it if you credit yourself or an alias somewhere for any modifications to prevent confusion with vanilla DF (it helps with bug reports).  If you'd like to distribute a modified version of the game or portion of the archive and are worried about copyright infringement, please contact Tarn Adams at toadyone@bay12games.com.

This software is still in development, and this means that there are going to be problems, including serious problems that, however unlikely, might damage your system or the information stored on it.  Please be aware of this before playing.


*** NOTES ********************************************

For help with gameplay, press the help key (initially '?') after starting the game.  You might have to press ESC and use 2/8 to select keybindings on non-US keyboards in order to get the help key to work properly.

As of February 2020, you can also get help at the fan-created dwarffortresswiki.org.  Please make use of and contribute to this valuable resource.

Visit www.bay12games.com to report problems, discuss the game and read information on future development.  There are also other games there.
All of the games there are free.  If you paid for this game, get the latest version for free at bay12games.com, and let me know who was charging you at tarn.adams@gmail.com.

See release_notes.txt for information on handling saves and a brief writeup on the changes for this version.
See file_changes.txt for new init/interface information.
See command_line.txt for information on world generation from command lines.


*** SUPPORT BAY 12 ***********************************

Bay 12 Games is fan-supported.  We've put a lot of time and effort into these games, which are all freely distributed, but we can't survive on your feedback alone.  Donations are appreciated.  Visit www.bay12games.com/support.html to see how you can help.


*** CREDITS ******************************************

Programming: Tarn Adams

Design: Tarn and Zach Adams

Music: Tarn Adams

Initial Playtesting: Alan Ames, Alex Mooney, Martin Packman, Robyn Ringland and Zonk

Lots of HTML/IT stuff: Martin Packman

First Mac port: Matthew Moss and eli

SDL port, and additional changes: Bernard Helyer (see license below)

OpenGL upgrade to this millenium, and additional changes: Svein Ove Aas (see license below)

Additional changes to the SDL Port and related main loop/input code: Theodorick Grau (see license below)

DF 2010 Playtesting: Svein Ove Aas, Aquillion, Kyle Brodzky, Richard Jensen, Nathan Miller aka Rainseeker, Alex Mooney, Robyn Ringland, Chris Rogers

Bug Tracker Managers: Anthony Drawdy, Knight Otu, Logical2u, Chris Rogers, lethosor




Many suggestions from fans on the bay12games.com and other forums (and the #bay12games IRC channel) have been incorporated over the years.  The code contributions credited above that are in use by the game are distributed with the Linux version (see the g_src directory and licenses below).


*** OPTIPNG ******************************************

optipng is bundled into the zip for use to change BMPs into PNGs easily, at least until PNG support is added to DF itself.  The license is included in this folder.  You can get the optipng documentation and source at http://optipng.sourceforge.net.  You can use the compress_bitmaps batch file to convert any BMP in the folder to PNG.  The BMP files are deleted afterward.


*** NOTES ON MODIFICATIONS ***************************

Existing save files will become unusable if any raw/objects entries are removed.  If you change the configuration of the bodies of existing creatures, save files may become unstable.  New additions to the files are not incorporated into existing worlds but will be added to the next world you generate.

We do not accept submissions for the official Dwarf Fortress releases.  Please do not ask for your code, art, sound or raw/objects txt files to be incorporated into the official releases.


*** SDL PORT/OPENGL UPGRADE LICENSE ******************

The game uses code by Svein Ove Aas (OpenGL upgrade) and Bernard Helyer (who did the SDL port).  This code was distributed under the following license (and will be made available at some point at bay12games.com/games after it's tested a bit more):

Copyright (c) 2008, Svein Ove Aas, parts by Tarn Adams, portions Bernard Helyer
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

*** Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
*** Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
*** The names of Tarn Adams, Zach Adams, Svein Ove Aas, Bernard Helyer and Bay 12 Games may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Additional changes to the SDL Port and related main loop/input code by Theodorick Grau, who provided the following license:

Full license, ownership, and copyright is hereby granted to Tarn Adams, Zach Adams, Bay 12 Games(represensations thereof), and all assignees they may designate; for all source code submitted by me to any of the above mentioned parties.

I retain no rights to any source code once it has been submitted.  I also make no guarantees as to the fitness or mechantibility of any source code.  All source code, submitted by me, and its binary products are wholly property of the above named parties.

Signed this day the 11th of January 2009,
Theodorick Grau


*** LIBRARIES ****************************************

DF uses the FMOD Sound System
Copyright (C) Firelight Technologies Pty, Ltd., 1994-2006.

The SDL version of DF uses SDL - Simple DirectMedia Layer
Copyright (C) 1997-2006 Sam Lantinga
See the SDL folder for license information.

This SDL version of DF uses The OpenGL Extension Wrangler Library.  What follows is the GLEW License.
*** start GLEW license ***
Copyright (C) 2002-2007, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2007, Marcelo E. Magallon <mmagallo[]debian org>
Copyright (C) 2002, Lev Povalahev
All rights reserved.

Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, 
  this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, 
  this list of conditions and the following disclaimer in the documentation 
  and/or other materials provided with the distribution.
* The name of the author may be used to endorse or promote products 
  derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
*** end GLEW license ***

Portions of the SDL version are copyright (c)2008 The FreeType Project (www.freetype.org).  All rights reserved.

ncurses:

/****************************************************************************
 * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc.              *
 *                                                                          *
 * Permission is hereby granted, free of charge, to any person obtaining a  *
 * copy of this software and associated documentation files (the            *
 * "Software"), to deal in the Software without restriction, including      *
 * without limitation the rights to use, copy, modify, merge, publish,      *
 * distribute, distribute with modifications, sublicense, and/or sell       *
 * copies of the Software, and to permit persons to whom the Software is    *
 * furnished to do so, subject to the following conditions:                 *
 *                                                                          *
 * The above copyright notice and this permission notice shall be included  *
 * in all copies or substantial portions of the Software.                   *
 *                                                                          *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
 * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
 * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
 *                                                                          *
 * Except as contained in this notice, the name(s) of the above copyright   *
 * holders shall not be used in advertising or otherwise to promote the     *
 * sale, use or other dealings in this Software without prior written       *
 * authorization.                                                           *
 ****************************************************************************/

README.linux

-------------------
System Requirements
-------------------

In addition to the hardware requirements (which will be the same as the other
platforms) your system will need these libraries installed:

* GTK+ 2+
* SDL 1.2+
* SDL_image

And some kind of OpenGL implementation, so:

* libgl
* libglu



-------------------
Commandline Options
-------------------

-sound_output : sets the sound system to use. Possible values:
    ALSA - Use the Advanced Linux Sound Architecture. (default)
    OSS  - Use the Open Sound System.
    ESD  - Use the Enlightenment Sound Daemon.
    
If you need to use one of the alternative systems and want to avoid 
having to run from a terminal everytime, add the switch and the sound
system required to the df script. 



-------------------
  Known   Issues
-------------------

* If the mouse cursor is enabled, and you are running fullscreen
  it reacts strangely around the leftmost and topmost edges of the screen.
* Recorded movies will flicker every few frames, with artifacts on
  larger screen sizes.
* If the lock keys (caps lock, num lock, etc) do not work for you, open
  the df file in a text editor and remove the line that reads
  
  export SDL_DISABLE_LOCK_KEYS=1
  
  it's a work around for a bug in the SDL package in Debian based distributions,
  that reverses the behaviour of the above environmental variable.

command line.txt

See readme.txt for general information about the release.
See release_notes.txt for information on handling saves and a brief writeup on the changes for this version.
See file_changes.txt for new init/interface information.


Dwarf Fortress Command Line Options


Dwarf Fortress currently offers one command line option, a world generator, suggested by genmac.  You can use it as follows:

FORMAT:	"Dwarf Fortress.exe" -gen <id number> <seed> <world gen param title>
EXAMPLE:	"Dwarf Fortress.exe" -gen 1 3498 "MEDIUM ISLAND"
EXAMPLE:	"Dwarf Fortress.exe" -gen 2 RANDOM CUSTOM6

This will open a silent, introless dwarf fortress, generate a world with the given id number and seed, export the region files and a picture, and finally quit.  The window remains open so you can see what's going on.  You can still abort world generation while it is running.  If you attempt to create a world number that already exists, it will abort immediately.

Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#20 16/03/2020 13:49:23

madko
Contributeur Fedora et Linuxé depuis 1994
Modérateur
Lieu : Noisy the Great (9³)
Inscription : 22/12/2006
Messages : 8 472
Site Web

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Dans le repertoire où tu as df, fais

mv libs/libstdc++.so.6 libs/libstdc++.so.6.off

et retente de lancer ./df


Linux, ya moins bien, mais c'est plus chèr!!!
Fedora 32 WorkStation sur HP 850 G5
Fedora 32 SilverBlue sur Lenovo Thinkpad Yoga 12

Hors ligne

#21 17/03/2020 13:09:55

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Alors là, chapeau! Ça fonctionne... Il va falloir que tu m'expliques ce que tu as fais. big_smile


Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#22 17/03/2020 23:21:09

madko
Contributeur Fedora et Linuxé depuis 1994
Modérateur
Lieu : Noisy the Great (9³)
Inscription : 22/12/2006
Messages : 8 472
Site Web

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

et bin le binaire du jeu ./libs/Dwarf_Fortress utilisait le libstdc++ qu'il trouvait dans son répertoire, et du coup n'utilisait pas celui du système. Et si tu utilises pas celui du système, tu peux pas aller chercher les autres dépendances (en gros). C'est pour ça que malgré avoir installé les bons RPM, il continuait à ne pas trouver les libs correspondantes. Pis bon c'est assez mal vu d'embarquer de grosse lib comme la libstdc++ plutôt que d'utiliser celle du système. C'est plutôt ça qui m'a décidé à faire un rm de celle fournit par DF. Et hop ça c'es t mis à marcher !


Linux, ya moins bien, mais c'est plus chèr!!!
Fedora 32 WorkStation sur HP 850 G5
Fedora 32 SilverBlue sur Lenovo Thinkpad Yoga 12

Hors ligne

#23 18/03/2020 12:25:07

Bombastic
Membre
Inscription : 28/09/2007
Messages : 383

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

Tu as donc renommé le nom du fichier dans le répertoire dans un qu'il ne reconnaîtra pas afin qu'il utilise simplement celui du système?


Fedora 32 - 64 bits / AMD Ryzen / Gigabyte Radeon 5600 XT / bureau Gnome.

Hors ligne

#24 18/03/2020 13:22:54

madko
Contributeur Fedora et Linuxé depuis 1994
Modérateur
Lieu : Noisy the Great (9³)
Inscription : 22/12/2006
Messages : 8 472
Site Web

Re : [Résolu] Problème pour lancer le jeu Dwarf Fortress.

exactement. Sur mon poste je l'ai carrément supprimé mais c'est bourrin. Donc le renommer en un truc qu'il ne reconnaîtra plus est plus conseillé. Pis surtout si ça n'avait rien changé chez toi le retour arrière est possible ;)


Linux, ya moins bien, mais c'est plus chèr!!!
Fedora 32 WorkStation sur HP 850 G5
Fedora 32 SilverBlue sur Lenovo Thinkpad Yoga 12

Hors ligne

Pied de page des forums