> >> Curiously I found that if I ran my test program in the directory that > >> I had make install plplot from then I didn't see the problem. I have > >> the following the layout: > >> /home/hbabcock/C/plplot_test/test1 - the test program. > >> /home/hbabcock/OpenSource/plplot-working/plplot-CBS-1 - the directory > >> I make installed plplot from. > >> > >> This works: > >> debian ~/OpenSource/plplot-working/plplot-CBS-1 : pwd > >> /home/hbabcock/OpenSource/plplot-working/plplot-CBS-1 > >> debian ~/OpenSource/plplot-working/plplot-CBS-1 : /home/hbabcock/C/ > >> plplot_test/test1 > >> > >> This does not: > >> debian ~/C/plplot_test : pwd > >> /home/hbabcock/C/plplot_test > >> debian ~/C/plplot_test : ./test1 > >> > >> And it doesn't seem to be the absolute path since it didn't work from > >> a couple other directories that I tried. > >> Perhaps it is some sort of strange linking issue with pango / pango- > >> cairo? > > > > There isn't any chance of there being multiple copies of either pango or > > plplot on the system, does there? If so there's always a chance that > > different versions are being picked up by the dynamic linker. I can't > > imagine how that might come about (excepting the inclusion of relative > > paths in LD_LIBRARY_PATH which isn't generally a good idea) but it's a > > thought. If something like this was happening I would expect it to be > > evident through the use of ldd: > > > > cd /home/hbabcock/OpenSource/plplot-working/plplot-CBS-1 > > ldd /home/hbabcock/C/plplot_test/test1 > > > > cd /home/hbabcock/C/plplot_test > > ldd ./test1 > > > > It's a very strange problem. Is anything revealed by running test1 > > through > > strace in the two scenarios? > > ldd looks normal (at least to me): > :
I agree. What about running ldd on <prefix>/lib/plplot-*/cairo.so? Anything differences in this between the two working directories? The drivers are loaded dynamically on demand I think which is why the cairo libraries (for example) aren't explicitly required by the test application. > The only difference I can see in strace is that when I run in /home/ > hbabcock/OpenSource/plplot-working/plplot-CBS-1, the program looks in > this directory first before looking in /usr/lib, however all the > libraries still seem to be found in /usr/lib. Curious. Regards jonathan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel