Jump to content
The Dark Mod Forums

Missing libraries in Linux after update


ianrace
 Share

Recommended Posts

Hi all. Dark Mod had no troubles on my Linux box running Ubuntu before the update. The update itself ran smoothly, but the game now refuses to run. I tried to launch it from Terminal to see what was going on and it looks like it's missing the libcurl.so.4 library.

 

I then tried to run the updater again, but it now says that I don't have permission to run the program, even though all the Ubuntu permission are set properly for both the directory and file.

 

Any help would be appreciated. Thanks, as always.

 

Kevin

Link to comment
Share on other sites

Sorry if this a dumb question, but from where do I install that? While I've found mention of it online. I can't find the name of any packages that might actually have it. I did try to install exactly what you typed from apt-get, but no dice. Is there a special ppa I need to direct Ubuntu towards?

Link to comment
Share on other sites

Never mind. I forgot to include the word "install" Silly me.

 

The game works again! Thanks for all the help thus far. The only thing I still haven't been able to figure out is why I no longer have permission to run the updater.

Edited by ianrace
Link to comment
Share on other sites

That library should be static you mean, not go into the wiki. If you ever want 'filesystem portability' of keeping a darkmod around across installs or portable, you need to statically link all required libraries.

 

Welp, that's probably my bad. It should be easy enough to fix that though. I think there are other libs (libpng springs to mind) that are dynamically linked so I'll have to comb through with ldd and move what I can to static libs (but using system provided static libs instead of those "maintained" in the project tree). Stuff like X libs will stay dynamic though.

I am the bat. The night is mine.

Link to comment
Share on other sites

I think there may be an issue here with the updater: after running the updater (tdm_update.linux) I had exactly the issues reported here:

  1. New libcurl dependency (no big deal)
  2. Updated tdm_update.linux no longer marked as executable

Is this (2) already reported as a bug? If not, it *is* a bug!

 

P.S. How's the 64-bit build coming along?

Link to comment
Share on other sites

I think there may be an issue here with the updater: after running the updater (tdm_update.linux) I had exactly the issues reported here:

  1. New libcurl dependency (no big deal)
  2. Updated tdm_update.linux no longer marked as executable

Is this (2) already reported as a bug? If not, it *is* a bug!

 

 

P.S. How's the 64-bit build coming along?

 

1) I'm going to fix the updater for the next update to have libcurl statically compiled, so this shouldn't be and issue next time (not sure what possessed me to make it dynamic)

2) I will investigate this as well since I can't recall any changes to the updater that would cause this (I had a quick peek at the code and from what I saw, it should be getting marked as executable -- will have to look at it properly though).

 

64-bit build will come when we successfully merge dhewm3 changes into TDM. Will have to poke serp to see if he's made any further progress.

I am the bat. The night is mine.

Link to comment
Share on other sites

I'm trying to run the game on arch linux x64. Lib32-curl 7.34.0-2 is installed (also lib32-openssl 1.0.1.f-1). But i get the following error:

 

./thedarkmod.x86: /usr/lib32/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./thedarkmod.x86)

 

As far as i can tell this means my version is too new? Any idea on how to get the correct version?

Link to comment
Share on other sites

Not sure, but if you're really desperate, you can:

 

A: Hunt down a copy of the required .so file from some other distro like Ubuntu 13.10. (It has the proper version)

B: place it in your darkmod folder

C: Use LD_LIBRARY_PATH to force it to use the local file instead of the default /usr/lib location.

 

See also: http://www.linuxques...preload-235321/

Edited by lost_soul

--- War does not decide who is right, war decides who is left.

Link to comment
Share on other sites

I'm trying to run the game on arch linux x64. Lib32-curl 7.34.0-2 is installed (also lib32-openssl 1.0.1.f-1). But i get the following error:

 

./thedarkmod.x86: /usr/lib32/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./thedarkmod.x86)

 

As far as i can tell this means my version is too new? Any idea on how to get the correct version?

 

I'll see if I can't build a new bin file for you with the libs statically compiled. Will PM you with the details.

 

Edit: Didn't get enough time to sort this out. Will have another go tomorrow.

I am the bat. The night is mine.

Link to comment
Share on other sites

@Taaaki, that would be great!

 

@Lost_Soul, seems like something that might work also, i'll just wait on the new file for now though.

 

Offtopic: about your signature: i got this in my xorg.conf to get the old zap X functionality back:

 

Section "InputClass"

