You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On platforms with libdir != /usr/lib, the native binding compilation obviously fails (in this case n64 MIPS where libdir = /usr/lib64):
/usr/lib/gcc/mips64el-unknown-linux-gnu/9.1.0/../../../../mips64el-unknown-linux-gnu/bin/ld: /usr/lib/libutil.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
Is there any reason the libdir must be hard-coded in binding.gyp, as libutil.so should always reside in the default libdir whose location the platform cc definitely knows about?
The text was updated successfully, but these errors were encountered:
@xen0n is correct, we don't need to specify the default user library paths, it will be picked up by the build system not something gyp should worry about. Explicit path specifications are only necessary when the library is in some custom location, or we need to modify rpaths.
Environment details
master
branchIssue description
On platforms with libdir !=
/usr/lib
, the native binding compilation obviously fails (in this case n64 MIPS where libdir =/usr/lib64
):Is there any reason the libdir must be hard-coded in
binding.gyp
, aslibutil.so
should always reside in the default libdir whose location the platformcc
definitely knows about?The text was updated successfully, but these errors were encountered: