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: gtkam will not start after upgrade [SOLVED]  (Read 3586 times)

Birdman

  • Member
  • *
  • Posts: 46
gtkam will not start after upgrade [SOLVED]
« on: August 31, 2008, 04:38:12 am »

I am using 5.9 and ran an upgrade yesterday (the first for several months) One of the issues I now have is that gtkam has stopped working. When I run from the CL I get
Code: [Select]
avocet:/~
alan:$ /usr/bin/gtkam: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory
I have tried removing the package and then reinstalling it. What is the best way of resolving the dependency issue? Sorry I am a bit rusty on this sort of thing.

Thanks.
« Last Edit: September 02, 2008, 03:26:48 pm by Birdman »
Logged

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: gtkam will not start after upgrade
« Reply #1 on: August 31, 2008, 08:55:18 am »

I am runnig 6.0 so your package version may be different but this is what i get
Code: [Select]
root:# grep -R libltdl.so.3 /var/log/packages/
/var/log/packages/libtool-1.5.24-i486-1:usr/lib/libltdl.so.3.1.5

so a "slapt-get --install --reinstall libtool" should fix the dep for you.

HTH,
Uelsk8s
Logged

Birdman

  • Member
  • *
  • Posts: 46
Re: gtkam will not start after upgrade
« Reply #2 on: August 31, 2008, 11:25:36 am »

Thanks for the tip - but sadly it did not work  :'(

I have tried removing the current gtkam and libtools and replacing with the older version, but this did not work either. I now have the current versions of both installed and the same error.

Alan
Logged

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: gtkam will not start after upgrade
« Reply #3 on: August 31, 2008, 01:49:56 pm »

you may need to create a symlink
Code: [Select]
root:# ls -la /usr/lib/libltdl.so.3
lrwxrwxrwx 1 root root 16 2008-07-28 06:58 /usr/lib/libltdl.so.3 -> libltdl.so.3.1.5*
Logged

Birdman

  • Member
  • *
  • Posts: 46
Re: gtkam will not start after upgrade
« Reply #4 on: August 31, 2008, 02:28:03 pm »

you may need to create a symlink
Code: [Select]
root:# ls -la /usr/lib/libltdl.so.3
lrwxrwxrwx 1 root root 16 2008-07-28 06:58 /usr/lib/libltdl.so.3 -> libltdl.so.3.1.5*
Herein lies the problem - I have no library in /usr/lib/ that begins liblt  ??? I have no idea why as the libtools package is installed and no error messages are produced on installation.
Logged

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: gtkam will not start after upgrade
« Reply #5 on: August 31, 2008, 04:02:23 pm »

where did you get your libtools package?
what is the complete name of the libtools package?
what does the output of the code below produce?
Code: [Select]
grep libltdl /var/log/packages/libtool*
Logged

Birdman

  • Member
  • *
  • Posts: 46
Re: gtkam will not start after upgrade
« Reply #6 on: September 01, 2008, 01:10:39 pm »

libtool from the SOURCE=http://ftp2.uk.vim.org/sites/vectorlinux.com/veclinux-5.9/packages/ repository.
Version libtool-2.4.4-i586-1v159
Code: [Select]
root:# grep libltdl /var/log/packages/libtool*
opt/gnome2/lib/libltdl.a
opt/gnome2/lib/libltdl.la
opt/gnome2/lib/libltdl.so.7.1.2
opt/gnome2/share/libtool/libltdl/
opt/gnome2/share/libtool/libltdl/aclocal.m4
opt/gnome2/share/libtool/libltdl/COPYING.LIB
opt/gnome2/share/libtool/libltdl/README
opt/gnome2/share/libtool/libltdl/configure
opt/gnome2/share/libtool/libltdl/lt__dirent.c
opt/gnome2/share/libtool/libltdl/libltdl/
opt/gnome2/share/libtool/libltdl/libltdl/lt__private.h
opt/gnome2/share/libtool/libltdl/libltdl/lt__dirent.h
opt/gnome2/share/libtool/libltdl/libltdl/slist.h
opt/gnome2/share/libtool/libltdl/libltdl/lt_system.h
opt/gnome2/share/libtool/libltdl/libltdl/lt__glibc.h
opt/gnome2/share/libtool/libltdl/libltdl/lt_error.h
opt/gnome2/share/libtool/libltdl/libltdl/lt__alloc.h
opt/gnome2/share/libtool/libltdl/libltdl/lt__strl.h
opt/gnome2/share/libtool/libltdl/libltdl/lt_dlloader.h
opt/gnome2/share/libtool/libltdl/configure.ac
opt/gnome2/share/libtool/libltdl/slist.c
opt/gnome2/share/libtool/libltdl/loaders/
opt/gnome2/share/libtool/libltdl/loaders/dld_link.c
opt/gnome2/share/libtool/libltdl/loaders/shl_load.c
opt/gnome2/share/libtool/libltdl/loaders/preopen.c
opt/gnome2/share/libtool/libltdl/loaders/dyld.c
opt/gnome2/share/libtool/libltdl/loaders/load_add_on.c
opt/gnome2/share/libtool/libltdl/loaders/dlopen.c
opt/gnome2/share/libtool/libltdl/loaders/loadlibrary.c
opt/gnome2/share/libtool/libltdl/argz.c
opt/gnome2/share/libtool/libltdl/Makefile.am
opt/gnome2/share/libtool/libltdl/Makefile.in
opt/gnome2/share/libtool/libltdl/lt_error.c
opt/gnome2/share/libtool/libltdl/config-h.in
opt/gnome2/share/libtool/libltdl/ltdl.c
opt/gnome2/share/libtool/libltdl/ltdl.h
opt/gnome2/share/libtool/libltdl/lt__alloc.c
opt/gnome2/share/libtool/libltdl/Makefile.inc
opt/gnome2/share/libtool/libltdl/lt__strl.c
opt/gnome2/share/libtool/libltdl/argz_.h
opt/gnome2/share/libtool/libltdl/lt_dlloader.c
opt/gnome2/include/libltdl/
opt/gnome2/include/libltdl/lt_system.h
opt/gnome2/include/libltdl/lt_error.h
opt/gnome2/include/libltdl/lt_dlloader.h
Logged

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: gtkam will not start after upgrade
« Reply #7 on: September 01, 2008, 04:11:59 pm »

