xiongxu / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

s3fs: error while loading shared libraries: libcurl.so.4 #91

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using CENTOS 5 and i have have installed curl from 
http://curl.haxx.se/download/curl-7.21.0.tar.gz

whenever i try to run s3fs i get the following:

s3fs: error while loading shared libraries: libcurl.so.4: cannot open shared 
object file: No such file or directory

however I do have it, when is run whereis libcurlso.4:
libcurl.so: /usr/lib/libcurl.so.3 /usr/local/lib/libcurl.so 
/usr/local/lib/libcurl.so.4

little concerned as to why i have a /usr/lib/libcurl.so.3 too but maybe thats 
normal?

Original issue reported on code.google.com by backtog...@gmail.com on 25 Jun 2010 at 3:58

GoogleCodeExporter commented 9 years ago
never mind, its been a while since i seriously used linux and did not think of 
the obvious.

Answer = ln -s /usr/local/lib/libcurl.so.4 /usr/lib/libcurl.so.4 

DOH!!

would be good for CENTOS users if s3fs actualy looked in /usr/local/lib though?

Original comment by backtog...@gmail.com on 25 Jun 2010 at 4:50

GoogleCodeExporter commented 9 years ago
Closing this issue -- user fixed the issue with a link.  However, this appears 
to be a problem with the dynamic linker not looking in /usr/local/lib  Check 
the ldconfig man page and /etc/ld.so.conf

Original comment by dmoore4...@gmail.com on 19 Oct 2010 at 4:57