Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 13 14 [15] 16 17 ... 22

Author Topic: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack  (Read 165863 times)

paxy97

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.23 with Dwarf Therapist/DFhack
« Reply #210 on: January 25, 2015, 11:21:01 am »

I just tried running the latest .24 release, but dfhack isn't working. the standard df_linux/df runs fine, but df_linux/dfhack gives me this error:

Code: [Select]
pavle@HQ-Linux:~/Downloads/DF_40.24/df_linux$ ./dfhack
./libs/Dwarf_Fortress: /home/pavle/Downloads/DF_40.24/df_linux/libs/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./hack/libdfhack.so)
./libs/Dwarf_Fortress: /home/pavle/Downloads/DF_40.24/df_linux/libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./hack/libdfhack.so)
./libs/Dwarf_Fortress: /home/pavle/Downloads/DF_40.24/df_linux/libs/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by ./hack/libdfhack.so)
./libs/Dwarf_Fortress: /home/pavle/Downloads/DF_40.24/df_linux/libs/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by ./hack/libdfhack.so)
./libs/Dwarf_Fortress: /home/pavle/Downloads/DF_40.24/df_linux/libs/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./hack/libdfhack.so)
./libs/Dwarf_Fortress: /home/pavle/Downloads/DF_40.24/df_linux/libs/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./hack/libprotobuf-lite.so)

There seem to be some missing libraries for dfhack, but the old version .23 runs just fine.

I'm rrunning ubuntu 14.04
Logged
Don't Panic!

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.23 with Dwarf Therapist/DFhack
« Reply #211 on: January 25, 2015, 11:28:45 am »

Yeah, DFHack was built with GCC 4.9 this time, which won't work on systems without its libraries available. I'll try to put together a GCC 4.5 build when I get a chance (probably for r1).
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

paxy97

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.23 with Dwarf Therapist/DFhack
« Reply #212 on: January 25, 2015, 11:43:59 am »

Yeah, DFHack was built with GCC 4.9 this time, which won't work on systems without its libraries available. I'll try to put together a GCC 4.5 build when I get a chance (probably for r1).

Okay thanks, but humour me, which libs do I need to get it to run with GCC 4.9?
Logged
Don't Panic!

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.23 with Dwarf Therapist/DFhack
« Reply #213 on: January 25, 2015, 11:55:59 am »

I don't know exactly what the package name is (gcc49, gcc-49, gcc4.9, gcc-4.9, etc.), but you'd need 32-bit libraries in any case. Something like "sudo apt-get install gcc49" ("gcc49:i386" on 64-bit systems) should do the trick.
Note that some systems might not have this package available at all, but I think Ubuntu 14.04 does.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

paxy97

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.23 with Dwarf Therapist/DFhack
« Reply #214 on: January 25, 2015, 12:24:04 pm »

I don't know exactly what the package name is (gcc49, gcc-49, gcc4.9, gcc-4.9, etc.), but you'd need 32-bit libraries in any case. Something like "sudo apt-get install gcc49" ("gcc49:i386" on 64-bit systems) should do the trick.
Note that some systems might not have this package available at all, but I think Ubuntu 14.04 does.

Sadly I can't install that... It depends on the package binutils:i386 but oracle's java (which I need for something else) requires binutils (the 64bit one) and the 32 and 64 bit versions are in a conflict so I can't install gcc-4.9:i386
Logged
Don't Panic!

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.23 with Dwarf Therapist/DFhack
« Reply #215 on: January 25, 2015, 05:37:06 pm »

Here is a Linux build of DFHack 0.40.24-r1 using GCC 4.5. (It should also be up on Github eventually.)
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Beautato

  • Bay Watcher
    • View Profile
    • Lazy Newb Pack Linux
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #216 on: January 25, 2015, 09:10:44 pm »

Here is a Linux build of DFHack 0.40.24-r1 using GCC 4.5. (It should also be up on Github eventually.)

I used the GCC 4.5 DFhack you provided above,


