From: SourceForge.net <no...@so...> - 2008-01-18 14:13:39
|
Bugs item #1874677, was opened at 2008-01-18 06:13 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102915&aid=1874677&group_id=2915 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: plInBuildTree() confused by symbolic links in BUILD_DIR Initial Comment: When I tried to build plplot, make failed when trying to create the <driver>.rc files, because get-drv-info looked for the <driver>.so files in the installation directory (/usr/local/lib/plplot5.8.0/driversd), rather than in the build directory. If I remember correctly: (in <build_dir>) cmake -DCMAKE_VERBOSE_MAKEFILE=ON ../plplot-5.8.0 make [...] failure: libltdl error: /usr/local/lib/plplot5.8.0/driversd/cairo.so: cannot open shared object file: No such file or directory The problem was probably that plInBuildTree() got confused by symbolic links in the path: BUILD_DIR got set to a path that included a symbolic link (<home_dir>/src/plplot_build, where <home_dir>/src is a symbolic link to <some_other_dir>/src ). The workaround I used was: ln -s <build_dir>/drivers (as root) /usr/local/lib/plplot-5.8.0/driversd make rm /usr/local/lib/plplot-5.8.0/driversd make install But probably I could have solved it by running cmake in <some_other_dir>/src/plplot_build . Jeroen Nijhof je...@ni... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102915&aid=1874677&group_id=2915 |