From: Werner S. <sm...@ia...> - 2006-09-11 08:26:31
|
Hi, another thing which came into my mind is, that you forgot to copy the wxwidgets library, since the wxwidgets driver obviously depends on it - but this is even more problematic, since the wxwidgets library depends on many other system libraries. But you can always check with the command "ldd" if there is any dependency on a library which is not fulfilled. HTH, Werner Werner Smekal wrote: > Hi, > > there is maybe a library missing on the other Linux box (libltdl is > needed for dynamic driver loading). As Alan said it would be best to > compile plplot on the other LB as well. If not possible you could > disable dynamic driver loading (therefore drivers are linked into the > main plplot library) and you could also make a static plplot library - > in both cases you don't need to care about driver loading at run time. > This will not work for a c-program though only for a c++ program or if > you use the c++ compiler, since the wxwidgets driver is c++. > > HTH, > Werner > > Joe Chuma wrote: >> Hello, >> >> I am writing an Open Source application using wxGTK-2.6.3 and >> plplot-5.6.1 on a Scientific Linux release 4.3 box with gcc v3.4.5 >> >> The app runs fine on that machine, but when I copy it to another >> linux box, along with the needed .so files, it aborts with >> the message: >> >> Unable to load driver: wxwidgets. >> >> *** PLPLOT ERROR *** >> Unable to load driver >> Program aborted >> >> I have copied the driver directory to the other machine, and >> placed it in a subdirectory of the libs directory where the >> .so files are located, and set the environment variable >> PLPLOT_DRV_DIR to that directory. What am I missing? >> >> Thanks in advance for any assistance. >> >> Joe Chuma >> TRIUMF >> >> >> >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Plplot-general mailing list >> Plp...@li... >> https://lists.sourceforge.net/lists/listinfo/plplot-general > > -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |