← All tasks
cppfacebook/folly #855Not a task: not reproduced

unable to install folly on ubuntu 16.04 LTS : undefined reference to folly::initLoggingOrDie(folly::Range<char const*>)'

envgap__facebook__folly-855

Original GitHub issue ↗Opened 2018-06-04

01 / FAILURE SIGNATURE

As reported upstream

`/usr/local/lib/libfolly.so: undefined reference to folly::initLoggingOrDie(folly::Range<char const*>)'`
Not a benchmark task.
  • No curated issue-specific recipe or verified environment fix is available.

02 / ENVIRONMENT RECIPE

Base commit
Not freshly verified
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

facebook/folly #855 · read the original issue
I am trying to install  `fblualib`  and it dependencies using `install_all.sh` script from https://github.com/facebookarchive/fblualib/blob/master/INSTALL.md  but I encounter the following problem



`[ 34%] Linking CXX static library lib/libwangle.a`

`[ 34%] Built target wangle`

`Scanning dependencies of target gtest`

`[ 36%] Creating directories for 'gtest'`

`[ 37%] Performing download step (git clone) for 'gtest'`

`-- gtest download command succeeded.  See also /tmp/fblualib-build.0JrC4C/wangle/wangle/gtest/src/gtest-stamp/gtest-download-*.log`

`[ 38%] No patch step for 'gtest'`

`[ 39%] Performing update step for 'gtest'

-- gtest update command succeeded.  See also /tmp/fblualib-build.0JrC4C/wangle/wangle/gtest/src/gtest-stamp/gtest-update-*.log`

`[ 40%] Performing configure step for 'gtest'

-- gtest configure command succeeded.  See also /tmp/fblualib-build.0JrC4C/wangle/wangle/gtest/src/gtest-stamp/gtest-configure-*.log`

`[ 41%] Performing build step for 'gtest'

-- gtest build command succeeded.  See also /tmp/fblualib-build.0JrC4C/wangle/wangle/gtest/src/gtest-stamp/gtest-build-*.log`

`[ 43%] No install step for 'gtest'`

`[ 44%] Completed 'gtest'`

`[ 44%] Built target gtest`

`Scanning dependencies of target ObservingHandlerTest`

`[ 45%] Building CXX object CMakeFiles/ObservingHandlerTest.dir/channel/broadcast/test/ObservingHandlerTest.cpp.o`

`[ 46%] Building CXX object CMakeFiles/ObservingHandlerTest.dir/test/TestMain.cpp.o`

`[ 47%] Linking CXX executable bin/ObservingHandlerTest`



` `

`/usr/local/lib/libfolly.so: undefined reference to folly::initLoggingOrDie(folly::Range<char const*>)'`

`collect2: error: ld returned 1 exit status`

`CMakeFiles/ObservingHandlerTest.dir/build.make:140: recipe for target 'bin/ObservingHandlerTest' failed`

`make[2]: *** [bin/ObservingHandlerTest] Error 1`

`CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/ObservingHandlerTest.dir/all' failed`

`make[1]: *** [CMakeFiles/ObservingHandlerTest.dir/all] Error 2`

`Makefile:138: recipe for target 'all' failed`

`make: *** [all] Error 2`
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

underspecification
Label rules and the text that matched
[
  {
    "category": "underspecification",
    "rule": "signature.missing_system_requirement",
    "source": "failure_signature",
    "excerpt": "`/usr/local/lib/libfolly.so: undefined reference to folly::initLoggingOrDie(folly::Range<char const*>)'`"
  }
]

Issue-specific recipe and runtime smoke command require review against the complete issue and repository.

Legacy reproduction is generic install-only; match the actual issue failure before admission.