[GH-ISSUE #2] Can't install - package requirements #2

Closed
opened 2026-03-04 01:41:02 +03:00 by kerem · 15 comments
Owner

Originally created by @jacobischwartz on GitHub (Dec 25, 2013).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2

Hi,

I've installed s3fs before on other Ubuntu systems but this time I'm running into issues. This is also the first time I'm using a Bitnami Ubuntu stack so it's completely possible that's related. Here's my install attempt:

$ sudo ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for pkg-config... /opt/bitnami/common/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... no
configure: error: Package requirements (fuse >= 2.8.4 libcurl >= 7.0 libxml-2.0 >= 2.6 libcrypto >= 0.9) were not met:

No package 'fuse' found
No package 'libcurl' found
No package 'libxml-2.0' found
No package 'libcrypto' 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 DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

The interesting thing is that the packages listed ARE installed and DO meet the version requirements:

$ pkg-config --list-all
iso-codes        iso-codes - ISO country, language, script and currency codes and translations
libtasn1         libtasn1 - Library for ASN.1 and DER manipulation
gnutls           GnuTLS - Transport Security Layer implementation for the GNU system
p11-kit-1        p11-kit - Library and proxy module for properly loading and sharing PKCS
libsepol         libsepol - SELinux policy library
openssl          OpenSSL - Secure Sockets Layer and cryptography libraries and tools
xkeyboard-config XKeyboardConfig - X Keyboard configuration data
librtmp          librtmp - RTMP implementation
libselinux       libselinux - SELinux utility library
fuse             fuse - Filesystem in Userspace
libcrypto        OpenSSL-libcrypto - OpenSSL cryptography library
zlib             zlib - zlib compression library
libxml-2.0       libXML - libXML library version2.
com_err          com_err - Common error description library
udev             udev - udev
usbutils         usbutils - USB device database
libidn           Libidn - IETF stringprep, nameprep, punycode, IDNA text processing.
libcurl          libcurl - Library to transfer files with ftp, http, etc.
gnutls-extra     GnuTLS-extra - Additional add-ons for GnuTLS licensed under GPL
dbus-python      dbus-python - Python bindings for D-Bus
libssl           OpenSSL - Secure Sockets Layer and cryptography libraries

Obviously pkg-config can see those packages so I'm not sure why the installer can't. Any ideas what's going on?

Cheers,

Jacob

Originally created by @jacobischwartz on GitHub (Dec 25, 2013). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2 Hi, I've installed s3fs before on other Ubuntu systems but this time I'm running into issues. This is also the first time I'm using a Bitnami Ubuntu stack so it's completely possible that's related. Here's my install attempt: ``` $ sudo ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for pkg-config... /opt/bitnami/common/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for DEPS... no configure: error: Package requirements (fuse >= 2.8.4 libcurl >= 7.0 libxml-2.0 >= 2.6 libcrypto >= 0.9) were not met: No package 'fuse' found No package 'libcurl' found No package 'libxml-2.0' found No package 'libcrypto' 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 DEPS_CFLAGS and DEPS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ``` The interesting thing is that the packages listed ARE installed and DO meet the version requirements: ``` $ pkg-config --list-all iso-codes iso-codes - ISO country, language, script and currency codes and translations libtasn1 libtasn1 - Library for ASN.1 and DER manipulation gnutls GnuTLS - Transport Security Layer implementation for the GNU system p11-kit-1 p11-kit - Library and proxy module for properly loading and sharing PKCS libsepol libsepol - SELinux policy library openssl OpenSSL - Secure Sockets Layer and cryptography libraries and tools xkeyboard-config XKeyboardConfig - X Keyboard configuration data librtmp librtmp - RTMP implementation libselinux libselinux - SELinux utility library fuse fuse - Filesystem in Userspace libcrypto OpenSSL-libcrypto - OpenSSL cryptography library zlib zlib - zlib compression library libxml-2.0 libXML - libXML library version2. com_err com_err - Common error description library udev udev - udev usbutils usbutils - USB device database libidn Libidn - IETF stringprep, nameprep, punycode, IDNA text processing. libcurl libcurl - Library to transfer files with ftp, http, etc. gnutls-extra GnuTLS-extra - Additional add-ons for GnuTLS licensed under GPL dbus-python dbus-python - Python bindings for D-Bus libssl OpenSSL - Secure Sockets Layer and cryptography libraries ``` Obviously pkg-config can see those packages so I'm not sure why the installer can't. Any ideas what's going on? Cheers, Jacob
kerem closed this issue 2026-03-04 01:41:02 +03:00
Author
Owner

@stuart-warren commented on GitHub (Dec 27, 2013):

Try (should work for Ubuntu precise)
sudo apt-get install libfuse-dev libcurl4-openssl-dev libxml++2.6-dev libssl-dev

<!-- gh-comment-id:31270007 --> @stuart-warren commented on GitHub (Dec 27, 2013): Try (should work for Ubuntu precise) sudo apt-get install libfuse-dev libcurl4-openssl-dev libxml++2.6-dev libssl-dev
Author
Owner

@jacobischwartz commented on GitHub (Dec 27, 2013):

Thanks - just tried that. Here's the package install output:

Reading package lists... Done
Building dependency tree
Reading state information... Done
libfuse-dev is already the newest version.
libcurl4-openssl-dev is already the newest version.
libssl-dev is already the newest version.
libssl-dev set to manually installed.
The following extra packages will be installed:
  libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglibmm-2.4-1c2a libglibmm-2.4-dev libpcre3-dev libpcrecpp0 libsigc++-2.0-dev
  libxml++2.6-2
Suggested packages:
  libglib2.0-doc libglibmm-2.4-doc libgtkmm-3.0-dev libsigc++-2.0-doc libxml++2.6-doc
Recommended packages:
  shared-mime-info
The following NEW packages will be installed:
  libglib2.0-bin libglib2.0-data libglib2.0-dev libglibmm-2.4-1c2a libglibmm-2.4-dev libpcre3-dev libpcrecpp0 libsigc++-2.0-dev libxml++2.6-2
  libxml++2.6-dev
The following packages will be upgraded:
  libglib2.0-0
1 upgraded, 10 newly installed, 0 to remove and 66 not upgraded.
Need to get 5,129 kB of archives.
After this operation, 21.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libglib2.0-0 amd64 2.32.4-0ubuntu1 [1,200 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libglib2.0-data all 2.32.4-0ubuntu1 [89.2 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libglib2.0-bin amd64 2.32.4-0ubuntu1 [40.0 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libglibmm-2.4-1c2a amd64 2.32.0-0ubuntu1 [481 kB]
Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libpcrecpp0 amd64 8.12-4 [16.2 kB]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libpcre3-dev amd64 8.12-4 [232 kB]
Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libglib2.0-dev amd64 2.32.4-0ubuntu1 [1,812 kB]
Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libsigc++-2.0-dev amd64 2.2.10-0ubuntu2 [81.0 kB]
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libglibmm-2.4-dev amd64 2.32.0-0ubuntu1 [1,044 kB]
Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libxml++2.6-2 amd64 2.34.1-1build1 [57.1 kB]
Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libxml++2.6-dev amd64 2.34.1-1build1 [76.9 kB]
Fetched 5,129 kB in 0s (5,985 kB/s)
(Reading database ... 79281 files and directories currently installed.)
Preparing to replace libglib2.0-0 2.32.3-0ubuntu1 (using .../libglib2.0-0_2.32.4-0ubuntu1_amd64.deb) ...
Unpacking replacement libglib2.0-0 ...
Selecting previously unselected package libglib2.0-data.
Unpacking libglib2.0-data (from .../libglib2.0-data_2.32.4-0ubuntu1_all.deb) ...
Selecting previously unselected package libglib2.0-bin.
Unpacking libglib2.0-bin (from .../libglib2.0-bin_2.32.4-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libglibmm-2.4-1c2a.
Unpacking libglibmm-2.4-1c2a (from .../libglibmm-2.4-1c2a_2.32.0-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libpcrecpp0.
Unpacking libpcrecpp0 (from .../libpcrecpp0_8.12-4_amd64.deb) ...
Selecting previously unselected package libpcre3-dev.
Unpacking libpcre3-dev (from .../libpcre3-dev_8.12-4_amd64.deb) ...
Selecting previously unselected package libglib2.0-dev.
Unpacking libglib2.0-dev (from .../libglib2.0-dev_2.32.4-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libsigc++-2.0-dev.
Unpacking libsigc++-2.0-dev (from .../libsigc++-2.0-dev_2.2.10-0ubuntu2_amd64.deb) ...
Selecting previously unselected package libglibmm-2.4-dev.
Unpacking libglibmm-2.4-dev (from .../libglibmm-2.4-dev_2.32.0-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libxml++2.6-2.
Unpacking libxml++2.6-2 (from .../libxml++2.6-2_2.34.1-1build1_amd64.deb) ...
Selecting previously unselected package libxml++2.6-dev.
Unpacking libxml++2.6-dev (from .../libxml++2.6-dev_2.34.1-1build1_amd64.deb) ...
Processing triggers for man-db ...
Setting up libglib2.0-0 (2.32.4-0ubuntu1) ...
No schema files found: doing nothing.
Setting up libglib2.0-data (2.32.4-0ubuntu1) ...
Setting up libglib2.0-bin (2.32.4-0ubuntu1) ...
Setting up libglibmm-2.4-1c2a (2.32.0-0ubuntu1) ...
Setting up libpcrecpp0 (8.12-4) ...
Setting up libpcre3-dev (8.12-4) ...
Setting up libglib2.0-dev (2.32.4-0ubuntu1) ...
Setting up libsigc++-2.0-dev (2.2.10-0ubuntu2) ...
Setting up libglibmm-2.4-dev (2.32.0-0ubuntu1) ...
Setting up libxml++2.6-2 (2.34.1-1build1) ...
Setting up libxml++2.6-dev (2.34.1-1build1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

Unfortunately I got the exact same errors when trying to install s3fs.

Here's the updated pkg-config --list-all output:

libselinux            libselinux - SELinux utility library
libidn                Libidn - IETF stringprep, nameprep, punycode, IDNA text processing.
gio-unix-2.0          GIO unix specific APIs - unix specific headers for glib I/O library
com_err               com_err - Common error description library
gio-2.0               GIO - glib I/O library
libpcreposix          libpcreposix - PCREPosix - Posix compatible interface to libpcre
giomm-2.4             giomm - C++ binding for gio
usbutils              usbutils - USB device database
libcurl               libcurl - Library to transfer files with ftp, http, etc.
p11-kit-1             p11-kit - Library and proxy module for properly loading and sharing PKCS
iso-codes             iso-codes - ISO country, language, script and currency codes and translations
gobject-2.0           GObject - GLib Type, Object, Parameter and Signal Library
fuse                  fuse - Filesystem in Userspace
gmodule-export-2.0    GModule - Dynamic module loader for GLib
glibmm-2.4            glibmm - C++ wrapper for GLib
libxml-2.0            libXML - libXML library version2.
libpcrecpp            libpcrecpp - PCRECPP - C++ wrapper for PCRE
openssl               OpenSSL - Secure Sockets Layer and cryptography libraries and tools
libpcre               libpcre - PCRE - Perl compatible regular expressions C library
libxml++-2.6          libxml++ - C++ wrapper for libxml
libcrypto             OpenSSL-libcrypto - OpenSSL cryptography library
glib-2.0              GLib - C Utility Library
udev                  udev - udev
gnutls-extra          GnuTLS-extra - Additional add-ons for GnuTLS licensed under GPL
gmodule-2.0           GModule - Dynamic module loader for GLib
libssl                OpenSSL - Secure Sockets Layer and cryptography libraries
gthread-2.0           GThread - Thread support for GLib
sigc++-2.0            libsigc++ - Typesafe signal and callback system for C++
librtmp               librtmp - RTMP implementation
libtasn1              libtasn1 - Library for ASN.1 and DER manipulation
zlib                  zlib - zlib compression library
gnutls                GnuTLS - Transport Security Layer implementation for the GNU system
xkeyboard-config      XKeyboardConfig - X Keyboard configuration data
libsepol              libsepol - SELinux policy library
gmodule-no-export-2.0 GModule - Dynamic module loader for GLib
dbus-python           dbus-python - Python bindings for D-Bus

Are you aware of any hard path dependencies? I know that Bitnami puts things in different locations than most Ubuntu instances. I had to modify the PATH variable just to get pkg-config to list those packages. See here:
http://flummox-engineering.blogspot.com/2011/06/workaround-for-bitnamis-custom-path.html

<!-- gh-comment-id:31271401 --> @jacobischwartz commented on GitHub (Dec 27, 2013): Thanks - just tried that. Here's the package install output: ``` Reading package lists... Done Building dependency tree Reading state information... Done libfuse-dev is already the newest version. libcurl4-openssl-dev is already the newest version. libssl-dev is already the newest version. libssl-dev set to manually installed. The following extra packages will be installed: libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglibmm-2.4-1c2a libglibmm-2.4-dev libpcre3-dev libpcrecpp0 libsigc++-2.0-dev libxml++2.6-2 Suggested packages: libglib2.0-doc libglibmm-2.4-doc libgtkmm-3.0-dev libsigc++-2.0-doc libxml++2.6-doc Recommended packages: shared-mime-info The following NEW packages will be installed: libglib2.0-bin libglib2.0-data libglib2.0-dev libglibmm-2.4-1c2a libglibmm-2.4-dev libpcre3-dev libpcrecpp0 libsigc++-2.0-dev libxml++2.6-2 libxml++2.6-dev The following packages will be upgraded: libglib2.0-0 1 upgraded, 10 newly installed, 0 to remove and 66 not upgraded. Need to get 5,129 kB of archives. After this operation, 21.2 MB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libglib2.0-0 amd64 2.32.4-0ubuntu1 [1,200 kB] Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libglib2.0-data all 2.32.4-0ubuntu1 [89.2 kB] Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libglib2.0-bin amd64 2.32.4-0ubuntu1 [40.0 kB] Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libglibmm-2.4-1c2a amd64 2.32.0-0ubuntu1 [481 kB] Get:5 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libpcrecpp0 amd64 8.12-4 [16.2 kB] Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libpcre3-dev amd64 8.12-4 [232 kB] Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libglib2.0-dev amd64 2.32.4-0ubuntu1 [1,812 kB] Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libsigc++-2.0-dev amd64 2.2.10-0ubuntu2 [81.0 kB] Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libglibmm-2.4-dev amd64 2.32.0-0ubuntu1 [1,044 kB] Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libxml++2.6-2 amd64 2.34.1-1build1 [57.1 kB] Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ precise/main libxml++2.6-dev amd64 2.34.1-1build1 [76.9 kB] Fetched 5,129 kB in 0s (5,985 kB/s) (Reading database ... 79281 files and directories currently installed.) Preparing to replace libglib2.0-0 2.32.3-0ubuntu1 (using .../libglib2.0-0_2.32.4-0ubuntu1_amd64.deb) ... Unpacking replacement libglib2.0-0 ... Selecting previously unselected package libglib2.0-data. Unpacking libglib2.0-data (from .../libglib2.0-data_2.32.4-0ubuntu1_all.deb) ... Selecting previously unselected package libglib2.0-bin. Unpacking libglib2.0-bin (from .../libglib2.0-bin_2.32.4-0ubuntu1_amd64.deb) ... Selecting previously unselected package libglibmm-2.4-1c2a. Unpacking libglibmm-2.4-1c2a (from .../libglibmm-2.4-1c2a_2.32.0-0ubuntu1_amd64.deb) ... Selecting previously unselected package libpcrecpp0. Unpacking libpcrecpp0 (from .../libpcrecpp0_8.12-4_amd64.deb) ... Selecting previously unselected package libpcre3-dev. Unpacking libpcre3-dev (from .../libpcre3-dev_8.12-4_amd64.deb) ... Selecting previously unselected package libglib2.0-dev. Unpacking libglib2.0-dev (from .../libglib2.0-dev_2.32.4-0ubuntu1_amd64.deb) ... Selecting previously unselected package libsigc++-2.0-dev. Unpacking libsigc++-2.0-dev (from .../libsigc++-2.0-dev_2.2.10-0ubuntu2_amd64.deb) ... Selecting previously unselected package libglibmm-2.4-dev. Unpacking libglibmm-2.4-dev (from .../libglibmm-2.4-dev_2.32.0-0ubuntu1_amd64.deb) ... Selecting previously unselected package libxml++2.6-2. Unpacking libxml++2.6-2 (from .../libxml++2.6-2_2.34.1-1build1_amd64.deb) ... Selecting previously unselected package libxml++2.6-dev. Unpacking libxml++2.6-dev (from .../libxml++2.6-dev_2.34.1-1build1_amd64.deb) ... Processing triggers for man-db ... Setting up libglib2.0-0 (2.32.4-0ubuntu1) ... No schema files found: doing nothing. Setting up libglib2.0-data (2.32.4-0ubuntu1) ... Setting up libglib2.0-bin (2.32.4-0ubuntu1) ... Setting up libglibmm-2.4-1c2a (2.32.0-0ubuntu1) ... Setting up libpcrecpp0 (8.12-4) ... Setting up libpcre3-dev (8.12-4) ... Setting up libglib2.0-dev (2.32.4-0ubuntu1) ... Setting up libsigc++-2.0-dev (2.2.10-0ubuntu2) ... Setting up libglibmm-2.4-dev (2.32.0-0ubuntu1) ... Setting up libxml++2.6-2 (2.34.1-1build1) ... Setting up libxml++2.6-dev (2.34.1-1build1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place ``` Unfortunately I got the exact same errors when trying to install s3fs. Here's the updated pkg-config --list-all output: ``` libselinux libselinux - SELinux utility library libidn Libidn - IETF stringprep, nameprep, punycode, IDNA text processing. gio-unix-2.0 GIO unix specific APIs - unix specific headers for glib I/O library com_err com_err - Common error description library gio-2.0 GIO - glib I/O library libpcreposix libpcreposix - PCREPosix - Posix compatible interface to libpcre giomm-2.4 giomm - C++ binding for gio usbutils usbutils - USB device database libcurl libcurl - Library to transfer files with ftp, http, etc. p11-kit-1 p11-kit - Library and proxy module for properly loading and sharing PKCS iso-codes iso-codes - ISO country, language, script and currency codes and translations gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library fuse fuse - Filesystem in Userspace gmodule-export-2.0 GModule - Dynamic module loader for GLib glibmm-2.4 glibmm - C++ wrapper for GLib libxml-2.0 libXML - libXML library version2. libpcrecpp libpcrecpp - PCRECPP - C++ wrapper for PCRE openssl OpenSSL - Secure Sockets Layer and cryptography libraries and tools libpcre libpcre - PCRE - Perl compatible regular expressions C library libxml++-2.6 libxml++ - C++ wrapper for libxml libcrypto OpenSSL-libcrypto - OpenSSL cryptography library glib-2.0 GLib - C Utility Library udev udev - udev gnutls-extra GnuTLS-extra - Additional add-ons for GnuTLS licensed under GPL gmodule-2.0 GModule - Dynamic module loader for GLib libssl OpenSSL - Secure Sockets Layer and cryptography libraries gthread-2.0 GThread - Thread support for GLib sigc++-2.0 libsigc++ - Typesafe signal and callback system for C++ librtmp librtmp - RTMP implementation libtasn1 libtasn1 - Library for ASN.1 and DER manipulation zlib zlib - zlib compression library gnutls GnuTLS - Transport Security Layer implementation for the GNU system xkeyboard-config XKeyboardConfig - X Keyboard configuration data libsepol libsepol - SELinux policy library gmodule-no-export-2.0 GModule - Dynamic module loader for GLib dbus-python dbus-python - Python bindings for D-Bus ``` Are you aware of any hard path dependencies? I know that Bitnami puts things in different locations than most Ubuntu instances. I had to modify the PATH variable just to get pkg-config to list those packages. See here: http://flummox-engineering.blogspot.com/2011/06/workaround-for-bitnamis-custom-path.html
Author
Owner

@jonstanley commented on GitHub (Jan 14, 2014):

Build the source the Debian way... and works for me on Ubuntu 12.04.4LTS (precise) and 14.04 (trusty). Install dh-make package if you haven't already... I ignored the make test equivalent part as didn't want to run the build as root. There's something about should s3fs ever go into the Debian/Ubuntu repo, the Debianised source needs to be able to build without invoking root.

$ tar -zxvf s3fs-1.74.tar.gz
$ cd s3fs-1.74
$ dh_make -s -f ../s3fs-1.74.tar.gz
$ nano ./debian/control
$ DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -B -aamd64
$ cd ../
$ sudo dpkg -i s3fs_1.74-1_amd64.deb

My ./debian/control looks like this:

Source: s3fs
Section: unknown
Priority: optional
Maintainer: Jonathan Stanley <notme@somedomain.tld>
Build-Depends: debhelper (>= 8.0.0), autotools-dev
Standards-Version: 3.9.4
Homepage: https://github.com/s3fs-fuse/s3fs-fuse
Vcs-Git: https://github.com/s3fs-fuse/s3fs-fuse.git
Vcs-Browser: https://github.com/s3fs-fuse/s3fs-fuse

Package: s3fs
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}, fuse | fuse-utils, libfuse2, mime-support
Description: FUSE-based file system backed by Amazon S3
 FUSE-based file system backed by Amazon S3.
 Mount a bucket as a local file system read/write.
 Store files/folders natively and transparently.
<!-- gh-comment-id:32236890 --> @jonstanley commented on GitHub (Jan 14, 2014): Build the source the Debian way... and works for me on Ubuntu 12.04.4LTS (precise) and 14.04 (trusty). Install `dh-make` package if you haven't already... I ignored the `make test` equivalent part as didn't want to run the build as root. There's something about should `s3fs` ever go into the Debian/Ubuntu repo, the Debianised source needs to be able to build without invoking root. ``` $ tar -zxvf s3fs-1.74.tar.gz $ cd s3fs-1.74 $ dh_make -s -f ../s3fs-1.74.tar.gz $ nano ./debian/control $ DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -B -aamd64 $ cd ../ $ sudo dpkg -i s3fs_1.74-1_amd64.deb ``` My `./debian/control` looks like this: ``` Source: s3fs Section: unknown Priority: optional Maintainer: Jonathan Stanley <notme@somedomain.tld> Build-Depends: debhelper (>= 8.0.0), autotools-dev Standards-Version: 3.9.4 Homepage: https://github.com/s3fs-fuse/s3fs-fuse Vcs-Git: https://github.com/s3fs-fuse/s3fs-fuse.git Vcs-Browser: https://github.com/s3fs-fuse/s3fs-fuse Package: s3fs Architecture: amd64 Depends: ${shlibs:Depends}, ${misc:Depends}, fuse | fuse-utils, libfuse2, mime-support Description: FUSE-based file system backed by Amazon S3 FUSE-based file system backed by Amazon S3. Mount a bucket as a local file system read/write. Store files/folders natively and transparently. ```
Author
Owner

@jacobischwartz commented on GitHub (Jan 25, 2014):

Cheers, that all seemed to work (though I used the more recent 1.76 version of s3fs). The first time I tried building, it quit with the following error:

dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package s3fs-fuse
dpkg-buildpackage: source version 1.76-1
dpkg-buildpackage: source changed by Jacob Schwartz <jschwartz@unknown>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build s3fs-fuse-1.76
dpkg-source: error: source package has two conflicting values - s3fs and s3fs-fuse
dpkg-buildpackage: error: dpkg-source --before-build s3fs-fuse-1.76 gave error exit status 255

So I changed the source and package names to s3fs-fuse and it seemed to install without errors (some warnings):

dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package s3fs-fuse
dpkg-buildpackage: source version 1.76-1
dpkg-buildpackage: source changed by Jacob Schwartz <jschwartz@unknown>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build s3fs-fuse-1.76
 debian/rules clean
dh clean 
   dh_testdir
   dh_auto_clean
   dh_clean
 debian/rules build
dh build 
   dh_testdir
   dh_auto_configure
   dh_auto_build
   dh_auto_test
 debian/rules binary-arch
dh binary-arch 
   dh_auto_test -a
   dh_testroot -a
   dh_prep -a
   dh_installdirs -a
   dh_auto_install -a
   dh_install -a
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installexamples -a
   dh_installman -a
   dh_installcatalogs -a
   dh_installcron -a
   dh_installdebconf -a
   dh_installemacsen -a
   dh_installifupdown -a
   dh_installinfo -a
   dh_installinit -a
   dh_installmenu -a
   dh_installmime -a
   dh_installmodules -a
   dh_installlogcheck -a
   dh_installlogrotate -a
   dh_installpam -a
   dh_installppp -a
   dh_installudev -a
   dh_installwm -a
   dh_installxfonts -a
   dh_installgsettings -a
   dh_bugfiles -a
   dh_ucf -a
   dh_lintian -a
   dh_gconf -a
   dh_icons -a
   dh_perl -a
   dh_usrlocal -a
   dh_link -a
   dh_compress -a
   dh_fixperms -a
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
   dh_installdeb -a
   dh_gencontrol -a
dpkg-gencontrol: warning: Depends field of package s3fs-fuse: unknown substitution variable ${shlibs:Depends}
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package `s3fs-fuse' in `../s3fs-fuse_1.76-1_amd64.deb'.
 dpkg-genchanges -B >../s3fs-fuse_1.76-1_amd64.changes
dpkg-genchanges: arch-specific upload - not including arch-independent packages
dpkg-genchanges: binary-only upload - not including any source code
 dpkg-source --after-build s3fs-fuse-1.76
dpkg-buildpackage: binary only upload (no source included)

But to be honest this is stretching the limit of my experience... I guess I'm not really confident that things installed correctly and I don't even know where the installed package sits :P

So based on all this,

  1. Did it actually install correctly, and
  2. Where can I find the installation in order to use it?

Thanks a lot!

Jacob

<!-- gh-comment-id:33295196 --> @jacobischwartz commented on GitHub (Jan 25, 2014): Cheers, that all seemed to work (though I used the more recent 1.76 version of s3fs). The first time I tried building, it quit with the following error: ``` dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2 dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro dpkg-buildpackage: source package s3fs-fuse dpkg-buildpackage: source version 1.76-1 dpkg-buildpackage: source changed by Jacob Schwartz <jschwartz@unknown> dpkg-buildpackage: host architecture amd64 dpkg-source --before-build s3fs-fuse-1.76 dpkg-source: error: source package has two conflicting values - s3fs and s3fs-fuse dpkg-buildpackage: error: dpkg-source --before-build s3fs-fuse-1.76 gave error exit status 255 ``` So I changed the source and package names to s3fs-fuse and it seemed to install without errors (some warnings): ``` dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2 dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro dpkg-buildpackage: source package s3fs-fuse dpkg-buildpackage: source version 1.76-1 dpkg-buildpackage: source changed by Jacob Schwartz <jschwartz@unknown> dpkg-buildpackage: host architecture amd64 dpkg-source --before-build s3fs-fuse-1.76 debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean debian/rules build dh build dh_testdir dh_auto_configure dh_auto_build dh_auto_test debian/rules binary-arch dh binary-arch dh_auto_test -a dh_testroot -a dh_prep -a dh_installdirs -a dh_auto_install -a dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installexamples -a dh_installman -a dh_installcatalogs -a dh_installcron -a dh_installdebconf -a dh_installemacsen -a dh_installifupdown -a dh_installinfo -a dh_installinit -a dh_installmenu -a dh_installmime -a dh_installmodules -a dh_installlogcheck -a dh_installlogrotate -a dh_installpam -a dh_installppp -a dh_installudev -a dh_installwm -a dh_installxfonts -a dh_installgsettings -a dh_bugfiles -a dh_ucf -a dh_lintian -a dh_gconf -a dh_icons -a dh_perl -a dh_usrlocal -a dh_link -a dh_compress -a dh_fixperms -a dh_strip -a dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dpkg-gencontrol: warning: Depends field of package s3fs-fuse: unknown substitution variable ${shlibs:Depends} dh_md5sums -a dh_builddeb -a dpkg-deb: building package `s3fs-fuse' in `../s3fs-fuse_1.76-1_amd64.deb'. dpkg-genchanges -B >../s3fs-fuse_1.76-1_amd64.changes dpkg-genchanges: arch-specific upload - not including arch-independent packages dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build s3fs-fuse-1.76 dpkg-buildpackage: binary only upload (no source included) ``` But to be honest this is stretching the limit of my experience... I guess I'm not really confident that things installed correctly and I don't even know where the installed package sits :P So based on all this, 1. Did it actually install correctly, and 2. Where can I find the installation in order to use it? Thanks a lot! Jacob
Author
Owner

@jonstanley commented on GitHub (Jan 26, 2014):

You can issue a which s3fs to see where it was installed (/usr/bin IIRC), then issue a man s3fs which tells you how to use it... then just try out some of the commands, mounting an S3 bucket and seeing if you can read/write/delete to it.

<!-- gh-comment-id:33317432 --> @jonstanley commented on GitHub (Jan 26, 2014): You can issue a `which s3fs` to see where it was installed (`/usr/bin` IIRC), then issue a `man s3fs` which tells you how to use it... then just try out some of the commands, mounting an S3 bucket and seeing if you can read/write/delete to it.
Author
Owner

@jacobischwartz commented on GitHub (Jan 26, 2014):

The which command returned nothing and man couldn't find a manual for s3fs. So I'm guessing that unfortunately the install didn't succeed...?

<!-- gh-comment-id:33319810 --> @jacobischwartz commented on GitHub (Jan 26, 2014): The which command returned nothing and man couldn't find a manual for s3fs. So I'm guessing that unfortunately the install didn't succeed...?
Author
Owner

@jonstanley commented on GitHub (Jan 28, 2014):

After the package built, did you install the .deb file (found in the parent dir of the source-tree) with sudo dpkg -i s3fs_1.74-1_amd64.deb?

<!-- gh-comment-id:33444730 --> @jonstanley commented on GitHub (Jan 28, 2014): After the package built, did you install the `.deb` file (found in the parent dir of the source-tree) with `sudo dpkg -i s3fs_1.74-1_amd64.deb`?
Author
Owner

@jacobischwartz commented on GitHub (Feb 2, 2014):

Silly me. Looks like that did the trick. Cheers for all your help!

<!-- gh-comment-id:33904850 --> @jacobischwartz commented on GitHub (Feb 2, 2014): Silly me. Looks like that did the trick. Cheers for all your help!
Author
Owner

@jacobischwartz commented on GitHub (Feb 2, 2014):

Er I might have spoken too soon. Sorry it took me a couple days to get back to this.

The install seemed to go well but I still can't verify/use the installation. Here's the install output:

(Reading database ... 81000 files and directories currently installed.)
Preparing to replace s3fs-fuse 1.76-1 (using s3fs-fuse_1.76-1_amd64.deb) ...
Unpacking replacement s3fs-fuse ...
Setting up s3fs-fuse (1.76-1) ...

Which and man can't find s3fs (or s3fs-fuse).

<!-- gh-comment-id:33915554 --> @jacobischwartz commented on GitHub (Feb 2, 2014): Er I might have spoken too soon. Sorry it took me a couple days to get back to this. The install seemed to go well but I still can't verify/use the installation. Here's the install output: ``` (Reading database ... 81000 files and directories currently installed.) Preparing to replace s3fs-fuse 1.76-1 (using s3fs-fuse_1.76-1_amd64.deb) ... Unpacking replacement s3fs-fuse ... Setting up s3fs-fuse (1.76-1) ... ``` Which and man can't find s3fs (or s3fs-fuse).
Author
Owner

@jsanpedro commented on GitHub (May 22, 2014):

I may have found an easy workaround for this problem. I was able to build this in Ubuntu 14.04 just by using the following:

autoreconf --install
CPPFLAGS=-I/usr/include/libxml2 ./configure
make install

For some reason the include directory for libxml2 is different than the configure script expects. Let me know if this worked for you guys!

<!-- gh-comment-id:43868148 --> @jsanpedro commented on GitHub (May 22, 2014): I may have found an easy workaround for this problem. I was able to build this in Ubuntu 14.04 just by using the following: autoreconf --install CPPFLAGS=-I/usr/include/libxml2 ./configure make install For some reason the include directory for libxml2 is different than the configure script expects. Let me know if this worked for you guys!
Author
Owner

@ggtakec commented on GitHub (May 25, 2014):

I don't know why libxml2 include path is not generate in Makefile.
Could you check the DEPS_CFLAGS value in Makefile before you installed autoreconf?
(And now what value does your Makefile have for DEPS_CFLAGS after installed?)

My Makefile on ubuntu 14.04 has following:
DEPS_CFLAGS = -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I/usr/include/libxml2

Regards,

<!-- gh-comment-id:44111505 --> @ggtakec commented on GitHub (May 25, 2014): I don't know why libxml2 include path is not generate in Makefile. Could you check the DEPS_CFLAGS value in Makefile before you installed autoreconf? (And now what value does your Makefile have for DEPS_CFLAGS after installed?) My Makefile on ubuntu 14.04 has following: DEPS_CFLAGS = -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I/usr/include/libxml2 Regards,
Author
Owner

@intelliant01 commented on GitHub (Aug 12, 2015):

Am on an Ubuntu 12.04 LTS Bitnami Magento stack, hence am posting it herein as it seems a quiet similar problem.

Have been trying to install s3fs latest release available herein.

Will a lot of struggle managed to get some of the package dependencies resolved. However, have not succeeded completely. Hence am here seeking help before giving up.

root@test-server:/usr/src/s3fs-fuse-master# ./autogen.sh
root@test-server:/usr/src/s3fs-fuse-master# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking s3fs build with nettle(GnuTLS)... no
checking s3fs build with OpenSSL... no
checking s3fs build with GnuTLS... no
checking s3fs build with NSS... no
checking for pkg-config... /opt/bitnami/common/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for common_lib_checking... yes
checking compile s3fs with... OpenSSL
checking for DEPS... yes
checking for malloc_trim... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating doc/Makefile
config.status: executing depfiles commands
root@ip-10-121-65-218:/usr/src/s3fs-fuse-master# make
Making all in src
make[1]: Entering directory `/usr/src/s3fs-fuse-master/src'
g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I.  -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2      -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT s3fs.o -MD -MP -MF .deps/s3fs.Tpo -c -o s3fs.o s3fs.cpp
mv -f .deps/s3fs.Tpo .deps/s3fs.Po
g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I.  -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2      -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT curl.o -MD -MP -MF .deps/curl.Tpo -c -o curl.o curl.cpp
mv -f .deps/curl.Tpo .deps/curl.Po
g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I.  -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2      -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o cache.cpp
mv -f .deps/cache.Tpo .deps/cache.Po
g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I.  -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2      -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT string_util.o -MD -MP -MF .deps/string_util.Tpo -c -o string_util.o string_util.cpp
mv -f .deps/string_util.Tpo .deps/string_util.Po
g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I.  -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2      -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT s3fs_util.o -MD -MP -MF .deps/s3fs_util.Tpo -c -o s3fs_util.o s3fs_util.cpp
mv -f .deps/s3fs_util.Tpo .deps/s3fs_util.Po
g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I.  -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2      -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT fdcache.o -MD -MP -MF .deps/fdcache.Tpo -c -o fdcache.o fdcache.cpp
mv -f .deps/fdcache.Tpo .deps/fdcache.Po
g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I.  -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2      -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT common_auth.o -MD -MP -MF .deps/common_auth.Tpo -c -o common_auth.o common_auth.cpp
mv -f .deps/common_auth.Tpo .deps/common_auth.Po
g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I.  -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2      -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT openssl_auth.o -MD -MP -MF .deps/openssl_auth.Tpo -c -o openssl_auth.o openssl_auth.cpp
mv -f .deps/openssl_auth.Tpo .deps/openssl_auth.Po
g++  -g -O2 -Wall -D_FILE_OFFSET_BITS=64   -o s3fs s3fs.o curl.o cache.o string_util.o s3fs_util.o fdcache.o common_auth.o openssl_auth.o   -pthread -L/usr/local/lib -L/opt/bitnami/common/lib -lfuse -lcurl -lxml2 -lcrypto
/lib/x86_64-linux-gnu/libssl.so.1.0.0: undefined reference to `CRYPTO_memcmp@OPENSSL_1.0.0'
/opt/bitnami/common/lib/libcurl.so: undefined reference to `SSLv2_client_method@OPENSSL_1.0.0'
/opt/bitnami/common/lib/libxml2.so: undefined reference to `gzopen64@ZLIB_1.2.3.3'
collect2: ld returned 1 exit status
make[1]: *** [s3fs] Error 1
make[1]: Leaving directory `/usr/src/s3fs-fuse-master/src'
make: *** [all-recursive] Error 1

Had to adjust the PKG_CONFIG_PATH to ensure all library modules were being picked up -

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/bitnami/common/lib/pkgconfig/:/usr/lib/x86_64-linux-gnu/pkgconfig/

as I found several non-standard module installations -

root@test-server:/usr/src/s3fs-fuse-master# locate .pc
/lib/modules/3.2.0-61-virtual/modules.pcimap
/opt/bitnami/common/lib/pkgconfig/apr-1.pc
/opt/bitnami/common/lib/pkgconfig/apr-util-1.pc
/opt/bitnami/common/lib/pkgconfig/freetype2.pc
/opt/bitnami/common/lib/pkgconfig/icu-i18n.pc
/opt/bitnami/common/lib/pkgconfig/icu-io.pc
/opt/bitnami/common/lib/pkgconfig/icu-le.pc
/opt/bitnami/common/lib/pkgconfig/icu-lx.pc
/opt/bitnami/common/lib/pkgconfig/icu-uc.pc
/opt/bitnami/common/lib/pkgconfig/libcrypto.pc
/opt/bitnami/common/lib/pkgconfig/libcurl.pc
/opt/bitnami/common/lib/pkgconfig/libexslt.pc
/opt/bitnami/common/lib/pkgconfig/libpcre.pc
/opt/bitnami/common/lib/pkgconfig/libpcreposix.pc
/opt/bitnami/common/lib/pkgconfig/libpng.pc
/opt/bitnami/common/lib/pkgconfig/libpng15.pc
/opt/bitnami/common/lib/pkgconfig/libssl.pc
/opt/bitnami/common/lib/pkgconfig/libtiff-4.pc
/opt/bitnami/common/lib/pkgconfig/libxml-2.0.pc
/opt/bitnami/common/lib/pkgconfig/libxslt.pc
/opt/bitnami/common/lib/pkgconfig/openssl.pc
/opt/bitnami/common/lib/pkgconfig/tcnative-1.pc
/opt/bitnami/common/lib/pkgconfig/yaml-0.1.pc
/opt/bitnami/common/lib/pkgconfig/zlib.pc
/opt/bitnami/sqlite/lib/pkgconfig/sqlite3.pc
/opt/bitnami/varnish/lib/pkgconfig/varnishapi.pc
/usr/lib/pkgconfig/dbus-python.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/com_err.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/gnutls-extra.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/gnutls.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libcrypto.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libcurl.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libidn.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/librtmp.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libssl.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libtasn1.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libxml-2.0.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/openssl.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/p11-kit-1.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/zlib.pc
/usr/local/lib/pkgconfig/fuse.pc
/usr/share/pkgconfig/iso-codes.pc
/usr/share/pkgconfig/udev.pc
/usr/share/pkgconfig/usbutils.pc
/usr/share/pkgconfig/xkeyboard-config.pc
/usr/src/fuse-2.9.4/fuse.pc
/usr/src/fuse-2.9.4/fuse.pc.in

Am not sure if the problem is more due to the bitnami way of organising stuff or plain ubuntu problem.

Any guidance in this regard will be much appreciated.

The alternate solution seems to be to upgrade the bitnami stack to 14.04 Ubuntu, which is something I would like to avoid for another month or so at least.

<!-- gh-comment-id:130332199 --> @intelliant01 commented on GitHub (Aug 12, 2015): Am on an Ubuntu 12.04 LTS Bitnami Magento stack, hence am posting it herein as it seems a quiet similar problem. Have been trying to install s3fs latest release available herein. Will a lot of struggle managed to get some of the package dependencies resolved. However, have not succeeded completely. Hence am here seeking help before giving up. ``` root@test-server:/usr/src/s3fs-fuse-master# ./autogen.sh root@test-server:/usr/src/s3fs-fuse-master# ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking s3fs build with nettle(GnuTLS)... no checking s3fs build with OpenSSL... no checking s3fs build with GnuTLS... no checking s3fs build with NSS... no checking for pkg-config... /opt/bitnami/common/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for common_lib_checking... yes checking compile s3fs with... OpenSSL checking for DEPS... yes checking for malloc_trim... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating doc/Makefile config.status: executing depfiles commands root@ip-10-121-65-218:/usr/src/s3fs-fuse-master# make Making all in src make[1]: Entering directory `/usr/src/s3fs-fuse-master/src' g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT s3fs.o -MD -MP -MF .deps/s3fs.Tpo -c -o s3fs.o s3fs.cpp mv -f .deps/s3fs.Tpo .deps/s3fs.Po g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT curl.o -MD -MP -MF .deps/curl.Tpo -c -o curl.o curl.cpp mv -f .deps/curl.Tpo .deps/curl.Po g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o cache.cpp mv -f .deps/cache.Tpo .deps/cache.Po g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT string_util.o -MD -MP -MF .deps/string_util.Tpo -c -o string_util.o string_util.cpp mv -f .deps/string_util.Tpo .deps/string_util.Po g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT s3fs_util.o -MD -MP -MF .deps/s3fs_util.Tpo -c -o s3fs_util.o s3fs_util.cpp mv -f .deps/s3fs_util.Tpo .deps/s3fs_util.Po g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT fdcache.o -MD -MP -MF .deps/fdcache.Tpo -c -o fdcache.o fdcache.cpp mv -f .deps/fdcache.Tpo .deps/fdcache.Po g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT common_auth.o -MD -MP -MF .deps/common_auth.Tpo -c -o common_auth.o common_auth.cpp mv -f .deps/common_auth.Tpo .deps/common_auth.Po g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.79\" -DPACKAGE_STRING=\"s3fs\ 1.79\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.79\" -DHAVE_MALLOC_TRIM=1 -I. -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -I/opt/bitnami/common/include -I/opt/bitnami/common/include/libxml2 -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT openssl_auth.o -MD -MP -MF .deps/openssl_auth.Tpo -c -o openssl_auth.o openssl_auth.cpp mv -f .deps/openssl_auth.Tpo .deps/openssl_auth.Po g++ -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -o s3fs s3fs.o curl.o cache.o string_util.o s3fs_util.o fdcache.o common_auth.o openssl_auth.o -pthread -L/usr/local/lib -L/opt/bitnami/common/lib -lfuse -lcurl -lxml2 -lcrypto /lib/x86_64-linux-gnu/libssl.so.1.0.0: undefined reference to `CRYPTO_memcmp@OPENSSL_1.0.0' /opt/bitnami/common/lib/libcurl.so: undefined reference to `SSLv2_client_method@OPENSSL_1.0.0' /opt/bitnami/common/lib/libxml2.so: undefined reference to `gzopen64@ZLIB_1.2.3.3' collect2: ld returned 1 exit status make[1]: *** [s3fs] Error 1 make[1]: Leaving directory `/usr/src/s3fs-fuse-master/src' make: *** [all-recursive] Error 1 ``` Had to adjust the PKG_CONFIG_PATH to ensure all library modules were being picked up - ``` PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/bitnami/common/lib/pkgconfig/:/usr/lib/x86_64-linux-gnu/pkgconfig/ ``` as I found several non-standard module installations - ``` root@test-server:/usr/src/s3fs-fuse-master# locate .pc /lib/modules/3.2.0-61-virtual/modules.pcimap /opt/bitnami/common/lib/pkgconfig/apr-1.pc /opt/bitnami/common/lib/pkgconfig/apr-util-1.pc /opt/bitnami/common/lib/pkgconfig/freetype2.pc /opt/bitnami/common/lib/pkgconfig/icu-i18n.pc /opt/bitnami/common/lib/pkgconfig/icu-io.pc /opt/bitnami/common/lib/pkgconfig/icu-le.pc /opt/bitnami/common/lib/pkgconfig/icu-lx.pc /opt/bitnami/common/lib/pkgconfig/icu-uc.pc /opt/bitnami/common/lib/pkgconfig/libcrypto.pc /opt/bitnami/common/lib/pkgconfig/libcurl.pc /opt/bitnami/common/lib/pkgconfig/libexslt.pc /opt/bitnami/common/lib/pkgconfig/libpcre.pc /opt/bitnami/common/lib/pkgconfig/libpcreposix.pc /opt/bitnami/common/lib/pkgconfig/libpng.pc /opt/bitnami/common/lib/pkgconfig/libpng15.pc /opt/bitnami/common/lib/pkgconfig/libssl.pc /opt/bitnami/common/lib/pkgconfig/libtiff-4.pc /opt/bitnami/common/lib/pkgconfig/libxml-2.0.pc /opt/bitnami/common/lib/pkgconfig/libxslt.pc /opt/bitnami/common/lib/pkgconfig/openssl.pc /opt/bitnami/common/lib/pkgconfig/tcnative-1.pc /opt/bitnami/common/lib/pkgconfig/yaml-0.1.pc /opt/bitnami/common/lib/pkgconfig/zlib.pc /opt/bitnami/sqlite/lib/pkgconfig/sqlite3.pc /opt/bitnami/varnish/lib/pkgconfig/varnishapi.pc /usr/lib/pkgconfig/dbus-python.pc /usr/lib/x86_64-linux-gnu/pkgconfig/com_err.pc /usr/lib/x86_64-linux-gnu/pkgconfig/gnutls-extra.pc /usr/lib/x86_64-linux-gnu/pkgconfig/gnutls.pc /usr/lib/x86_64-linux-gnu/pkgconfig/libcrypto.pc /usr/lib/x86_64-linux-gnu/pkgconfig/libcurl.pc /usr/lib/x86_64-linux-gnu/pkgconfig/libidn.pc /usr/lib/x86_64-linux-gnu/pkgconfig/librtmp.pc /usr/lib/x86_64-linux-gnu/pkgconfig/libssl.pc /usr/lib/x86_64-linux-gnu/pkgconfig/libtasn1.pc /usr/lib/x86_64-linux-gnu/pkgconfig/libxml-2.0.pc /usr/lib/x86_64-linux-gnu/pkgconfig/openssl.pc /usr/lib/x86_64-linux-gnu/pkgconfig/p11-kit-1.pc /usr/lib/x86_64-linux-gnu/pkgconfig/zlib.pc /usr/local/lib/pkgconfig/fuse.pc /usr/share/pkgconfig/iso-codes.pc /usr/share/pkgconfig/udev.pc /usr/share/pkgconfig/usbutils.pc /usr/share/pkgconfig/xkeyboard-config.pc /usr/src/fuse-2.9.4/fuse.pc /usr/src/fuse-2.9.4/fuse.pc.in ``` Am not sure if the problem is more due to the bitnami way of organising stuff or plain ubuntu problem. Any guidance in this regard will be much appreciated. The alternate solution seems to be to upgrade the bitnami stack to 14.04 Ubuntu, which is something I would like to avoid for another month or so at least.
Author
Owner

@kahing commented on GitHub (Aug 12, 2015):

my guess is that it's picking up libcurl from /opt but that's incompatible with your libssl in /lib.

<!-- gh-comment-id:130426476 --> @kahing commented on GitHub (Aug 12, 2015): my guess is that it's picking up libcurl from /opt but that's incompatible with your libssl in /lib.
Author
Owner

@intelliant01 commented on GitHub (Aug 13, 2015):

@kahing You were spot on -

Modified

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/bitnami/common/lib/pkgconfig/:/usr/lib/x86_64-linux-gnu/pkgconfig/

to

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig/

and it is all working perfectly fine.
Thank you.

<!-- gh-comment-id:130628949 --> @intelliant01 commented on GitHub (Aug 13, 2015): @kahing You were spot on - Modified ``` PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/bitnami/common/lib/pkgconfig/:/usr/lib/x86_64-linux-gnu/pkgconfig/ ``` to ``` PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig/ ``` and it is all working perfectly fine. Thank you.
Author
Owner

@ggtakec commented on GitHub (Jan 17, 2016):

I closed this issue, but if you have more problem, pleae post new issue.
Thanks in advance for your help.

<!-- gh-comment-id:172295015 --> @ggtakec commented on GitHub (Jan 17, 2016): I closed this issue, but if you have more problem, pleae post new issue. Thanks in advance for your help.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2
No description provided.