libcurl.so.4 is missing but package contaning it is installed?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Inglocks
Level 1
Level 1
Posts: 4
Joined: Thu Feb 09, 2017 5:36 pm

libcurl.so.4 is missing but package contaning it is installed?

Post by Inglocks » Thu Feb 09, 2017 5:50 pm

Hi, So I'm trying to run a game I got on steam it needs the package libcurl3 to run which I have installed. But when launching the game via the run.sh it provides an error message is generated:
error.png
I checked the path from here: http://packages.ubuntu.com/xenial/amd64 ... 3/filelist and found that indeed there is no file called libcurl.so.4 in the folder mentioned in the preceding website. As you can see from the attached images libcurl is indeed installed but yet the files seem to be missing... any ideas?
libcurl.png
P.S If it is of any relevance the game is called Bot Vice

Mute Ant
Level 13
Level 13
Posts: 4926
Joined: Tue Sep 03, 2013 7:45 pm

Re: libcurl.so.4 is missing but package contaning it is installed?

Post by Mute Ant » Fri Feb 10, 2017 10:11 am

My LMDE shows...

-rw-r--r-- 1 root root 525880 Nov 2 00:31 /usr/lib/i386-linux-gnu/libcurl.so.4.3.0

lrwxrwxrwx 1 root root 16 Nov 2 00:31 /usr/lib/i386-linux-gnu/libcurl.so.4 -> libcurl.so.4.3.0

...which is the normal arrangement. The library named in the calling software libcurl.so.4 is a link to the real code libcurl.so.4.3.0 unpacked during installation. You can make the links again...
sudo ldconfig
"ldconfig creates the necessary links and cache to the most recent shared libraries found in...the trusted directories /lib and /usr/lib"

That may not help if there's newer version of libcurl.so.4 in the system, like /usr/local/lib/libcurl.so.4.3.1 ...try it and see.
2018-10-13 Google designs 3-phase feed-forward to improve 2-phased governors with no sense of direction.

Inglocks
Level 1
Level 1
Posts: 4
Joined: Thu Feb 09, 2017 5:36 pm

Re: libcurl.so.4 is missing but package contaning it is installed?

Post by Inglocks » Sat Feb 11, 2017 4:27 pm

Sorry for the late reply... anyway I ran the code given to repair the linkage and still received the same error. I also checked in the folder you mentioned for libcurl.4.3.1 and found only a folder for python there, no libcurl files.

Inglocks
Level 1
Level 1
Posts: 4
Joined: Thu Feb 09, 2017 5:36 pm

Re: libcurl.so.4 is missing but package contaning it is installed?

Post by Inglocks » Sat Mar 04, 2017 8:30 am

Okay so I found libcurl installed at /usr/lib/x86_64-linux-gnu the game expects it at /lib/x86_64-linux-gnu any way to fix this?

grizzler
Level 5
Level 5
Posts: 657
Joined: Wed Jun 15, 2011 5:19 pm
Location: The Hague, NL

Re: libcurl.so.4 is missing but package contaning it is installed?

Post by grizzler » Sat Mar 04, 2017 2:32 pm

Create a symlink with that name pointing to where it really is?

However, if it expects that library file in the wrong place, there's a good chance it will expect others there as well. So be prepared to create more symlinks.

Inglocks
Level 1
Level 1
Posts: 4
Joined: Thu Feb 09, 2017 5:36 pm

Re: libcurl.so.4 is missing but package contaning it is installed?

Post by Inglocks » Sat Mar 04, 2017 8:13 pm

I tried creating a symlink and put it in the folder the game expects them in but it still says no such file or dictionary

Post Reply

Return to “Software & Applications”