LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   openbook dvd no install missing libglib-1.2.0.so.0 (https://www.linuxquestions.org/questions/linux-newbie-8/openbook-dvd-no-install-missing-libglib-1-2-0-so-0-a-798968/)

Levi Gruber 03-30-2010 03:33 PM

openbook dvd no install missing libglib-1.2.0.so.0
 
trying to install a dvd of Openbook, a distribution of ebooks from the gutenberg collection. running debian lenny amd64.

i type

sudo sh /media/cdrom0/openbook-linux.sh

response is

Verifying archive integrity... All good.
Uncompressing OpenBook DVD Launcher...........
./obwelcome: error while loading shared libraries: libglib-1.2.so.0: cannot open shared object file: No such file or directory

tried

apt-get install libglib-1.2.so.0

returns

E: Couldn't find package libglib-1.2.so.0

tried again after editing sources file, the location of which i have forgotten. still the same show. E: looks like a windows drive to me.

i have multi and uni in repositories enabled. equivs is installed, as well as libglib1.2ldbl libglib1.2-dev and libglib1.2-dbg. i looked in /dependencies/deb/ folder on the dvd and found these packages gdk-pixbuf_0.22-1_i386.deb and gtk+_1.2-1_i386.deb. tried to install gtk+.... after finding synaptic shows no gtk+ packages, only gtk... with the expected error that i am running the wrong version of debian to install x386 apps. looked online and found that lenny amd64 will run 386 apps in compatibility mode. how does compatibility mode work? more importantly, will installing the dependencies from the cd solve this problem anyway? thanks for reading this. even if no one is able to help i feel a little better.

bathory 03-30-2010 04:07 PM

Hi,

You need glib-1.2:
Code:

sudo apt-get install libglib1.2
sudo apt-get install libglib1.2-dev


Levi Gruber 03-30-2010 09:55 PM

oh dear
 
i must have screwed something up then.

sudo apt-get install libglib1.2

returns

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libglib1.2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libglib1.2ldbl
E: Package libglib1.2 has no installation candidate

what is E:?

this is in my /etc/apt/sources.list

#
# deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official amd64 NETINST Binary-1 20100201-16:38]/ lenny main

# deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official amd64 NETINST Binary-1 20100201-16:38]/ lenny main

deb http://ftp.us.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.us.debian.org/debian/ lenny main non-free contrib

deb http://security.debian.org/ lenny/updates main non-free contrib
deb-src http://security.debian.org/ lenny/updates main non-free contrib

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

deb http://www.backports.org/debian lenny-backports main contrib non-free
#deb-src http://www.backports.org/debian lenny-backports main contrib non-free

i just put in backports and it seems to have screwed up apt.

I had the thought of installing the Openbook DVD through wine, and I think that may work. Time will tell.


All times are GMT -5. The time now is 07:59 AM.