Lazy Newb Pack Linux V0.40.24 r1 with Dwarf Therapist/DFhack TWBT

Update: 25th, Jan 2015

R1 - Updated DF to v0.40.24, added dfhack v0.40.24 r1, updated graphics, DTv30.1  Added mifki's 5.42 (DF 0.40.24) Text Will Be Text dfhack plugin. :D

* multilevel distance set to 6 and on by default

Download:

x64 Linux available on DFFD

for i686 Linux see Github Releases Here


Website Download [probably faster]:
x64 Website

i686 Website

« Last Edit: January 26, 2015, 01:08:24 pm by Beautato »
Logged

Couchmonster

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #217 on: February 02, 2015, 11:48:22 am »

Running gentoo x64

I get "/bin/sh: symbol lookup error: /bin/sh: undefined symbol: rl_signal_event_hook" when I press the button to start DF
Actually... on any button :)

Dramegno

  • Bay Watcher
  • Gobo the other white meat
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #218 on: February 03, 2015, 12:43:37 am »

okay a quick look I discovered this github thread https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues/1 I don't know if this will help. if not have you can you tell me everything you have tried to do and can you launch any of the utilities, df hack, or df files in the sub-folders of the launcher
Logged
So, it's AnimaRytak, mighty Void God, versus the greatest cluster[FOWL] my incompetence can engineer.

I will be so god damn proud if AMBASSADOR bites your head off.

Couchmonster

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #219 on: February 03, 2015, 06:48:06 am »

I can only launch DF if I do add LD_PRELOAD=/lib32/libz.so.1
dfhack does not work since I do not know where to add the LD_PRELOAD there.
dwarftherapist does work if I start it out of LNP, too.


I am on x86_64-pc-linux-gnu-4.9.2

And I got both qt4 and qt5 on my system.

3.18.3-gentoo #1 SMP Mon Jan 19 15:21:14 CET 2015 x86_64 Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz GenuineIntel GNU/Linux

« Last Edit: February 03, 2015, 06:49:51 am by Couchmonster »
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #220 on: February 03, 2015, 08:57:32 am »

Adding it to PRELOAD_LIB in the dfhack script should work.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Couchmonster

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #221 on: February 03, 2015, 09:29:07 am »

Adding it to PRELOAD_LIB in the dfhack script should work.

How?
If I add it I get segmentation fault.
If I replace it I get no dfhack but working df.

lethosor

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #222 on: February 03, 2015, 09:55:44 am »

Replace
Code: [Select]
PRELOAD_LIB="$PRELOAD_LIB ./hack/libdfhack.so"
with
Code: [Select]
PRELOAD_LIB="/lib32/libz.so.1:./hack/libdfhack.so"
Edit: Ah, there was a problem with spaces in PRELOAD_LIB not being handled correctly, which was fixed in DFHack 0.40.24-r2. Using a colon instead (above) should work.
« Last Edit: February 03, 2015, 09:58:41 am by lethosor »
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Couchmonster

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #223 on: February 03, 2015, 10:22:33 am »

Much appreciated.
dfhack and df now run with ./df ./dfhack
./startlnp still throws the same error when I push any button.

Couchmonster

  • Bay Watcher
    • View Profile
Re: Lazy Newb Pack Linux V0.40.24 with Dwarf Therapist/DFhack
« Reply #224 on: February 04, 2015, 01:11:30 pm »

Maybe this helps you debugging :)
The actual path the PyLNP is:
/home/hem39212/games/dwarf-fortress/04024r1-x64/

Code: [Select]
Exception in Tkinter callback

Traceback (most recent call last):

  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/Tkinter", line 1486, in __call__

  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.launcher", line 46, in run_df

  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.launcher", line 83, in run_program

  File "/home/michael/Desktop/df/python_lnp/build/lnp/out00-PYZ.pyz/core.launcher", line 123, in program_is_running

TypeError: decode() argument 1 must be string, not None
Pages: 1 ... 13 14 [15] 16 17 ... 22