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:
cmake -DCMAKE_VERBOSE_MAKEFILE=ON ../plplot-5.8.0
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
But probably I could have solved it by running cmake in <some_other_dir>/src/plplot_build .
Log in to post a comment.