Community
Participate
Working Groups
I am running Version: 3.1.1 Build id: M20050929-0840 on FreeBSD 6.0-STABLE self built from ports, with CDT 3.0.0 I have a project that builds a shared library and an executable project which depends on this library. The project compiles without problem but when I try to run it I get the following error from the linker: /libexec/ld-elf.so.1: Shared object "libGraphLib.so" not found, required by "GraphTest" This libGraphLib.so actually exists under ...workspace/GraphLib/Debug. I have also tried setting the environment variable LD_LIBRARY_PATH in run->Environment and/or setting the appropriate path in run->Debugger->Shared Libraries but neither works.
I think i had a same kind of error but using CDT in windows 2000. When I used the file browser button to select the linker path it doesn't finish the path with "\" and it can't find the libraries. I solve it editing the path and adding the bar. You can try with this ! I expect that works to you too! (In reply to comment #0) > I am running > > Version: 3.1.1 > Build id: M20050929-0840 > > on FreeBSD 6.0-STABLE self built from ports, with CDT 3.0.0 > > I have a project that builds a shared library and an executable project which > depends on this library. The project compiles without problem but when I try to > run it I get the following error from the linker: > > /libexec/ld-elf.so.1: Shared object "libGraphLib.so" not found, required by > "GraphTest" > > This libGraphLib.so actually exists under ...workspace/GraphLib/Debug. > > I have also tried setting the environment variable LD_LIBRARY_PATH in > run->Environment and/or setting the appropriate path in run->Debugger->Shared > Libraries but neither works. >