From: Koen v. d. D. <kvd...@ea...> - 2006-02-08 23:03:42
|
On Feb 8, 2006, at 2:04 PM, plplot-devel- re...@li... wrote: > That's close. get-drv-info is a tiny test app that attempts to > dynamically > load the module in the same way that plplot would. It always fails > if there > is something wrong with the linking for the module in question. > > Koen, can you get the aqt device driver to work on your own system? > It is > always better to work directly with the problem rather than at > second hand. > If the aqt device driver works for you, but not for your user, then > probably > you have some prerequisite library installed that he does not have > (or as > implied by Werner's post, he might have the prerequisite library > installed > in a non-standard directory and told ./configure about that > directory, but > failed to set the LD_LIBRARY_PATH environment variable [or the > equivalent on > Mac OS X systems] to inform the linking system that the non-standard > directory contains libraries to be linked). > > I know there is some equivalent to ldd on Mac OS X, but we will > need Per or > Hazen to remind us what it is. Then look at the contents of the > aqt.la file > (which is just an ascii file) to find the dlname. Then apply the > equivalent > of ldd to that dlname in the drivers/.libs directory to find the > required > library that is not present (or not accessible to the linker > because not in > a standard place and LD_LIBRARY_PATH not set) on your user's system. > > Finally, Koen, please follow up by telling us how this is resolved. > If it > turns out to be a completely missing library on your user's system, > then we > should change our configuration of aqt to automatically drop that > device > driver with appropriate message. --------------- > Mac OS X uses "dyld" instead of "ld", where "otool -L" corresponds to > "ldd". > Obviously, otool can't be used on the .la file directly but this is > what I get from the lib itself: Thanks for the input, I have cc'd the user who reported the problem, so he can try the suggestions out on his system. On my system, plplot installs without a problem, so it seems difficult for me to try out things. cheers, - Koen. |