Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Error when using *.so(using *.so )
Error when using *.so [message #1774346] Fri, 13 October 2017 06:29 Go to next message
trinh trung is currently offline trinh trungFriend
Messages: 3
Registered: October 2017
Junior Member
I build a shared library (liblibX.so file) and use it in another project. I setting project in GCC C++ Liker add into Libraries (-l) and Library search path (-L). When i build all successful. But when i run debug i get report:
error while loading shared libraries: liblibX.so: cannot open shared object file: No such file or directory

I searched this error and follow: in app launch, set environment variable LD_LIBRARY_PATH but when debug i get error like
Error in final launch sequence
Cannot get enviroment information

in detail
Error in final launch sequence
Cannot get environment information
Reference to undefined variable ProjName
Re: Error when using *.so [message #1774468 is a reply to message #1774346] Mon, 16 October 2017 01:50 Go to previous messageGo to next message
trinh trung is currently offline trinh trungFriend
Messages: 3
Registered: October 2017
Junior Member
No one get this bug?
Re: Error when using *.so [message #1776082 is a reply to message #1774468] Fri, 10 November 2017 14:35 Go to previous message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 397
Registered: June 2014
Senior Member
Have you set LD_LIBRARY_PATH correctly in your Launch Configuration?
Previous Topic:Eclipse Oxygen stopped working after update to Java 9
Next Topic:How do I link MinGW C/C++ compiler to Eclipse
Goto Forum:
  


Current Time: Thu Dec 14 13:28:15 GMT 2017

Powered by FUDForum. Page generated in 0.01873 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software