Identifier "Keyboard Defaults"

MatchIsKeyboard "yes"

Option "XkbOptions" "terminate:ctrl_alt_bksp"

EndSection

Link to comment
Share on other sites

Taaaki fixed it! With the new files i now have one of the best games out there on the best distro = win-win.

Hope this will be available for everyone soon.

 

Now i will have to do severe 'testing' on each and every map i haven't played so far. And perhaps the other ones as well.

 

 

PS: Had to install lib32 packages for ALSA and PULSE to get sound working.

Link to comment
Share on other sites

  • 2 weeks later...

I'm trying to run the game on arch linux x64. Lib32-curl 7.34.0-2 is installed (also lib32-openssl 1.0.1.f-1). But i get the following error:

 

./thedarkmod.x86: /usr/lib32/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./thedarkmod.x86)

 

I have the same problem on Manjaro x64.

 

Well, the workaround bins I gave you just disabled the HTTPS download capability and reverted to the old static lib. I'm working on proper solution to the problem for the next release whenever that is.

 

Could I get these bins ? ^_^

Link to comment
Share on other sites

Just thought I would mention for the Arch users here and who might find this page like I did - I submitted an AUR package that successfully builds and installs for Arch Linux (with help from taaaki's static bins). Look for it in the comments (I have the same username there) because as of now the maintainer has not updated it. Hope this helps someone.

 

PS - Users of other distributions can download the package and use the links in the PKGBUILD file to download the static bins as well.

-- Shadow53

Link to comment
Share on other sites

Just thought I would mention for the Arch users here and who might find this page like I did - I submitted an AUR package that successfully builds and installs for Arch Linux (with help from taaaki's static bins). Look for it in the comments (I have the same username there) because as of now the maintainer has not updated it. Hope this helps someone.

 

PS - Users of other distributions can download the package and use the links in the PKGBUILD file to download the static bins as well.

 

Hi,

 

I tried the pkgbuild you posted in the AUR comments section. The package builds and at the end of the installation of darkmod-2.01-1-x86_64.pkg.tar.xz I get the following errors,

 

/tmp/alpm_YYImnc/.INSTALL: line 2: [: missing `]'
chmod: missing operand after ‘g=rwx’
Try 'chmod --help' for more information.

 

If I launch the game all I get is a black screen with a mouse pointer which I cannot exit from.

Edited by mips
Link to comment
Share on other sites

Hi,

 

I tried the pkgbuild you posted in the AUR comments section. The package builds and at the end of the installation of darkmod-2.01-1-x86_64.pkg.tar.xz I get the following errors,

 

/tmp/alpm_YYImnc/.INSTALL: line 2: [: missing `]'
chmod: missing operand after ‘g=rwx’
Try 'chmod --help' for more information.

 

If I launch the game all I get is a black screen with a mouse pointer which I cannot exit from.

 

I fixed the error. I forgot to specify which folder to chmod -- silly mistake. It is fixed now so you shouldn't have any more issues.

-- Shadow53

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


  • Recent Status Updates

    • STiFU

      I started skateboarding again after a 20 year hiatus. Whish me luck I don't break anything. 😄
      · 6 replies
    • freyk

      Some years earlier i created some launchers for TDM. uploaded today some new sourcecode and executables on my github repo.
       
      · 0 replies
    • Epifire

      Say, I know it's been a while since the site got overhauled from the crash. But did we ever figure out if/how to get the recent topics & replies list back? It's not a total deal breaker but it was nice for becoming a thread creeper again...


      · 2 replies
    • Epifire

      Some of you who've been on the TDM discord know I was out of work last Winter, just putting in hrs for the developer portfolio. Currently I've been working a seasonal job to pay the bills and now I'm finally in my last week before I get bumped off. Things will be tight but I'm planning a long off period to make as much content as I can. Big plans in Unreal Engine as well as my most ambitious TDM collab yet! Never been so excited to be a stuck at home to pursue my life's work. With a lotta time and maybe some luck, I'm hoping to get enough art work done that I may start applying around to studios.
      · 4 replies
    • STiFU

      I finally got around to play Prey and I truly loved it. It is an incredible homage to System Shock and Deus Ex. While the gameplay is not en par with those two titles, the game makes up for that with its well written lore and story. The whole "world" just feells so authentic and it features a ton of really god environmental story-telling. Recommended for every immersive sim fan, i.e., everyone on this forum.
      · 5 replies
×
×
  • Create New...