I also have recently done an slapt-get --upgrade and thought I'd check if I had the same problem with gtkam, and it turns out I do.   During the upgrade I went from version 0.1.14 to 0.1.15.  After the upgrade I get this when I run from the command line.

ken:$ gtkam
gtkam: error while loading shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory

I tried reinstalling from gslapt, this had worked with wbar when I had a similar problem, but it did not work this time.

I tried downgrading this did not work either, and generated the same error.

I am also showing the same libtools package as Birdman.

Just thought I'd let you know that this problem with Gtkam is not isolated to birdmans machine.
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: gtkam will not start after upgrade
« Reply #8 on: September 01, 2008, 06:16:40 pm »

can you check to see if "/opt/gnome2/lib" is in your /etc/ld.so.conf dir, and if there is a libltdl.so.3 in /opt/gnome2/lib.

if not, a symlink from /opt/gnome2/lib/libltdl.so.7.1.2 to /usr/lib/libltdl.so.3 may fix the problem.

Let us know,
Uelsk8s
Logged

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: gtkam will not start after upgrade
« Reply #9 on: September 01, 2008, 08:54:03 pm »

Quote
can you check to see if "/opt/gnome2/lib" is in your /etc/ld.so.conf dir, and if there is a libltdl.so.3 in /opt/gnome2/lib.

This is what I found in /etc/ld.so.conf
/usr/lib
/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/qt/lib
/lib

Then I checked /opt/gnome2lib there was no libltdl.so.3
What it does contain is this...libltdl.a, libltdl.la, libltdl.so, libltdl.so.7, libltdl.so.7.1.2

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

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: gtkam will not start after upgrade
« Reply #10 on: September 02, 2008, 01:10:24 am »

I was able to get gtkam working.
I downgraded libtool back to version 1.5.24-i486-1 in gslapt and gtkam starts up again.

I could not figure out where to set up the symbolic link you where talking about. My own noobiness I'm sure.
I tried using gtkfind searching for any file containing  libltdl.so.3 but this is all I found...

/var/log/removed_packages/libtool-1.5.24-i486-1-upgraded-2008-08-30,01:58:38
/var/log/removed_scripts/libtool-1.5.24-i486-1-upgraded-2008-08-30,01:58:38
/home/ken/.xsession-errors

So then I thought to downgrade libtool rather than just reinstalling the new version and it worked.
If I'm guessing right the new gtkam must have been built on the old libtool.
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: gtkam will not start after upgrade
« Reply #11 on: September 02, 2008, 07:06:54 am »

the way to make the symlink is
Code: [Select]
ln -s /opt/gnome2/lib/libltdl.so.7.1.2 /usr/lib/libltdl.so.3
Logged

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: gtkam will not start after upgrade
« Reply #12 on: September 02, 2008, 08:21:06 am »

Hey that worked.  Now that its morning I can see that code was given earlier. Sorry I missed it.
Thanks for the help. Maybe Birdman can mark this one solved.
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Birdman

  • Member
  • *
  • Posts: 46
Re: gtkam will not start after upgrade [SOLVED]
« Reply #13 on: September 02, 2008, 03:24:02 pm »

Hey that worked.  Now that its morning I can see that code was given earlier. Sorry I missed it.
Thanks for the help. Maybe Birdman can mark this one solved.
Excellent  ;D Many thanks for the help from stretchedthin and uelsk8s
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: gtkam will not start after upgrade [SOLVED]
« Reply #14 on: September 08, 2008, 08:43:12 am »

Sorry, I'm coming to this late - saw the messages a few days ago but didn't have time to check....

I built the current version of Gtkam, was built against the older libtool package. So I thought I would rebuild after upgrading.

I have essentially the same problem in building Gtkam against the new libtool. Which makes me think that the updated package has a few problems. I also notice that VL 6.0 uses the older libtools package. While I can correct using the symlink suggestion, it might be a good idea to look at the newer libtool package. The older version doesn't use /opt at all - all files are in /usr/lib. I would imagine that other packages may hit the same problem....

paul.
Logged