Bug 1259014 - /etc/ld.so.conf.d/nodejs010.conf is not created
/etc/ld.so.conf.d/nodejs010.conf is not created
Status: NEW
Product: softwarecollections.org
Classification: Community
Component: nodejs010 (Show other bugs)
1.0
All Linux
unspecified Severity low
: ---
: ---
Assigned To: Tomas Hrcka
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-01 14:29 EDT by Alain D D Williams
Modified: 2015-09-01 14:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alain D D Williams 2015-09-01 14:29:57 EDT
Description of problem:
As a file /etc/ld.so.conf.d/nodejs010.conf is not created, node fails to run since it cannot load .so files in /opt/rh/nodejs010/root/usr/lib64/

Version-Release number of selected component (if applicable):
1.2

How reproducible:
Every time

Steps to Reproduce:
1.
Install: nodejs010-libuv nodejs010-http-parser nodejs010-runtime

2.
$ echo 'console.log("Yipee!");' > /tmp/n.js

3.
$ node /tmp/n.js

Actual results:
node: error while loading shared libraries: libhttp_parser.so.2: cannot open shared object file: No such file or directory



Expected results:
The following to be printed: Yipee!


Additional info:
This can be fixed:
# echo /opt/rh/nodejs010/root/usr/lib64/ > /etc/ld.so.conf.d/nodejs010.conf
# ldconfig -v

Then step 3 produces what I expect.

Note You need to log in before you can comment on or make changes to this bug.