VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: [SOLVED] - VL 7.0 - Compile of glabels  (Read 1431 times)

lkraemer

  • Member
  • *
  • Posts: 27
[SOLVED] - VL 7.0 - Compile of glabels
« on: December 08, 2011, 02:33:28 pm »

I have compiled glabels 2.2.8 and it doesn't display any errors from the compile.

But, I have a problem where a shared lib is missing:
glabels: error while loading shared libraries: libglabels.so.5: cannot open shared object file: No such file or directory

How do I get this resolved?

Please see the attached file: glabels_compile.doc

Thanks.

Larry

« Last Edit: December 08, 2011, 08:13:44 pm by lkraemer »
Logged

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: VL 7.0 - Compile of glabels
« Reply #1 on: December 08, 2011, 04:32:43 pm »

hi ikraemer,

there is glabels-2.2.8 in the VL extra repo...you can install it via gslapt/slapt-get

Quote
root:# slapt-get --search glabel
glabels-2.2.8-i586-1vl70 [inst=no]: glabels (Office: Easy label making)
Logged

lkraemer

  • Member
  • *
  • Posts: 27
Re: VL 7.0 - Compile of glabels
« Reply #2 on: December 08, 2011, 08:13:19 pm »


hata_ph,
AH, yes I see that.....but every time I try to install it that package sure messes up my Desktop.

Would you consider installing it, and tell me if you have the same results?

I decided to research Glabels a bit and compile it myself.  It was quite a feat seeing that I am new
to Vector Linux (but I do have a bit of Linux time under my belt).  Anyway I found the following info:

PACKAGE NAME:  glabels-2.2.8-i486-1sl.txz
PACKAGE LOCATION:  ./office/glabels/2.2.8
PACKAGE SIZE (compressed):  2435 K
PACKAGE SIZE (uncompressed):  5320 K
PACKAGE REQUIRED:  GConf >= 2.32.1-i486-1,ORBit2 >= 2.14.19-i486-1,alsa-lib >= 1.0.24.1-i486-1,atk >= 1.32.0-i486-1,audiofile >= 0.2.7-i486-1,cairo >= 1.10.2-i486-2,cxxlibs >= 6.0.14-i486-1 | gcc-g++ >= 4.5.2-i486-2,dbus >= 1.4.1-i486-1,dbus-glib >= 0.88-i486-1,esound >= 0.2.41-i486-1,evolution-data-server >= 2.32.3-i486-1sl,expat >= 2.0.1-i486-2,fontconfig >= 2.8.0-i486-1,freetype >= 2.4.4-i486-1,gcc >= 4.5.2-i486-2,gdk-pixbuf2 >= 2.23.3-i486-1,glib2 >= 2.28.6-i486-1,glibc-solibs >= 2.13-i486-4,gnome-vfs >= 2.24.4-i686-1sl,gtk+2 >= 2.24.4-i486-1,krb5 >= 1.9.1-i486-3sl,libICE >= 1.0.7-i486-1,libSM >= 1.2.0-i486-1,libX11 >= 1.4.3-i486-2,libXau >= 1.0.6-i486-1,libXcomposite >= 0.4.3-i486-1,libXcursor >= 1.1.11-i486-1,libXdamage >= 1.1.3-i486-1,libXdmcp >= 1.1.0-i486-1,libXext >= 1.2.0-i486-1,libXfixes >= 5.0-i486-1,libXi >= 1.4.2-i486-1,libXinerama >= 1.1.1-i486-1,libXrandr >= 1.3.1-i486-1,libXrender >= 0.9.6-i486-1,libart_lgpl >= 2.3.21-i486-1,libbonobo >= 2.24.3-i486-3sl,libbonoboui >= 2.24.5-i486-1sl,libgcrypt >= 1.4.6-i486-1,libglade >= 2.6.4-i486-4,libgnome >= 2.30.0-i486-3sl,libgnome-keyring >= 2.32.0-i486-1sl,libgnomecanvas >= 2.30.3-i486-1sl,libgnomeui >= 2.24.5-i486-1sl,libgpg-error >= 1.9-i486-1,libpng >= 1.4.5-i486-1,libsoup >= 2.33.6-i486-1sl,libxcb >= 1.7-i486-1,libxml2 >= 2.7.8-i486-3,openssl >= 0.9.8r-i486-3 | openssl-solibs >= 0.9.8r-i486-3,pango >= 1.28.4-i486-1,pixman >= 0.20.2-i486-1,popt >= 1.7-i486-3,sqlite >= 3.7.5-i486-1,util-linux >= 2.19-i486-1,yelp >= 2.30.1-i486-5sl,zlib >= 1.2.5-i486-4
PACKAGE CONFLICTS: 
PACKAGE SUGGESTS: 
PACKAGE DESCRIPTION:
glabels: gLabels (GNOME Labels and Business Cards Creator)
glabels:
glabels: gLabels is a program for creating labels and business cards for the
glabels: GNOME desktop  environment. It  is  designed  to  work with various
glabels: laser/ink-jet peel-off label and  business  card sheets that you'll
glabels: find at most office supply stores.
glabels:
http://repository.slacky.eu/slackware-13.37/PACKAGES.TXT

Which led me to do a bit of looking at what was installed and what was missing..................
As it turns out I only needed three packages to get my compile to work.

