Installation problems on RedHatEnt6
See original GitHub issueHi,
Got a bit of a weird problem which I can’t pin down. I’m trying to set up sharp on Red Hat Enterprise 6 but can’t get node to start the app. Any advice would be greatly appreciated, thanks in advance.
> node app.js
module.js:356
Module._extensions[extension](this, filename);
^
Error: libvips.so.38: cannot open shared object file: No such file or directory
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/var/www/testapp/node_modules/sharp/index.js:5:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
The strange thing is libvips.so.38 is exactly where I would expect it to be, /usr/local/lib.
libvips was compiled from source. A few things I’ve checked.
ls -la
total 52380
drwxr-xr-x. 5 root root 4096 Aug 15 17:24 .
drwxr-xr-x. 12 root root 4096 Aug 13 12:07 ..
drwxr-xr-x. 3 root root 4096 Aug 15 17:24 gio
drwxr-xr-x. 3 root root 4096 Aug 15 17:24 glib-2.0
-rwxr-xr-x. 1 root root 1080 Aug 15 17:24 libgio-2.0.la
lrwxrwxrwx. 1 root root 22 Aug 15 17:24 libgio-2.0.so -> libgio-2.0.so.0.4102.0
lrwxrwxrwx. 1 root root 22 Aug 15 17:24 libgio-2.0.so.0 -> libgio-2.0.so.0.4102.0
-rwxr-xr-x. 1 root root 6132519 Aug 15 17:24 libgio-2.0.so.0.4102.0
-rwxr-xr-x. 1 root root 956 Aug 15 17:24 libglib-2.0.la
lrwxrwxrwx. 1 root root 23 Aug 15 17:24 libglib-2.0.so -> libglib-2.0.so.0.4102.0
lrwxrwxrwx. 1 root root 23 Aug 15 17:24 libglib-2.0.so.0 -> libglib-2.0.so.0.4102.0
-rwxr-xr-x. 1 root root 3740140 Aug 15 17:24 libglib-2.0.so.0.4102.0
-rwxr-xr-x. 1 root root 1009 Aug 15 17:24 libgmodule-2.0.la
lrwxrwxrwx. 1 root root 26 Aug 15 17:24 libgmodule-2.0.so -> libgmodule-2.0.so.0.4102.0
lrwxrwxrwx. 1 root root 26 Aug 15 17:24 libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.4102.0
-rwxr-xr-x. 1 root root 39211 Aug 15 17:24 libgmodule-2.0.so.0.4102.0
-rwxr-xr-x. 1 root root 1010 Aug 15 17:24 libgobject-2.0.la
lrwxrwxrwx. 1 root root 26 Aug 15 17:24 libgobject-2.0.so -> libgobject-2.0.so.0.4102.0
lrwxrwxrwx. 1 root root 26 Aug 15 17:24 libgobject-2.0.so.0 -> libgobject-2.0.so.0.4102.0
-rwxr-xr-x. 1 root root 1205231 Aug 15 17:24 libgobject-2.0.so.0.4102.0
-rwxr-xr-x. 1 root root 1004 Aug 15 17:24 libgthread-2.0.la
lrwxrwxrwx. 1 root root 26 Aug 15 17:24 libgthread-2.0.so -> libgthread-2.0.so.0.4102.0
lrwxrwxrwx. 1 root root 26 Aug 15 17:24 libgthread-2.0.so.0 -> libgthread-2.0.so.0.4102.0
-rwxr-xr-x. 1 root root 8977 Aug 15 17:24 libgthread-2.0.so.0.4102.0
-rw-r--r--. 1 root root 27535512 Aug 15 17:01 libvips.a
-rw-r--r--. 1 root root 2522104 Aug 15 17:01 libvipsCC.a
-rwxr-xr-x. 1 root root 1071 Aug 15 17:01 libvipsCC.la
lrwxrwxrwx. 1 root root 19 Aug 15 17:01 libvipsCC.so -> libvipsCC.so.38.0.3
lrwxrwxrwx. 1 root root 19 Aug 15 17:01 libvipsCC.so.38 -> libvipsCC.so.38.0.3
-rwxr-xr-x. 1 root root 1034249 Aug 15 17:01 libvipsCC.so.38.0.3
-rwxr-xr-x. 1 root root 1031 Aug 15 17:01 libvips.la
lrwxrwxrwx. 1 root root 17 Aug 15 17:01 libvips.so -> libvips.so.38.0.3
lrwxrwxrwx. 1 root root 17 Aug 15 17:01 libvips.so.38 -> libvips.so.38.0.3
-rwxr-xr-x. 1 root root 11349279 Aug 15 17:01 libvips.so.38.0.3
drwxr-xr-x. 2 root root 4096 Aug 15 17:24 pkgconfig
echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin:/usr/local/lib/
echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig
pkg-config --cflags vips
-pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libpng12
pkg-config --libs vips
-pthread -Wl,--export-dynamic -L/usr/local/lib -lvips -lz -lm -lstdc++ -lxml2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lpng12 -lglib-2.0
Issue Analytics
- State:
- Created 9 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Chapter 10. Troubleshooting Installation on an Intel or AMD ...
Ensure that you have the latest installation updates and images. Review the online errata to see if newer versions are available. If the...
Read more >6.3. Trouble During the Installation Red Hat Enterprise Linux 5
If you receive an error message stating No devices found to install Red Hat Enterprise Linux , there is probably a SCSI controller...
Read more >Installation Guide Red Hat Enterprise Linux 6
This manual explains how to boot the Red Hat Enterprise Linux 6.9 installation program (anaconda) and to install Red Hat Enterprise Linux 6.9...
Read more >Chapter 6. Troubleshooting Installation on an Intel® or AMD ...
1. No devices found to install Red Hat Enterprise Linux Error Message · 6.3. · 2. Saving Traceback Messages Without a Diskette Drive...
Read more >RHEL 6 installation failed with "A fatal error occurred when ...
A fatal error occurred when installing the filesystem package. This could indicate errors when reading the installation media. Installation ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Adding
--prefix=/usr
when runningconfigure
should also prevent this problem.Hi @bedrocktv please can you open a new issue with the output from running steps 3 and 4.