Home › Forums › AR Sandbox Forum › TLS error while compling Vrui form script
Tagged: Error, install script, TLS
- This topic has 4 replies, 2 voices, and was last updated 1 year ago by mkaszuba.
-
AuthorPosts
-
October 23, 2023 at 7:17 am #2646mkaszubaParticipant
I have a fresh install of Mint and when I run the build-ubuntu.sh file, I was able to to the Building Vrui example programs portion. At the Linking VisionTest… I get this error:
usr/bin/ld: TLS reference in 0/g++3.gg0.03/visionTest.o mismatches non-TLS reference in /user/local/lib/x86-64-linux-gnu/Vrui-8.0/libVrui.so
usr/bin/ld: /usr/local/lib/x86_64-linux-gnu/vrui/libVrui.so: error adding symbols: bad value
Collect2: error ld returned1 exit status.Please advise.
October 24, 2023 at 9:26 am #2648Sean RobinsonParticipantAre you using Mint 19.x (latest supported version) or another Mint version?
I think you need to remove the src directory before rebuilding Vrui. The error you show can come from the following: failed first build, install missing dependencies, then try to build again without removing artifacts from the first build.
Also, this looks like an incomplete summary of the error rather than the actual error message(s). If the above does not work, please post the full errors.
November 3, 2023 at 7:19 am #2654mkaszubaParticipantHere is the complete error:
Linking /home/arsandbox/src/Vrui-8.0-002/lib/x86_64-linux-gnu/VRVislets/libLatencyTester.so…
/usr/bin/ld: _ZN18GLARBShaderObjects7currentE: TLS reference in o/g++-3.g0.O3/pic/Vrui/Vislets/LatencyTester.o mismatches non-TLS reference in /home/arsandbox/src/Vrui-8.0-002/lib/x86_64-linux-gnu/libVrui.so
/usr/bin/ld: /home/arsandbox/src/Vrui-8.0-002/lib/x86_64-linux-gnu/libVrui.so: error adding symbols: bad value
collect2: error: ld returned 1 exit status
make: *** [makefile:1691: /home/arsandbox/src/Vrui-8.0-002/lib/x86_64-linux-gnu/VRVislets/libLatencyTester.so] Error 1
make: *** Waiting for unfinished jobs….
Linking /home/arsandbox/src/Vrui-8.0-002/lib/x86_64-linux-gnu/VRDevices/libArtDTrack.so…
Build unsuccessful; please fix any reported errors and try againMy version of Mint is 21.2, I could not locate a 19.x version to download.
November 7, 2023 at 10:03 am #2661Sean RobinsonParticipantMy version of Mint is 21.2, I could not locate a 19.x version to download.
It is possible to build the AR Sandbox on LM 21.x, but you will need to change the process a bit. See the solution from @solanic in VRUI – “Unable to locate package”. The discussion on that page has background info and further links.
November 16, 2023 at 8:54 am #2667mkaszubaParticipantI was able to work around the TLS issue by using the LMDE 6 “Faye” version of Mint Linux. I still had to make the edits mentioned in the .sh file, but the rest of the process worked as expected.
http://doc-ok.org/?topic=errors-during-build-ubuntu-sh-processing
-
AuthorPosts
- You must be logged in to reply to this topic.