Packages/Libs that were missing:
http://repository.slacky.eu/slackware-13.37/network/krb5/1.9.1/krb5-1.9.1-i486-3sl.txz
http://repository.slacky.eu/slackware-13.37/libraries/evolution-data-server/2.32.3/evolution-data-server-2.32.3-i486-1sl.txz
http://repository.slacky.eu/slackware-13.37/desktop/yelp/2.30.1/yelp-2.30.1-i486-5sl.txz

And with these Packages/Libs installed I was able to do a successful compile, that doesn't garbage
up my Desktop when it is executed........AHhhhh Success!  It actually works correctly.
Now if I just knew how to create a package so I could make myself a package..............Time
for more reading.

Now I'm all set to install VL 7.0 on my new 1 TB Drive and play, as I can do what I need after replacing
Ubuntu 8.04 LTS with a XFCE Desktop system.  Let the Gom-ers change until their hearts are filled with
GLEE!  It won't matter to me....I'll be using XFCE!

THANKS.

Larry




Logged

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: [SOLVED] - VL 7.0 - Compile of glabels
« Reply #3 on: December 08, 2011, 08:23:46 pm »

@ Ikraemer
 
hi, I thought we had the glabels problem solved on this thread here...
http://forum.vectorlinux.com/index.php?topic=15432.msg87722#msg87722

Installing the package glabels over rights one of the files in /usr/share/mime, this is what messes up your box.
running
update-mime-database /usr/share/mime
as root in the terminal corrects that and there should be no problem.

I've been away a few days, but should be able to repackage glables, shortly.
Still I'm curious.  Did you continue to have trouble with glabels after the fix?  If so I'll have to look for a different problem.

PS, congradulations on your own detective work, in compiling it yourself.  Let me know if you may an interest in packaging, we are looking to build up the packaging team.
« Last Edit: December 08, 2011, 08:25:25 pm by stretchedthin »
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

lkraemer

  • Member
  • *
  • Posts: 27
Re: [SOLVED] - VL 7.0 - Compile of glabels
« Reply #4 on: December 09, 2011, 06:10:05 am »


stretchedthin,
I really don't know how to answer your question about glabels, because I've been through the following hoops...:
1.  LiveCD testing of VL 7 - while installing Dropbox, Gparted, Glabels, Meld, and a few others...
2.  VirtualBox - Debian Squeeze 6.0 Host with VL 7 Guest - while installing Dropbox, Gparted, Glabels, Meld, and a few others...
3.  Hard Drive Install of VL 7 - while installing Dropbox, Gparted, Glabels, Meld, DosBox, Filezilla, Skype, LibreOffice, ISOmaster,
     Scribus, Wine, QT-Record, and a few other packages...

Because of this gyration I may have missed a step. (or more likely forgotten to use update-mime-database /usr/share/mime at some point)

But, the end result is still the same.  I've got VL 7.0 installed on a Hard Drive and the packages I use installed so I can proceed.
So, while it didn't answer your question at the moment, I'll be able to in the near future as I install my new 1TB Drive and repeat the
process of installing VL 7.  I'll use update-mime-database /usr/share/mime during that install and use the glabels package from the repo
to see what happens.  It most likely will be next Monday or Tuesday, depending on the UPS delivery.

As far as being a pack helper, I have not done anything like that before, but I've started reading the documentation last night.
I have compiled a few Source Code programs in Debian 6, Ubuntu 8.04 & 10.04, and generated a .deb with checkinstall.  That not
much knowledge to contribute to your organization.......but I do have an interest in knowing more about packaging...the correct way.

Maybe, after I get my 1 TB drive installed I'll try to create a package for xtrs (Radio Shack Model 1,3,4 &4P Emulator) as it's included in
the Ubuntu repo's.  If I can do that I'll have one VL Package under my belt......


Thanks.

Larry


Logged

lkraemer

  • Member
  • *
  • Posts: 27
Re: [SOLVED] - VL 7.0 - Compile of glabels
« Reply #5 on: December 09, 2011, 07:09:56 am »

stretchedthin,
I opened my Virtualbox VL 7.0 Guest, and ran the following in a Terminal:
Code: [Select]
update-mime-database /usr/share/mime
Then I installed glabels from the repo.

Quote
vector://home/larry
root:# update-mime-database /usr/share/mime
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
vector://home/larry
root:#

My Desktop is messed up, and I'd like to repair it versus doing a new install.
The Icons are messed up, and the Launchers don't execute the programs they
used to point at.  So, the fix doesn't work for a VL 7.0 Install as shown below.
See the attached png files.

Can you assist with some clue as to what has happened and how to properlyfix it?
I'd rather now have to re-install if possible.

Thanks.

Larry
« Last Edit: December 09, 2011, 07:18:24 am by lkraemer »
Logged

lkraemer

  • Member
  • *
  • Posts: 27
Re: [SOLVED] - VL 7.0 - Compile of glabels
« Reply #6 on: December 09, 2011, 07:26:43 am »


stretchedthin,
I shutdown and rebooted in Virtualbox, and the Icons and Launchers are now working correctly.

So, glabels installed from the repo does work with your fix.  Sorry, for not finding it earlier.

THANKS.

Larry
Logged

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: [SOLVED] - VL 7.0 - Compile of glabels
« Reply #7 on: December 09, 2011, 01:32:04 pm »

no problem,
 
Actually the order should go
install glabels from repo
then run
update-mime-database /usr/share/mime

Maybe that is why you needed the reboot.

Anyway the version in repo still needs to get fixed.  I will work on repackaging it over the weekend so that is not necessary to use update-mime-database.
Thanks for finding it and pointing it out.

Nice to see you are not afraind of compiling from source on your own.  Can be very rewarding thing to learn.

Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee