Chamane
Group: Members
Posts: 8
Joined: Dec. 2007 |
|
Posted: Feb. 11 2008,15:52 |
|
Hi. Thanks for answering.
I decided to delete everything and reinstall dsl on the stick just to make sure I didn't forget something along the way. I installed GRASS and QGIS from apt-get. GRASS worked, but not QGIS because of the same reason (libXrandr.so.2 missing). That seems strange to me because it was working the first time without the use of dpkg all the debs. So I decided to try different repositories where the softwares were available. QGIS didn't work using two repositories, but finally decided to work with:
http://mirror.linux.org.au/debian oldstable main contrib non-free
I continued with the rest of the procedures and now it is working:
dsl@box:~$ ldd `which qgis` libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0x4001c000) libgdal.so.1 => /usr/lib/libgdal.so.1 (0x40708000) libodbc.so.1 => /usr/lib/libodbc.so.1 (0x40ad1000) libltdl.so.3 => /usr/lib/libltdl.so.3 (0x40b4a000) libxerces-c.so.26 => /usr/lib/libxerces-c.so.26 (0x40b51000) libjasper-1.701.so.1 => /usr/lib/libjasper-1.701.so.1 (0x40e9b000) libmfhdf.so.4 => /usr/lib/libmfhdf.so.4 (0x40ee8000) libdf.so.4 => /usr/lib/libdf.so.4 (0x40f0a000) libungif.so.4 => /usr/lib/libungif.so.4 (0x40fa9000) libtiff.so.4 => /usr/lib/libtiff.so.4 (0x40fb2000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x41002000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4101f000) libnetcdf.so.3 => /usr/lib/libnetcdf.so.3 (0x41044000) libcfitsio.so.2 => /usr/lib/libcfitsio.so.2 (0x41067000) libz.so.1 => /usr/lib/libz.so.1 (0x411d5000) libpthread.so.0 => /lib/libpthread.so.0 (0x411e8000) libdl.so.2 => /lib/libdl.so.2 (0x41239000) libpq.so.3 => /usr/lib/libpq.so.3 (0x4123c000) libgeos.so.2 => /usr/lib/libgeos.so.2 (0x41258000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4134b000) libm.so.6 => /lib/libm.so.6 (0x41405000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41428000) libc.so.6 => /lib/libc.so.6 (0x41431000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x41564000) libaudio.so.2 => /usr/lib/libaudio.so.2 (0x41593000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x415a8000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0x415f2000) libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x415fb000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x415fe000) libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x41607000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41618000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41682000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4168f000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4174c000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x41754000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x41769000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x41797000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x41889000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x418f2000) libresolv.so.2 => /lib/libresolv.so.2 (0x4191f000) libnsl.so.1 => /lib/libnsl.so.1 (0x41931000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x41946000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x41966000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x4198a000)
The explanation is out of my reach. Anyway, I put PATH="$PATH:/mnt/sdb2/opt/jre1_5_0/bin" as the last line of /home/dsl/.bashrc as you suggested and now, guess what, EVERYTHING IS WORKING FINE! I get to the directory where my java app is and just launch it. Perfect.
Thanks so much to all!
Chamane
|