| Summary: | file paths in debuger broken | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Jon Smirl <jonsmirl> |
| Component: | general | Assignee: | KDevelop Developers <kdevelop-devel> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | RedHat Enterprise Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jon Smirl
2003-08-18 00:17:09 UTC
I noticed in the Application window this: /home/newtree/temp/progs/miniglx/sample_server: relocation error: /home/newtree/temp/progs/miniglx/sample_server: undefined symbol __miniglx_Start_Server But when I run sample_sever from the command line it works without problem. I think I am starting to get a handle on what the problem is. I need to change to run it from where the executable is located. The program is linked using a relative path to the shared objects. -Wl,-rpath,$(TOP)/lib I tried this and it work. Leave the bug open since the path is still not being displayed in Project Options/Run Options/Main Program > "The path is still not being displayed in Project Options/Run Options/Main
Program
This is most probably because your path is outside of the build directory
tree.
Try do do a soft-link in your build directory pointing to the location you
want. Give that as input to the Options/Main Program and it should work and
display fine.
The problem is related with the "relativePath()" function on lib/urlUtil this
sugestion is a way to bypass the problem
As Amilcar said, the problem is your installation, since you're getting Relocation errors. It is not a KDevelop bug or even a compilation error. |