Bug 1259014 - /etc/ld.so.conf.d/nodejs010.conf is not created
Summary: /etc/ld.so.conf.d/nodejs010.conf is not created
Keywords:
Status: NEW
Alias: None
Product: softwarecollections.org
Classification: Community
Component: nodejs010
Version: 1.0
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Tomas Hrcka
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-01 18:29 UTC by Alain D D Williams
Modified: 2015-09-01 18:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Alain D D Williams 2015-09-01 18:29:57 UTC
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.