Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ 1 2 [3] 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Permanent java apps on a USB stick< Next Oldest | Next Newest >
Chamane Offline





Group: Members
Posts: 8
Joined: Dec. 2007
Posted: Feb. 10 2008,03:08 QUOTE

OK. I will delete /mnt/sdb2/home and forget home=/dev/sdb2 on my next boot.

I am not able to modify bashrc or profile even as superuser. I thought that it was because of the frugal install.

I also typed this:
dsl@box:~$ ldd -v grass

and got that (even as superuser):
ldd: ./qgis: No such file or directory

although I don't know if I did it right.

Chamane
:)
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Feb. 10 2008,04:16 QUOTE

If you don't know the full path, you can do something like
ldd `which grass`

If you really want to modify those system files, you problably have to remove those then copy them from KNOPPIX into ramdisk.
Back to top
Profile PM 
Chamane Offline





Group: Members
Posts: 8
Joined: Dec. 2007
Posted: Feb. 10 2008,16:00 QUOTE

Hi,

I tried:

dsl@box:~$ ldd qgis
ldd: ./qgis: No such file or directory
dsl@box:~$ sudo ldd qgis
ldd: ./qgis: No such file or directory
dsl@box:~$ ldd which qgis
which:
ldd: ./which: No such file or directory
qgis:
ldd: ./qgis: No such file or directory
dsl@box:~$ ldd 'which qgis'
ldd: ./which qgis: No such file or directory
dsl@box:~$ sudo ldd 'which qgis'
ldd: ./which qgis: No such file or directory
dsl@box:~$ sudo ldd which qgis
which:
ldd: ./which: No such file or directory
qgis:
ldd: ./qgis: No such file or directory
dsl@box:~$

But QGIS is there:

dsl@box:~$ whereis qgis
qgis: /usr/bin/qgis /usr/lib/qgis /usr/share/qgis /usr/share/man/man1/qgis.1.gz

I doubt that my deb files are not written properly in bootlocal.sh, I used copy/paste. What else can I do to make it work?

Also, I copied bashrc and profile from /KNOPPIX/etc to /ramdisk/etc and added /mnt/sdb2/opt/jre1_5_0/bin to both for the PATH. What do I do from there? I tried to replace them back in /KNOPPIX/etc, but they cannot be removed as they are read-only files.

Thanks,

Chamane
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Feb. 11 2008,00:50 QUOTE

Those are back-ticks, usually left of your keyboard's 1 key and the same as the ~ key.  It's used for command substitution.
Why don't you select+paste?
Anyways, alternative ways are to use $() instead of `` or you could also manually type out the full path yourself.
Back to top
Profile PM 
Chamane Offline





Group: Members
Posts: 8
Joined: Dec. 2007
Posted: Feb. 11 2008,11:38 QUOTE

Sorry, I am a newbie with Linux. Here is what I got:

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 (0x411e3000)
       libdl.so.2 => /lib/libdl.so.2 (0x41234000)
       libpq.so.3 => /usr/lib/libpq.so.3 (0x41237000)
       libgeos.so.2 => /usr/lib/libgeos.so.2 (0x41253000)
       libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x41346000)
       libm.so.6 => /lib/libm.so.6 (0x41400000)
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x41423000)
       libc.so.6 => /lib/libc.so.6 (0x4142c000)
       libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4155f000)
       libaudio.so.2 => /usr/lib/libaudio.so.2 (0x4158e000)
       libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x415a3000)
       libXrender.so.1 => /usr/lib/libXrender.so.1 (0x415ed000)
       libXrandr.so.2 => not found
       libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x415f6000)
       libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x415ff000)
       libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41612000)
       libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4167c000)
       libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41689000)
       libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x41746000)
       libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4174e000)
       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
       libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x41763000)
       libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x41791000)
       libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x41883000)
       libcrypt.so.1 => /lib/libcrypt.so.1 (0x418ec000)
       libresolv.so.2 => /lib/libresolv.so.2 (0x41919000)
       libnsl.so.1 => /lib/libnsl.so.1 (0x4192b000)
       libexpat.so.1 => /usr/lib/libexpat.so.1 (0x41940000)
       libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x41960000)
       libcom_err.so.2 => /lib/libcom_err.so.2 (0x41984000)

Looks like the file is not found.

Chamane
Back to top
Profile PM 
16 replies since Feb. 02 2008,18:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ 1 2 [3] 4 >/
reply to topic new topic new poll
Quick Reply: Permanent java apps on a USB stick

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code