Skip to content

error: undefined symbol: google::kLogSiteUninitialized #807

@Martinfx

Description

@Martinfx

Make sure to follow our issue report guidelines

  • I'm using the latest version of Natron (not required but recommended)
  • I've restarted Natron and the issue persists
  • I've run Natron via the command line and the issue persists
  • I've followed the contributing guidelines to the best of my understanding
  • My issue is not on the issue tracker or in a pull request already (go search for it and dig around a little bit!)
  • This bug is reproducible

Natron version

v2.5.0-alpha.2

Operating system

FreeBSD 13.1

System specs

CPU: AMD Ryzen 5 1600 Six-Core Processor (3200.28-MHz K8-class CPU)
Origin="AuthenticAMD" Id=0x800f11 Family=0x17 Model=0x1 Stepping=1
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x7ed8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
AMD Features2=0x35c233ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX>
Structured Extended Features=0x209c01a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA>
XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
AMD Extended Feature Extensions ID EBX=0x1007<CLZERO,IRPerf,XSaveErPtr,IBPB>
SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
TSC: P-state invariant, performance statistics
real memory = 8589934592 (8192 MB)
avail memory = 8231763968 (7850 MB)

Did you install Natron using the official installer?

  • Yes, I used the official installer
  • No, I installed from a binary archive
  • No, I compiled Natron from sources
  • No, I installed Natron via another method

Custom installation path

No response

What were you trying to do?

Normal test compilation and make port to freshport back

What did you expect to happen? What happened instead?

Normal compilation but undefined symbol

clang++ -Wl,-rpath,'$ORIGIN/../lib',-z,origin -pthread -Wl,-rpath,/usr/local/lib/qt5 -o Tests gtest-all.o gmock-all.o BaseTest.o Hash64_Test.o Image_Test.o Lut_Test.o KnobFile_Test.o Curve_Test.o Tracker_Test.o wmain.o   -L/usr/local/lib -L/usr/home/maxfx/Documents/Natron/Tests/../Gui/ -lGui -L/usr/home/maxfx/Documents/Natron/Tests/../Engine/ -lEngine -L/usr/home/maxfx/Documents/Natron/Tests/../HostSupport/ -lHostSupport -L/usr/home/maxfx/Documents/Natron/Tests/../libs/libmv/ -lLibMV -L/usr/home/maxfx/Documents/Natron/Tests/../libs/openMVG/ -lopenMVG -L/usr/home/maxfx/Documents/Natron/Tests/../libs/ceres/ -lceres -L/usr/home/maxfx/Documents/Natron/Tests/../libs/glog/ -lglog -L/usr/home/maxfx/Documents/Natron/Tests/../libs/gflags/ -lgflags -L/usr/home/maxfx/Documents/Natron/Tests/../libs/qhttpserver/build/ -lqhttpserver -L/usr/home/maxfx/Documents/Natron/Tests/../libs/hoedown/build/ -lhoedown -L/usr/home/maxfx/Documents/Natron/Tests/../libs/libtess/ -ltess -lX11 -lpython3.8 -lcrypt -ldl -lintl -lutil -lm -lboost_serialization -lexpat -lcairo -lpthread -lfontconfig -lfreetype -Llib -lpyside2.cpython-38 -lshiboken2.cpython-38 -lexecinfo /usr/local/lib/qt5/libQt5OpenGL.so /usr/local/lib/qt5/libQt5Widgets.so /usr/local/lib/qt5/libQt5Gui.so /usr/local/lib/qt5/libQt5Network.so /usr/local/lib/qt5/libQt5Concurrent.so /usr/local/lib/qt5/libQt5Core.so -lGL   
ld: error: undefined symbol: google::kLogSiteUninitialized
>>> referenced by track_region.cc
>>>               track_region.o:(libmv::(anonymous namespace)::PixelDifferenceCostFunctor<libmv::(anonymous namespace)::TranslationWarp>::PearsonProductMomentCorrelationCoefficient(double const*) const) in archive /usr/home/maxfx/Documents/Natron/Tests/../libs/libmv/libLibMV.a
>>> referenced by track_region.cc
>>>               track_region.o:(libmv::(anonymous namespace)::PixelDifferenceCostFunctor<libmv::(anonymous namespace)::TranslationWarp>::PearsonProductMomentCorrelationCoefficient(double const*) const) in archive /usr/home/maxfx/Documents/Natron/Tests/../libs/libmv/libLibMV.a
>>> referenced by track_region.cc
>>>               track_region.o:(ceres::AutoDiffCostFunction<libmv::(anonymous namespace)::PixelDifferenceCostFunctor<libmv::(anonymous namespace)::TranslationWarp>, -1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0>::Evaluate(double const* const*, double*, double**) const) in archive /usr/home/maxfx/Documents/Natron/Tests/../libs/libmv/libLibMV.a

Step-by-step reproduction instructions

  1. I did this https://github.com/NatronGitHub/Natron/blob/RB-2.5/INSTALL_FREEBSD.md
  2. qmake-qt5
  3. gmake

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions