Question

How to mount DigitalOcean Space on CentOS 7

Posted October 13, 2020 160 views
Nginx

As I was following through the tutorial on the same topic (https://geektnt.com/how-to-mount-digitalocean-space-on-centos-7.html), I successfully established and download with (git clone https://github.com/s3fs-fuse/s3fs-fuse.git)
but error command.

1)

[root@centos-s-1vcpu-1gb-sgp1-01 s3fs-fuse]# ./configure:
- onfigure: error: Package requirements (fuse >= 2.8.4 libcurl >= 7.0 libxml-2.0 >= 2.6 ) were not met:
- 
- No package 'fuse' found
- No package 'libcurl' found
- 
- Consider adjusting the PKG_CONFIG_PATH environment variable if you
- installed software in a non-standard prefix.
- 
- Alternatively, you may set the environment variables common_lib_checking_CFLAGS
- and common_lib_checking_LIBS to avoid the need to call pkg-config.
- See the pkg-config man page for more details.

2)

[root@centos-s-1vcpu-1gb-sgp1-01 s3fs-fuse]# make
   make: *** No targets specified and no makefile found.  Stop.
   [.root@centos-s-1vcpu-1gb-sgp1-01 s3fs-fuse]#
edited by MattIPv4

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hello,

It looks like you have not installed the required dependencies, to do so first run:

sudo yum install gcc libstdc++-devel gcc-c++ fuse fuse-devel curl-devel libxml2-devel mailcap git automake make

And then proceed with the ./configure command.

Let me know how it goes.

Regards,
Bobby

@bobbyiliev Hello,
I already install all and run update command again but the same problem. Maybe have problem from SG1 region (my droplet created in SG1) ?

Please check under screenshot, when on browser I create centos 7.6 but after ssh then show 7.8 ? it’s have issue here ?
Screenshot

Please help me check soon because I urgent with it.

Thanks,
Long Nguyen

edited by MattIPv4
  • Hi,

    I just tested it on a fresh new CentOS 7 Droplet and it seems to work as expected.

    What I will suggest is rather than building the s3fs from source, just install it with yum:

    • First add the EPEL repository:
    sudo yum install epel-release
    
    • Then install s3fs:
    sudo yum install s3fs-fuse
    

    That way you don’t have to download the source files and compile it with the configure and make commands. You can straight proceed to step 2.

    CentOS 7.8 is not a problem in any way, it is even better as it is updated.

    Regards,
    Bobby

Submit an Answer